Skip to content

Commit 8492c86

Browse files
committed
Update CI/CD
Signed-off-by: SimJeg <sjegou@nvidia.com>
1 parent 533f9ed commit 8492c86

File tree

2 files changed

+6
-10
lines changed

2 files changed

+6
-10
lines changed

.github/workflows/test.yml

Lines changed: 5 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -5,23 +5,19 @@ on:
55
branches:
66
- main
77
- "pull-request/[0-9]+"
8+
workflow_dispatch: # Allows manual triggering from any branch
89

910
jobs:
1011
test:
1112
runs-on: linux-amd64-gpu-l4-latest-1
1213
steps:
1314
- uses: actions/checkout@v3
14-
- name: Setup Python
15-
uses: actions/setup-python@v4
16-
with:
17-
python-version: "3.12"
1815

19-
- name: Check CUDA runtime
16+
- name: Verify environment
2017
run: |
2118
nvidia-smi
22-
echo "Checking for CUDA libraries..."
23-
ls /usr/local/cuda*/lib64/libcudart.so* 2>/dev/null || ls /usr/lib/x86_64-linux-gnu/libcuda.so* 2>/dev/null || echo "No CUDA libs found in standard paths"
24-
ldconfig -p | grep -i cuda || true
19+
python3 --version
20+
which python3
2521
2622
- name: Install uv
2723
uses: astral-sh/setup-uv@v6
@@ -30,8 +26,8 @@ jobs:
3026

3127
- name: Install dependencies
3228
run: |
33-
uv pip install torch==2.9.0
3429
uv sync --all-groups
30+
uv pip install torch==2.10.0
3531
3632
- run: make test
3733
env:

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ reports:
4242
.PHONY: test
4343
test: reports
4444
$(UV) pip install optimum-quanto
45-
$(UV) pip install https://github.com/Dao-AILab/flash-attention/releases/download/v2.8.3/flash_attn-2.8.3+cu12torch2.9cxx11abiTRUE-cp312-cp312-linux_x86_64.whl
45+
$(UV) pip install flash-attn --no-build-isolation --find-links https://github.com/mjun0812/flash-attention-prebuild-wheels/releases/expanded_assets/v0.7.12
4646
PYTHONPATH=. \
4747
$(UV) run pytest \
4848
--cov-report xml:reports/coverage.xml \

0 commit comments

Comments
 (0)