mirror of
https://github.com/rasbt/LLMs-from-scratch.git
synced 2025-08-31 03:50:23 +00:00
Test PyTorch nightly releases (#509)
This commit is contained in:
parent
fd24a3679a
commit
c1c10c89c8
4
.github/workflows/basic-tests-pytorch-rc.yml
vendored
4
.github/workflows/basic-tests-pytorch-rc.yml
vendored
@ -1,4 +1,4 @@
|
|||||||
name: Test latest PyTorch release candidate
|
name: Test latest PyTorch nightly / release candidate
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
branches: [ main ]
|
branches: [ main ]
|
||||||
@ -35,7 +35,7 @@ jobs:
|
|||||||
pip install pytest nbval
|
pip install pytest nbval
|
||||||
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
|
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 -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
|
- name: Test Selected Python Scripts
|
||||||
run: |
|
run: |
|
||||||
|
Loading…
x
Reference in New Issue
Block a user