File tree Expand file tree Collapse file tree 2 files changed +6
-4
lines changed
examples/qualcomm/oss_scripts/llama Expand file tree Collapse file tree 2 files changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -565,7 +565,7 @@ jobs:
565
565
docker-image : ci-image:executorch-ubuntu-22.04-qnn-sdk
566
566
submodules : ' recursive'
567
567
ref : ${{ github.event_name == 'pull_request' && github.event.pull_request.head.sha || github.sha }}
568
- timeout : 900
568
+ timeout : 90
569
569
script : |
570
570
# The generic Linux job chooses to use base env, not the one setup by the image
571
571
CONDA_ENV=$(conda env list --json | jq -r ".envs | .[-1]")
Original file line number Diff line number Diff line change @@ -114,7 +114,7 @@ def __init__(
114
114
],
115
115
runtime_tokenizer_path ,
116
116
):
117
- logging .info ("init start~~~" )
117
+ logging .info ("Win log: init start~~~" )
118
118
self .args = args
119
119
self .pte_path = pte_path
120
120
self .enable_x86_64 = args .enable_x86_64
@@ -196,7 +196,7 @@ def __init__(
196
196
# n seq len = n-1 cache len, so we len(inps) = n-1 during _model_call
197
197
# pyre-ignore
198
198
super ().__init__ (None , tokenizer , self .max_seq_length - 1 )
199
- logging .info ("init end~~~" )
199
+ logging .info ("Win log: init end~~~" )
200
200
201
201
def _model_call (self , inps ):
202
202
logging .info (f"Start 1 iteration~~~~~~~~~~~~~~" )
@@ -225,7 +225,7 @@ def post_process():
225
225
with open (f"{ self .args .artifact } /{ performance_output_path } " , "r" ) as f :
226
226
self .inference_speed = float (f .read ())
227
227
228
- logging . info ( f"Finish 1 iteration~~~~~~~~~~~~~~" )
228
+
229
229
if self .enable_x86_64 :
230
230
qnn_sdk = os .getenv ("QNN_SDK_ROOT" )
231
231
target = "x86_64-linux-clang"
@@ -252,7 +252,9 @@ def post_process():
252
252
executable = "/bin/bash" ,
253
253
capture_output = True ,
254
254
)
255
+ logging .info (f"Finish 1 iteration~~~~~~~~~~~~~~" )
255
256
post_process ()
257
+ logging .info (f"Finish 1 iteration post process~~~~~~~~~~~~~~" )
256
258
257
259
else :
258
260
runner_cmd = " " .join (
You can’t perform that action at this time.
0 commit comments