Skip to content

Commit d94f1ee

Browse files
committed
Update makefile
Signed-off-by: SimJeg <sjegou@nvidia.com>
1 parent 2a8f6ad commit d94f1ee

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

.github/workflows/test.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,12 @@ jobs:
2929
with:
3030
enable-cache: true
3131

32+
- name: Cache flash-attn build
33+
uses: actions/cache@v4
34+
with:
35+
path: ~/.cache/pip
36+
key: flash-attn-${{ runner.os }}-cuda12.5-py3.10-${{ hashFiles('uv.lock') }}
37+
3238
- name: Install dependencies
3339
run: uv sync --all-groups
3440

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 flash-attn --find-links https://github.com/Dao-AILab/flash-attention/releases/expanded_assets/v2.8.3
45+
$(UV) pip install flash-attn --no-build-isolation
4646
PYTHONPATH=. \
4747
$(UV) run pytest \
4848
--cov-report xml:reports/coverage.xml \

0 commit comments

Comments
 (0)