Skip to content

Fix QNN llama script Python path#20751

Open
JacobSzwejbka wants to merge 1 commit into
mainfrom
js/fix-qnn-llama-script-pythonpath
Open

Fix QNN llama script Python path#20751
JacobSzwejbka wants to merge 1 commit into
mainfrom
js/fix-qnn-llama-script-pythonpath

Conversation

@JacobSzwejbka

Copy link
Copy Markdown
Contributor

Summary:

Fix QNN llama CI scripts so they resolve EXECUTORCH_ROOT to the repository root and set PYTHONPATH to the parent of that root. The Qualcomm examples are source-tree modules, so the CI import path needs the repo parent instead of a cwd-relative '..'. This addresses failures such as:

python: No module named executorch.examples.qualcomm.oss_scripts.llama.eval_llama_qnn

Test Plan:

bash -n .ci/scripts/test_llama.sh .ci/scripts/test_qnn_static_llama_eval.sh .ci/scripts/test_qnn_static_llm.sh
git diff --check origin/main
lintrunner -r origin/main
Verified the new EXECUTORCH_ROOT expression resolves to the repo root for all three scripts.

Authored with Claude.

@pytorch-bot

pytorch-bot Bot commented Jul 6, 2026

Copy link
Copy Markdown

🔗 Helpful Links

🧪 See artifacts and rendered test results at hud.pytorch.org/pr/pytorch/executorch/20751

Note: Links to docs will display an error until the docs builds have been completed.

❌ 2 New Failures, 1 Cancelled Job, 1 Unrelated Failure

As of commit d44c8aa with merge base 6edd49d (image):

NEW FAILURES - The following jobs have failed:

CANCELLED JOB - The following job was cancelled. Please retry:

BROKEN TRUNK - The following job failed but were present on the merge base:

👉 Rebase onto the `viable/strict` branch to avoid these failures

This comment was automatically generated by Dr. CI and updates every 15 minutes.

@meta-cla meta-cla Bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Jul 6, 2026
@github-actions

github-actions Bot commented Jul 6, 2026

Copy link
Copy Markdown

This PR needs a release notes: label

If your change should be included in the release notes (i.e. would users of this library care about this change?), please use a label starting with release notes:. This helps us keep track and include your important work in the next release notes.

To add a label, you can comment to pytorchbot, for example
@pytorchbot label "release notes: none"

For more information, see
https://github.com/pytorch/pytorch/wiki/PyTorch-AutoLabel-Bot#why-categorize-for-release-notes-and-how-does-it-work.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant