Skip to content

Commit ed59538

Browse files
committed
f
1 parent 316c9e1 commit ed59538

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

.github/workflows/pull.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -565,7 +565,7 @@ jobs:
565565
docker-image: ci-image:executorch-ubuntu-22.04-qnn-sdk
566566
submodules: 'recursive'
567567
ref: ${{ github.event_name == 'pull_request' && github.event.pull_request.head.sha || github.sha }}
568-
timeout: 900
568+
timeout: 90
569569
script: |
570570
# The generic Linux job chooses to use base env, not the one setup by the image
571571
CONDA_ENV=$(conda env list --json | jq -r ".envs | .[-1]")

examples/qualcomm/oss_scripts/llama/decoder_utils.py

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ def __init__(
114114
],
115115
runtime_tokenizer_path,
116116
):
117-
logging.info("init start~~~")
117+
logging.info("Win log: init start~~~")
118118
self.args = args
119119
self.pte_path = pte_path
120120
self.enable_x86_64 = args.enable_x86_64
@@ -196,7 +196,7 @@ def __init__(
196196
# n seq len = n-1 cache len, so we len(inps) = n-1 during _model_call
197197
# pyre-ignore
198198
super().__init__(None, tokenizer, self.max_seq_length - 1)
199-
logging.info("init end~~~")
199+
logging.info("Win log: init end~~~")
200200

201201
def _model_call(self, inps):
202202
logging.info(f"Start 1 iteration~~~~~~~~~~~~~~")
@@ -225,7 +225,7 @@ def post_process():
225225
with open(f"{self.args.artifact}/{performance_output_path}", "r") as f:
226226
self.inference_speed = float(f.read())
227227

228-
logging.info(f"Finish 1 iteration~~~~~~~~~~~~~~")
228+
229229
if self.enable_x86_64:
230230
qnn_sdk = os.getenv("QNN_SDK_ROOT")
231231
target = "x86_64-linux-clang"
@@ -252,7 +252,9 @@ def post_process():
252252
executable="/bin/bash",
253253
capture_output=True,
254254
)
255+
logging.info(f"Finish 1 iteration~~~~~~~~~~~~~~")
255256
post_process()
257+
logging.info(f"Finish 1 iteration post process~~~~~~~~~~~~~~")
256258

257259
else:
258260
runner_cmd = " ".join(

0 commit comments

Comments
 (0)