Skip to content

Commit 5ecbbaa

Browse files
Remove numpy from base requirements (#20090)
Co-authored-by: awaelchli <[email protected]>
1 parent d3f9c83 commit 5ecbbaa

File tree

7 files changed

+6
-5
lines changed

7 files changed

+6
-5
lines changed

.github/workflows/_legacy-checkpoints.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -114,8 +114,8 @@ jobs:
114114
- name: Upload checkpoints to S3
115115
working-directory: ${{ env.LEGACY_FOLDER }}
116116
env:
117-
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_PUB_ACCESS_KEY }}
118-
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_PUB_SECRET_KEY }}
117+
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY }}
118+
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_KEY }}
119119
AWS_DEFAULT_REGION: ${{ secrets.AWS_REGION }}
120120
run: |
121121
aws s3 sync $AWS_RUN checkpoints/ s3://pl-public-data/legacy/checkpoints/

requirements/fabric/base.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
# NOTE: the upper bound for the package version is only set for CI stability, and it is dropped while installing this package
22
# in case you want to preserve/enforce restrictions on the latest compatible version, add "strict" as an in-line comment
33

4-
numpy >=1.21.0, <1.27.0
54
torch >=2.1.0, <2.5.0
65
fsspec[http] >=2022.5.0, <2024.4.0
76
packaging >=20.0, <=23.1

requirements/fabric/test.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
coverage ==7.3.1
2+
numpy >=1.17.2, <1.27.0
23
pytest ==7.4.0
34
pytest-cov ==4.1.0
45
pytest-timeout ==2.1.0

requirements/pytorch/base.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
# NOTE: the upper bound for the package version is only set for CI stability, and it is dropped while installing this package
22
# in case you want to preserve/enforce restrictions on the latest compatible version, add "strict" as an in-line comment
33

4-
numpy >=1.21.0, <1.27.0
54
torch >=2.1.0, <2.5.0
65
tqdm >=4.57.0, <4.67.0
76
PyYAML >=5.4, <6.1.0

requirements/pytorch/test.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ pytest-random-order ==1.1.0
88
# needed in tests
99
cloudpickle >=1.3, <2.3.0
1010
scikit-learn >0.22.1, <1.4.0
11+
numpy >=1.17.2, <1.27.0
1112
onnx >=1.12.0, <1.17.0
1213
onnxruntime >=1.12.0, <1.19.0
1314
psutil <5.9.6 # for `DeviceStatsMonitor`

src/lightning/fabric/CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/).
1717

1818
- Changed the implementation of how seeds are chosen for dataloader workers when using `seed_everything(..., workers=True)` ([#20055](https://github.com/Lightning-AI/pytorch-lightning/pull/20055))
1919

20-
-
20+
- NumPy is no longer a required dependency ([#20090](https://github.com/Lightning-AI/pytorch-lightning/issues/20090))
2121

2222
### Deprecated
2323

src/lightning/pytorch/CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/).
2121

2222
- Changed the implementation of how seeds are chosen for dataloader workers when using `seed_everything(..., workers=True)` ([#20055](https://github.com/Lightning-AI/pytorch-lightning/pull/20055))
2323

24+
- NumPy is no longer a required dependency ([#20090](https://github.com/Lightning-AI/pytorch-lightning/issues/20090))
2425

2526
### Deprecated
2627

0 commit comments

Comments
 (0)