Skip to content

Commit afb6090

Browse files
committed
fixup! [CI] Upgrade CI envs to torch~=2.7.0 (#450)
1 parent c1ac8d0 commit afb6090

File tree

3 files changed

+6
-5
lines changed

3 files changed

+6
-5
lines changed

.github/workflows/nvidia-4090.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -62,16 +62,15 @@ jobs:
6262
- name: Setup python
6363
if: steps.find-dependent-tests.outputs.test_files && steps.check_skip.outputs.skip_tests == 'false'
6464
run: |
65-
pip uninstall -y flash-linear-attention
6665
# Installed by hand to avoid issues with pip
6766
# pip install -U pytest setuptools wheel ninja torch triton
6867
# MAX_JOBS=4 pip install -U flash-attn --no-build-isolation
6968
# pip install git+https://github.com/Dao-AILab/causal-conv1d.git --no-build-isolation
7069
pip install -U uv
7170
pip uninstall -y flash-linear-attention
72-
uv pip install git+https://github.com/Dao-AILab/causal-conv1d.git -U --no-cache-dir --no-build-isolation
71+
uv pip install -U pytest setuptools wheel ninja
72+
uv pip install torch~=2.7.0 triton -U --index-url https://download.pytorch.org/whl/cu128
7373
uv pip install flash-attn -U --no-cache-dir --no-build-isolation
74-
uv pip install torch~=2.7.0 triton pytest setuptools wheel ninja -U --index-url https://download.pytorch.org/whl/cu128
7574
pip install .
7675
7776
- name: Check GPU status

.github/workflows/nvidia-a100.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,9 +68,10 @@ jobs:
6868
# pip install git+https://github.com/Dao-AILab/causal-conv1d.git --no-build-isolation
6969
pip install -U uv
7070
pip uninstall -y flash-linear-attention
71+
uv pip install -U pytest setuptools wheel ninja
72+
uv pip install torch~=2.7.0 triton -U --index-url https://download.pytorch.org/whl/cu128
7173
uv pip install git+https://github.com/Dao-AILab/causal-conv1d.git -U --no-cache-dir --no-build-isolation
7274
uv pip install flash-attn -U --no-cache-dir --no-build-isolation
73-
uv pip install torch~=2.7.0 triton pytest setuptools wheel ninja -U --index-url https://download.pytorch.org/whl/cu128
7475
pip install .
7576
7677
- name: Check GPU status

.github/workflows/nvidia-h100.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,9 +68,10 @@ jobs:
6868
# pip install git+https://github.com/Dao-AILab/causal-conv1d.git --no-build-isolation
6969
pip install -U uv
7070
pip uninstall -y flash-linear-attention
71+
uv pip install -U pytest setuptools wheel ninja
72+
uv pip install torch~=2.7.0 triton -U --index-url https://download.pytorch.org/whl/cu128
7173
uv pip install git+https://github.com/Dao-AILab/causal-conv1d.git -U --no-cache-dir --no-build-isolation
7274
uv pip install flash-attn -U --no-cache-dir --no-build-isolation
73-
uv pip install torch~=2.7.0 triton pytest setuptools wheel ninja -U --index-url https://download.pytorch.org/whl/cu128
7475
pip install .
7576
7677
- name: Check GPU status

0 commit comments

Comments
 (0)