Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
cool-RR opened this issue Nov 9, 2023 · 0 comments
Open

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

cool-RR opened this issue Nov 9, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@cool-RR
Copy link
Collaborator

cool-RR commented Nov 9, 2023

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

@cool-RR cool-RR added the bug Something isn't working label Nov 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant