Skip to content

[BUG]: ConfigAttributeError when running python -m pax.experiment #172

@cool-RR

Description

@cool-RR

Description

I never used Pax before. The readme said to run python -m pax.experiment, so I did. I got this error:

(jax_env) ➜  pax git:(main) python -m pax.experiment
/home/ramrachum/.venvs/jax_env/lib/python3.11/site-packages/hydra/_internal/hydra.py:119: UserWarning: Future Hydra versions will no longer change working directory at job runtime by default.
See https://hydra.cc/docs/1.2/upgrades/1.1_to_1.2/changes_to_job_working_dir/ for more information.
  ret = run_job(
Jax backend: cpu
[2023-11-09 18:18:58,117][root][INFO] - => Global setup ...
[2023-11-09 18:18:58,119][root][INFO] - => Done in 1.187 ms
[2023-11-09 18:18:58,119][root][INFO] -
Error executing job with overrides: []
Traceback (most recent call last):
  File "/herring/pax/pax/experiment.py", line 861, in main
    save_dir = global_setup(args)
               ^^^^^^^^^^^^^^^^^^
  File "/herring/pax/pax/experiment.py", line 110, in global_setup
    if not args.runner == "eval":
           ^^^^^^^^^^^
omegaconf.errors.ConfigAttributeError: Key 'runner' is not in struct
    full_key: runner
    object_type=dict

Set the environment variable HYDRA_FULL_ERROR=1 for a complete stack trace.

What pax version are you using?

430b254

What jax/jaxlib version are you using?

0.4.20

Which accelerator(s) are you using?

CPU

Additional system info

Python 3.11, Ubuntu 22.04.3 LTS

NVIDIA GPU info

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions