Test PyTorch nightly releases (#509)

This commit is contained in:
Sebastian Raschka
2025-01-30 12:45:48 -06:00
committed by GitHub
parent 25ea71e713
commit 0e14c76dee

View File

@@ -1,4 +1,4 @@
name: Test latest PyTorch release candidate
name: Test latest PyTorch nightly / release candidate
on:
push:
branches: [ main ]
@@ -35,7 +35,7 @@ jobs:
pip install pytest nbval
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
pip install -r ch05/07_gpt_to_llama/tests/test-requirements-extra.txt
pip install torch==2.6.0 torchvision --index-url https://download.pytorch.org/whl/test/cpu
pip install --pre torch torchvision torchaudio --index-url https://download.pytorch.org/whl/nightly/cpu
- name: Test Selected Python Scripts
run: |