|
18 | 18 | HF_TOKEN: ${{ secrets.HF_TOKEN }}
|
19 | 19 |
|
20 | 20 | jobs:
|
| 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 |
21 | 53 | test:
|
22 | 54 | strategy:
|
23 | 55 | fail-fast: false
|
|
38 | 70 | torch-spec: 'torch==2.5.1 --index-url https://download.pytorch.org/whl/cu121'
|
39 | 71 | gpu-arch-type: "cuda"
|
40 | 72 | gpu-arch-version: "12.1"
|
41 |
| - - name: CUDA Nightly |
42 |
| - runs-on: linux.g5.12xlarge.nvidia.gpu |
43 |
| - torch-spec: '--pre torch==2.6.0.dev20241101 --index-url https://download.pytorch.org/whl/nightly/cu121' |
44 |
| - gpu-arch-type: "cuda" |
45 |
| - gpu-arch-version: "12.1" |
46 |
| - |
47 | 73 | - name: CPU 2.3
|
48 | 74 | runs-on: linux.4xlarge
|
49 | 75 | torch-spec: 'torch==2.3.0 --index-url https://download.pytorch.org/whl/cpu'
|
|
59 | 85 | torch-spec: 'torch==2.5.1 --index-url https://download.pytorch.org/whl/cpu'
|
60 | 86 | gpu-arch-type: "cpu"
|
61 | 87 | gpu-arch-version: ""
|
62 |
| - - name: CPU Nightly |
63 |
| - runs-on: linux.4xlarge |
64 |
| - torch-spec: '--pre torch==2.6.0.dev20241101 --index-url https://download.pytorch.org/whl/nightly/cpu' |
65 |
| - gpu-arch-type: "cpu" |
66 |
| - gpu-arch-version: "" |
67 | 88 |
|
68 | 89 | uses: pytorch/test-infra/.github/workflows/linux_job.yml@main
|
69 | 90 | with:
|
|
0 commit comments