Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions .github/workflows/ci-tests-fabric.yml
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ jobs:
run: |
cd requirements/fabric
pip install -U "lightning-utilities[cli]"
python -m lightning_utilities.cli requirements set-oldest --req_files "['base.txt', 'strategies.txt']"
python -m lightning_utilities.cli requirements set-oldest --req_files "['base.txt', 'strategies.txt', 'test.txt']"
pip install "cython<3.0" wheel
pip install "pyyaml==5.4" --no-build-isolation

Expand Down Expand Up @@ -142,7 +142,8 @@ jobs:
run: |
pip install -e ".[${EXTRA_PREFIX}test,${EXTRA_PREFIX}strategies]" \
-U --upgrade-strategy=eager --prefer-binary \
--extra-index-url="${TORCH_URL}" --find-links="${PYPI_CACHE_DIR}"
--extra-index-url="${TORCH_URL}" \
--find-links="${PYPI_CACHE_DIR}"
pip list
- name: Dump handy wheels
if: github.event_name == 'push' && github.ref == 'refs/heads/master'
Expand Down
6 changes: 4 additions & 2 deletions .github/workflows/ci-tests-pytorch.yml
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ jobs:
run: |
cd requirements/pytorch
pip install -U "lightning-utilities[cli]"
python -m lightning_utilities.cli requirements set-oldest --req_files "['base.txt', 'extra.txt', 'strategies.txt', 'examples.txt']"
python -m lightning_utilities.cli requirements set-oldest --req_files "['base.txt', 'extra.txt', 'strategies.txt', 'examples.txt', 'test.txt']"
pip install "cython<3.0" wheel
pip install "pyyaml==5.4" --no-build-isolation

Expand Down Expand Up @@ -141,7 +141,9 @@ jobs:
pip install ".[${EXTRA_PREFIX}extra,${EXTRA_PREFIX}test,${EXTRA_PREFIX}strategies]" \
-U --upgrade-strategy=eager --prefer-binary \
-r requirements/_integrations/accelerators.txt \
--extra-index-url="${TORCH_URL}" --find-links="${PYPI_CACHE_DIR}" --find-links="https://download.pytorch.org/whl/torch-tensorrt"
--extra-index-url="${TORCH_URL}" \
--find-links="${PYPI_CACHE_DIR}" \
--find-links="https://download.pytorch.org/whl/torch-tensorrt"
pip list
- name: Drop LAI from extensions
if: ${{ matrix.pkg-name != 'lightning' }}
Expand Down
4 changes: 2 additions & 2 deletions requirements/fabric/test.txt
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
coverage ==7.10.4
numpy >=1.17.2, <1.27.0
numpy >=1.21.0, <1.27.0
pytest ==8.4.1
pytest-cov ==6.2.1
pytest-timeout ==2.4.0
pytest-rerunfailures ==15.1
pytest-random-order ==1.2.0
click ==8.1.8; python_version < "3.11"
click ==8.2.1; python_version > "3.10"
tensorboardX >=2.2, <2.7.0 # min version is set by torch.onnx missing attribute
tensorboardX >=2.6, <2.7.0 # todo: relax it back to `>=2.2` after fixing tests
2 changes: 1 addition & 1 deletion requirements/pytorch/loggers.info
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@ neptune >=1.0.0
comet-ml >=3.31.0
mlflow >=1.0.0
wandb >=0.12.10
tensorboard >=2.9.1
tensorboard >=2.11
8 changes: 4 additions & 4 deletions requirements/pytorch/test.txt
Original file line number Diff line number Diff line change
Expand Up @@ -8,16 +8,16 @@ pytest-random-order ==1.2.0
# needed in tests
cloudpickle >=1.3, <3.2.0
scikit-learn >0.22.1, <1.8.0
numpy >=1.17.2, <1.27.0
onnx >=1.12.0, <1.19.0
numpy >1.20.0, <1.27.0
onnx >1.12.0, <1.19.0
onnxruntime >=1.12.0, <1.23.0
onnxscript >= 0.2.2, <0.4.0
onnxscript >= 0.1.0, <0.4.0
psutil <7.0.1 # for `DeviceStatsMonitor`
pandas >2.0, <2.4.0 # needed in benchmarks
fastapi # for `ServableModuleValidator` # not setting version as re-defined in App
uvicorn # for `ServableModuleValidator` # not setting version as re-defined in App

tensorboard >=2.9.1, <2.21.0 # for `TensorBoardLogger`
tensorboard >=2.11, <2.21.0 # for `TensorBoardLogger`

--find-links https://download.pytorch.org/whl/torch-tensorrt
torch-tensorrt; platform_system == "Linux" and python_version >= "3.12"
Loading