File tree Expand file tree Collapse file tree 1 file changed +32
-0
lines changed
Expand file tree Collapse file tree 1 file changed +32
-0
lines changed Original file line number Diff line number Diff line change 1818 HF_TOKEN : ${{ secrets.HF_TOKEN }}
1919
2020jobs :
21+ test-nightly :
22+ strategy :
23+ fail-fast : false
24+ matrix :
25+ include :
26+ - name : CUDA Nightly
27+ runs-on : linux.g5.12xlarge.nvidia.gpu
28+ torch-spec : ' --pre torch==2.6.0.dev20241101 --index-url https://download.pytorch.org/whl/nightly/cu121'
29+ gpu-arch-type : " cuda"
30+ gpu-arch-version : " 12.1"
31+ - name : CPU Nightly
32+ runs-on : linux.4xlarge
33+ torch-spec : ' --pre torch==2.6.0.dev20241101 --index-url https://download.pytorch.org/whl/nightly/cpu'
34+ gpu-arch-type : " cpu"
35+ gpu-arch-version : " "
36+
37+ uses : pytorch/test-infra/.github/workflows/linux_job_v2.yml@main
38+ with :
39+ timeout : 120
40+ runner : ${{ matrix.runs-on }}
41+ gpu-arch-type : ${{ matrix.gpu-arch-type }}
42+ gpu-arch-version : ${{ matrix.gpu-arch-version }}
43+ script : |
44+ conda create -n venv python=3.9 -y
45+ conda activate venv
46+ python -m pip install --upgrade pip
47+ pip install ${{ matrix.torch-spec }}
48+ pip install -r dev-requirements.txt
49+ pip install .
50+ export CONDA=$(dirname $(dirname $(which conda)))
51+ export LD_LIBRARY_PATH=$CONDA/lib/:$LD_LIBRARY_PATH
52+ pytest test --verbose -s
2153 test :
2254 strategy :
2355 fail-fast : false
You can’t perform that action at this time.
0 commit comments