Skip to content
Open
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
7 changes: 5 additions & 2 deletions .github/workflows/ci-tests-fabric.yml
Original file line number Diff line number Diff line change
Expand Up @@ -85,11 +85,9 @@ jobs:
- name: Append Env. vars for Linux
if: ${{ runner.os == 'Linux' }}
run: echo "GLOO_SOCKET_IFNAME=eth0" >> $GITHUB_ENV

- name: Append Env. vars for MacOS
if: ${{ runner.os == 'macOS' }}
run: echo "GLOO_SOCKET_IFNAME=lo0" >> $GITHUB_ENV

- name: Append Env. vars for Windows
if: ${{ runner.os == 'windows' }}
run: |
Expand Down Expand Up @@ -134,6 +132,11 @@ jobs:
--find-links="${TORCH_URL}"
uv pip list

- name: Patch NumPy for old Torch versions
if: ${{ startsWith(matrix.config.pytorch-version, '2.1') || startsWith(matrix.config.pytorch-version, '2.2') || startsWith(matrix.config.pytorch-version, '2.3') }}
# Patch numpy to avoid "RuntimeError: Numpy is not available"
run: uv pip install -U "numpy<1.24"

- name: Dump handy wheels
if: github.event_name == 'push' && github.ref == 'refs/heads/master'
continue-on-error: true
Expand Down
6 changes: 5 additions & 1 deletion .github/workflows/ci-tests-pytorch.yml
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,6 @@ jobs:
- name: Append Env. vars for Linux
if: ${{ runner.os == 'Linux' }}
run: echo "GLOO_SOCKET_IFNAME=eth0" >> $GITHUB_ENV

- name: Append Env. vars for MacOS
if: ${{ runner.os == 'macOS' }}
run: echo "GLOO_SOCKET_IFNAME=lo0" >> $GITHUB_ENV
Expand Down Expand Up @@ -138,6 +137,11 @@ jobs:
--find-links="https://download.pytorch.org/whl/torch-tensorrt"
uv pip list

- name: Patch NumPy for old Torch versions
if: ${{ startsWith(matrix.config.pytorch-version, '2.1') || startsWith(matrix.config.pytorch-version, '2.2') || startsWith(matrix.config.pytorch-version, '2.3') }}
# Patch numpy to avoid "RuntimeError: Numpy is not available"
run: uv pip install -U "numpy<1.24"

- name: Drop LAI from extensions
if: ${{ matrix.config.pkg-name != 'lightning' }}
# Lightning is dependency of Habana or other accelerators/integrations so in case we test PL we need to remove it
Expand Down
1 change: 0 additions & 1 deletion requirements/fabric/test.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
coverage ==7.10.6
numpy >=1.21.0, <1.27.0
pytest ==8.4.2
pytest-cov ==6.3.0
pytest-timeout ==2.4.0
Expand Down
1 change: 0 additions & 1 deletion requirements/pytorch/test.txt
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ 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.20.0, <1.27.0
onnx >1.12.0, <1.20.0
onnxruntime >=1.12.0, <1.23.0
onnxscript >= 0.1.0, < 0.5.0
Expand Down
Loading