Skip to content

Commit

Permalink
Fixed Optax being a full dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
ArvinSKushwaha committed Jun 8, 2024
1 parent 463c425 commit ea32d38
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 22 deletions.
3 changes: 1 addition & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ dependencies = [
"safetensors>=0.4.3",
"jaxtyping>=0.2.29",
"jax>=0.4.28",
"optax>=0.2.2",
"jaxlib>=0.4.28",
]
readme = "README.md"
Expand All @@ -22,7 +21,7 @@ build-backend = "hatchling.build"

[tool.rye]
managed = true
dev-dependencies = ["pytest>=8.2.1", "basedpyright>=1.12.4"]
dev-dependencies = ["pytest>=8.2.1", "basedpyright>=1.12.4", "optax>=0.2.2"]
excluded-dependencies = []

[tool.rye.scripts]
Expand Down
1 change: 0 additions & 1 deletion requirements-dev.lock
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,6 @@ numpy==1.26.4
opt-einsum==3.3.0
# via jax
optax==0.2.2
# via jaximal
packaging==24.0
# via pytest
pluggy==1.5.0
Expand Down
19 changes: 0 additions & 19 deletions requirements.lock
Original file line number Diff line number Diff line change
Expand Up @@ -8,46 +8,27 @@
# with-sources: false

-e file:.
absl-py==2.1.0
# via chex
# via optax
chex==0.1.86
# via optax
jax==0.4.28
# via chex
# via jaximal
# via optax
jaxlib==0.4.28
# via chex
# via jaximal
# via optax
jaxtyping==0.2.29
# via jaximal
ml-dtypes==0.4.0
# via jax
# via jaxlib
numpy==1.26.4
# via chex
# via jax
# via jaxlib
# via ml-dtypes
# via opt-einsum
# via optax
# via scipy
opt-einsum==3.3.0
# via jax
optax==0.2.2
# via jaximal
safetensors==0.4.3
# via jaximal
scipy==1.13.1
# via jax
# via jaxlib
setuptools==70.0.0
# via chex
toolz==0.12.1
# via chex
typeguard==2.13.3
# via jaxtyping
typing-extensions==4.12.1
# via chex

0 comments on commit ea32d38

Please sign in to comment.