Skip to content

Commit cb9d51b

Browse files
committed
better with cache
1 parent 8f444df commit cb9d51b

File tree

3 files changed

+4
-21
lines changed

3 files changed

+4
-21
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -107,6 +107,7 @@ jobs:
107107
fi
108108
109109
- name: Cache pip
110+
if: ${{ matrix.torch != 'main' && matrix.transformers != 'main' }}
110111
uses: actions/cache@v4
111112
with:
112113
path: ~/.cache/pip

.github/workflows/documentation.yml

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -50,15 +50,6 @@ jobs:
5050
python -m pip uninstall -y onnx
5151
python -m pip install onnx-weekly
5252
53-
- name: Cache pip
54-
uses: actions/cache@v4
55-
with:
56-
path: ~/.cache/pip
57-
key: ${{ runner.os }}-pip-${{ hashFiles('requirements-dev.txt') }}
58-
restore-keys: |
59-
${{ runner.os }}-pip-
60-
${{ runner.os }}-
61-
6253
- name: pip freeze
6354
run: python -m pip freeze
6455

.github/workflows/model.yml renamed to .github/workflows/models.yml

Lines changed: 3 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: MODEL
1+
name: MODELS
22

33
on:
44
push:
@@ -57,18 +57,9 @@ jobs:
5757
- name: Uninstall onnx-diagnostic
5858
run: python -m pip uninstall -y onnx-diagnostic
5959

60-
- name: Cache pip
61-
uses: actions/cache@v4
62-
with:
63-
path: ~/.cache/pip
64-
key: ${{ runner.os }}-pip-${{ hashFiles('requirements-dev.txt') }}
65-
restore-keys: |
66-
${{ runner.os }}-pip-
67-
${{ runner.os }}-
68-
6960
- name: pip freeze
7061
run: python -m pip freeze
7162

72-
- name: qwen2.5
73-
run: PYTHONPATH=. UNITTEST_GOING=1 NEVERTEST=1 TESTDTYPE=float16 TESTDEVICE=cpu python _unittests/ut_tasks/try_export.py -f -k test_imagetext2text_qwen_2_5_vl_instruct_visual
63+
- name: qwen2.5_vl_instruct
64+
run: PYTHONPATH=. UNITTEST_GOING=1 NEVERTEST=1 QWEN25ATTENTION=BIGMASK TESTDTYPE=float16 TESTDEVICE=cpu python _unittests/ut_tasks/try_export.py -f -k test_imagetext2text_qwen_2_5_vl_instruct_visual
7465

0 commit comments

Comments
 (0)