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

apax might be incompatible with latest jax release #387

Open
PythonFZ opened this issue Dec 14, 2024 · 2 comments
Open

apax might be incompatible with latest jax release #387

PythonFZ opened this issue Dec 14, 2024 · 2 comments

Comments

@PythonFZ
Copy link
Contributor

With the latest JAX I get AttributeError: 'EvalTrace' object has no attribute 'level'

in

│ /data/fzills/tools/apax/apax/train/checkpoints.py:57 in create_params                                                                                                       │
│                                                                                                                                                                             │
│    54 │   log.info(f"initializing {n_models} model(s)")                                                                                                                     │
│    55 │                                                                                                                                                                     │
│    56 │   if n_models == 1:                                                                                                                                                 │
│ ❱  57 │   │   params = model.init(model_rng[0], *sample_input)                                                                                                              │
│    58 │   elif n_models > 1:                                                                                                                                                │
│    59 │   │   num_args = len(sample_input)                                                                                                                                  │
│    60 │   │   # vmap only over parameters, not over any data from the input
@M-R-Schaefer
Copy link
Contributor

I'll look into it next week

@M-R-Schaefer
Copy link
Contributor

closed by #391

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants