Skip to content

Commit ef943ae

Browse files
committed
python path fix
1 parent 50b35e0 commit ef943ae

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/pull.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -470,10 +470,10 @@ jobs:
470470
471471
# Retrieve 110M Stories Llama Artifacts
472472
PYTHON_EXECUTABLE=python . .ci/scripts/utils.sh && download_stories_model_artifacts
473-
PYTHON_EXECUTABLE -m extension.llm.tokenizer.tokenizer -t tokenizer.model -o tokenizer.bin
473+
PYTHONPATH="${PWD}" python -m extension.llm.tokenizer.tokenizer -t tokenizer.model -o tokenizer.bin
474474
475475
# Test static llama stories110m pte size
476-
PYTHON_EXECUTABLE=python backends/qualcomm/tests/test_qnn_delegate.py -k TestExampleScript.test_stories_single_llama --model SM8650 --build_folder build-android/ --executorch_root . --artifact_dir . --compile_only"
476+
PYTHONPATH="${PWD}" python backends/qualcomm/tests/test_qnn_delegate.py -k TestExampleScript.test_stories_single_llama --model SM8650 --build_folder build-android/ --executorch_root . --artifact_dir . --compile_only"
477477
478478
# Checks accuracy with weight sharing disabled since x86 does not support weight sharing.
479479
test-static-llama-accuracy-qnn-linux:
@@ -502,10 +502,10 @@ jobs:
502502
503503
# Retrieve 110M Stories Llama Artifacts
504504
PYTHON_EXECUTABLE=python . .ci/scripts/utils.sh && download_stories_model_artifacts
505-
PYTHON_EXECUTABLE -m extension.llm.tokenizer.tokenizer -t tokenizer.model -o tokenizer.bin
505+
PYTHONPATH="${PWD}" python -m extension.llm.tokenizer.tokenizer.py -t tokenizer.model -o tokenizer.bin
506506
507507
# Test static llama stories110m accuracy
508-
PYTHON_EXECUTABLE=python backends/qualcomm/tests/test_qnn_delegate.py -k TestExampleScript.test_stories_single_llama --model SM8650 --build_folder build-x86_64/ --executorch_root . --artifact_dir . --enable_x86_64"
508+
PYTHONPATH="${PWD}" python backends/qualcomm/tests/test_qnn_delegate.py -k TestExampleScript.test_stories_single_llama --model SM8650 --build_folder build-x86_64/ --executorch_root . --artifact_dir . --enable_x86_64"
509509
510510
test-qnn-models-linux:
511511
name: test-qnn-models-linux

0 commit comments

Comments
 (0)