Skip to content

Commit

Permalink
Merge pull request #76 from apoorvkh/numpy-version-min
Browse files Browse the repository at this point in the history
Set numpy lower bound to 1.20
  • Loading branch information
apoorvkh authored Oct 20, 2024
2 parents 82450a2 + 3ad40ff commit eb14b72
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 11 deletions.
11 changes: 5 additions & 6 deletions pixi.lock
Original file line number Diff line number Diff line change
Expand Up @@ -1827,13 +1827,12 @@ packages:
name: torchrunx
version: 0.2.0
path: .
sha256: 845d6f7b19f59c67857e2b9485c33764cfd9f017cd312622494c3d9496b9e8ee
sha256: 6e56e7865dd6c8758124a48d6eb086255880194f81b8c81f385bcf00429164d8
requires_dist:
- cloudpickle>=3.0.0
- fabric>=3.0.0
- torch>=2.0.0
- numpy<2
- numpy>=1.26.0 ; python_version == '3.12'
- cloudpickle>=3.0
- fabric>=3.2
- torch>=2.0
- numpy>=1.20
requires_python: '>=3.9'
editable: true
- kind: pypi
Expand Down
9 changes: 4 additions & 5 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,11 @@ classifiers = [
]
requires-python = ">=3.9"
dependencies = [
"cloudpickle>=3.0.0",
"fabric>=3.0.0",
"torch>=2.0.0",
"cloudpickle>=3.0",
"fabric>=3.2",
"torch>=2.0",
# torch.distributed depends on numpy
"numpy<2", # numpy>=2 requires torch>=2.3
"numpy>=1.26.0; python_version == '3.12'",
"numpy>=1.20",
]

[project.urls]
Expand Down

0 comments on commit eb14b72

Please sign in to comment.