Skip to content

Commit 1305232

Browse files
committed
test
1 parent 4372a54 commit 1305232

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

.github/workflows/unit_test.yaml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ on:
66

77
jobs:
88
unit_tests:
9-
runs-on: ubuntu-latest
9+
runs-on: 4-core-ubuntu-gpu-t4
1010
timeout-minutes: 15
1111
strategy:
1212
matrix:
@@ -23,8 +23,12 @@ jobs:
2323
python-version: ${{ matrix.python-version }}
2424
- name: Update pip
2525
run: python -m pip install --upgrade pip
26+
- name: Check CUDA version
27+
run: |
28+
nvcc --version
29+
nvidia-smi
2630
- name: Install pytorch
27-
run: python -m pip install torch==2.9.0.dev20250826 --extra-index-url https://download.pytorch.org/whl/nightly/cpu
31+
run: python -m pip install --pre torch torchvision --index-url https://download.pytorch.org/whl/nightly/cu126
2832
- name: Install monarch
2933
run: python -m pip install monarch-no-torch==0.1.0.dev20250826 --find-links assets/ci
3034
- name: Install torchstore

0 commit comments

Comments
 (0)