File tree 2 files changed +6
-5
lines changed
sharktank/tests/models/llama
2 files changed +6
-5
lines changed Original file line number Diff line number Diff line change @@ -93,15 +93,16 @@ jobs:
93
93
strategy :
94
94
matrix :
95
95
python-version : [3.11]
96
- runs-on : [llama-mi300x-3 ]
96
+ runs-on : [linux-mi300-1gpu-ossci ]
97
97
fail-fast : false
98
98
runs-on : ${{matrix.runs-on}}
99
99
defaults :
100
100
run :
101
101
shell : bash
102
102
env :
103
103
VENV_DIR : ${{ github.workspace }}/.venv
104
- HF_HOME : " /data/huggingface"
104
+ HF_HOME : " /shark-cache/data/huggingface"
105
+ HF_TOKEN : ${{ secrets.HF_FLUX_TOKEN }}
105
106
steps :
106
107
- uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
107
108
@@ -193,7 +194,7 @@ jobs:
193
194
run : |
194
195
pytest -v sharktank/ -m punet_quick \
195
196
--durations=0 \
196
- --timeout=600
197
+ --timeout=900
197
198
198
199
# Depends on other jobs to provide an aggregate job status.
199
200
# TODO(#584): move test_with_data and test_integration to a pkgci integration test workflow?
Original file line number Diff line number Diff line change 19
19
class QuarkParityTest (TempDirTestBase ):
20
20
def setUp (self ):
21
21
super ().setUp ()
22
- self .path_prefix = Path ("/shark-dev /quark_test" )
22
+ self .path_prefix = Path ("/shark-cache /quark_test" )
23
23
24
24
@with_quark_data
25
25
def test_compare_against_quark (self ):
@@ -55,7 +55,7 @@ def test_compare_against_quark(self):
55
55
"sharktank.examples.paged_llm_v1" ,
56
56
"The capitol of Texas is" ,
57
57
f"--irpa-file={ self .path_prefix } /fp8_bf16_weight.irpa" ,
58
- f"--tokenizer-config-json=/data/llama3.1/8b/tokenizer.json" ,
58
+ f"--tokenizer-config-json=/shark-dev/ data/llama3.1/8b/tokenizer.json" ,
59
59
"--fake-quant" ,
60
60
"--attention-kernel=torch" ,
61
61
"--activation-dtype=bfloat16" ,
You can’t perform that action at this time.
0 commit comments