Skip to content

Commit

Permalink
Add optax dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
francesco-innocenti committed Jun 18, 2024
1 parent eefc2ba commit 4e31fff
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,8 @@ pip install jpc
```

Requires Python 3.9+, JAX 0.4.23+, [Equinox](https://github.com/patrick-kidger/equinox)
0.11.2+, [Diffrax](https://github.com/patrick-kidger/diffrax) 0.5.1+, and
0.11.2+, [Diffrax](https://github.com/patrick-kidger/diffrax) 0.5.1+,
[Optax](https://github.com/google-deepmind/optax) 0.2.2+, and
[Jaxtyping](https://github.com/patrick-kidger/jaxtyping) 0.2.24+.

## Documentation
Expand Down
3 changes: 2 additions & 1 deletion docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,8 @@ pip install jpc
```

Requires Python 3.9+, JAX 0.4.23+, [Equinox](https://github.com/patrick-kidger/equinox)
0.11.2+, [Diffrax](https://github.com/patrick-kidger/diffrax) 0.5.1+, and
0.11.2+, [Diffrax](https://github.com/patrick-kidger/diffrax) 0.5.1+,
[Optax](https://github.com/google-deepmind/optax) 0.2.2+, and
[Jaxtyping](https://github.com/patrick-kidger/jaxtyping) 0.2.24+.

## Quick example
Expand Down
1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ dependencies = [
"jax>=0.4.23",
"equinox>=0.11.2",
"diffrax>=0.5.1",
"optax>=0.2.2",
"jaxtyping>=0.2.24"
]

Expand Down

0 comments on commit 4e31fff

Please sign in to comment.