Add golden store publish scripts + nightly CI wiring - #703
Open
yuhuchua-qti wants to merge 7 commits into
Open
yuhuchua-qti wants to merge 7 commits into
yuhuchua-qti wants to merge 7 commits into
Conversation
yuhuchua-qti
force-pushed
the
dev/yuhuchua/qnn-ut-golden-publish
branch
2 times, most recently
from
August 18, 2026 05:55
e434afc to
e45fe62
Compare
yuhuchua-qti
force-pushed
the
dev/yuhuchua/migrate-clip-ut
branch
from
August 19, 2026 09:13
e65be32 to
7c7bbb7
Compare
yuhuchua-qti
force-pushed
the
dev/yuhuchua/qnn-ut-golden-publish
branch
from
August 20, 2026 05:11
b0154fa to
a8010de
Compare
yuhuchua-qti
force-pushed
the
dev/yuhuchua/migrate-clip-ut
branch
3 times, most recently
from
August 31, 2026 07:30
0407fe9 to
7717d38
Compare
yuhuchua-qti
force-pushed
the
dev/yuhuchua/migrate-clip-ut
branch
3 times, most recently
from
September 8, 2026 04:54
8db7faf to
096e681
Compare
yuhuchua-qti
force-pushed
the
dev/yuhuchua/qnn-ut-golden-publish
branch
3 times, most recently
from
September 14, 2026 06:07
6ba666b to
79cec5c
Compare
yuhuchua-qti
force-pushed
the
dev/yuhuchua/migrate-clip-ut
branch
3 times, most recently
from
September 16, 2026 08:24
d937314 to
84b714b
Compare
yuhuchua-qti
changed the base branch from
dev/yuhuchua/migrate-clip-ut
to
dev/yuhuchua/phase3-pr3-clip-migration
September 18, 2026 08:16
yuhuchua-qti
force-pushed
the
dev/yuhuchua/phase3-pr3-clip-migration
branch
from
September 22, 2026 02:55
4d0c4ef to
88fd91d
Compare
yuhuchua-qti
force-pushed
the
dev/yuhuchua/qnn-ut-golden-publish
branch
from
September 22, 2026 07:23
5453b6b to
6a7e4dd
Compare
Base automatically changed from
dev/yuhuchua/phase3-pr3-clip-migration
to
main
September 22, 2026 07:56
yuhuchua-qti
force-pushed
the
dev/yuhuchua/qnn-ut-golden-publish
branch
5 times, most recently
from
September 23, 2026 03:49
eec4d9f to
e52ac25
Compare
yuhuchua-qti
marked this pull request as ready for review
September 23, 2026 04:01
yuhuchua-qti
requested review from
qti-chuteng,
qti-kromero and
tirupath-qti
as code owners
September 23, 2026 04:01
kuanyul-qti
reviewed
Sep 23, 2026
yuhuchua-qti
force-pushed
the
dev/yuhuchua/qnn-ut-golden-publish
branch
from
September 23, 2026 06:31
455929c to
e7f9c2a
Compare
yuhuchua-qti
requested review from
minfhong-qti,
qti-ashwshan,
qti-shubham and
qti-yuduo
as code owners
September 23, 2026 06:31
yuhuchua-qti
force-pushed
the
dev/yuhuchua/qnn-ut-golden-publish
branch
4 times, most recently
from
September 23, 2026 08:07
8d37144 to
a0606a9
Compare
tzuhsuanwei
reviewed
Sep 23, 2026
yuhuchua-qti
marked this pull request as draft
September 24, 2026 01:58
yuhuchua-qti
force-pushed
the
dev/yuhuchua/qnn-ut-golden-publish
branch
2 times, most recently
from
September 24, 2026 04:10
82a0b26 to
8f521e1
Compare
yuhuchua-qti
marked this pull request as ready for review
September 24, 2026 04:19
tzuhsuanwei
approved these changes
Sep 24, 2026
yuhuchua-qti
force-pushed
the
dev/yuhuchua/qnn-ut-golden-publish
branch
from
September 24, 2026 08:27
a08331c to
c6d6f3b
Compare
kuanyul-qti
reviewed
Sep 29, 2026
yuhuchua-qti
force-pushed
the
dev/yuhuchua/qnn-ut-golden-publish
branch
from
September 29, 2026 10:05
f6f3585 to
e43c19f
Compare
kuanyul-qti
approved these changes
Sep 30, 2026
kuanyul-qti
left a comment
Collaborator
There was a problem hiding this comment.
Should we add CI testing for the tests under qcom/scripts/linux/tests? We can track it as a follow-up. Others LGTM.
Collaborator
Author
Thanks for the suggestion. The tests under |
yuhuchua-qti
force-pushed
the
dev/yuhuchua/qnn-ut-golden-publish
branch
from
September 30, 2026 08:35
e43c19f to
ed0001b
Compare
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
This PR adds the producer side of the QNN EP snapshot golden pipeline.
It regenerates snapshot/session-snapshot goldens, verifies numerical correctness through the accuracy tier, packages only accuracy-passing op groups, stamps the package with QAIRT/ORT version metadata, and wires a nightly internal workflow to publish the golden package to Artifactory.
This PR is additive to the current test/CI pipeline and does not change per-PR gating behavior. The per-PR golden consumer, routing gate, and broader snapshot non-gating rollout remain follow-up PRs.
What's In It
Snapshot Golden Publisher
qcom/scripts/linux/publish_goldens.sh.run_snapshot_accuracy.sh --generate-goldensto generate snapshot/session-snapshot goldens and run accuracy verification.snapshot_accuracy_results/accuracy_results.jsonand packages only op groups whoseQnnAcc_<Group>_Accuracy[_<Variant>]Testcases pass.manifest.jsonwith QAIRT version, ORT version, git SHA, generated time, passing groups, and golden count.--publishis required before the script uploads to Artifactory.Version Resolver
qcom/scripts/linux/resolve_tool_versions.shas the shared QAIRT/ORT version resolver for this producer and the future consumer.<bin_dir>/CMakeCache.txt->onnxruntime_QNN_HOME-><QNN_HOME>/sdk.yaml.<bin_dir>/CMakeCache.txt->onnxruntime_ORT_HOME->VERSION_NUMBER/VERSIONfor prebuilt ORT builds.<bin_dir>/_deps/ort_core-src/VERSION_NUMBERwhenonnxruntime_ORT_HOMEis absent, which covers the current FetchContent CI path.Nightly CI Producer
.github/workflows/qualcomm-internal-snapshot-golden-publish.ymlas the reusable/manual workflow..github/workflows/qualcomm-internal-release-nightly.ymlto call the snapshot golden producer nightly with publishing enabled.workflow_dispatchsafe by defaultingdry_runtotrue; an operator may explicitly selectdry_run: falsefor a recovery publish.coverage_build_linux_x86_64inqcom/build_and_test.pyso the producer can build the coverage-instrumented test binary without generating the full coverage report.Artifactory Store and Retention
The golden store is CI-managed validation data under
ci/, not a QA release artifact:Archive and pointer behavior:
latestis touched.latest/goldens.zipis the only mutable pointer and is updated only after archive creation succeeds.latestis out of scope for this producer PR.Cleanup behavior:
ci/*artifacts still expire after 1 day.ci/qnn-ep-test-store/*is excluded from the generalci/*cleanup rule.ci/qnn-ep-test-store/*/archive/*is pruned after 7 days.latest/*is not matched by the golden archive cleanup rule, so CI keeps a current golden pointer after the first successful publish.Test Plan
filter_pass_groupscoverage for passing, failure,SKIPPED,NOTRUN, mixed-variant, and unrelated-suite cases using the tier-firstQnnAccnaming.publish_goldens.shdry-run against a real coverage build: generated goldens, ran accuracy, staged passing groups, wrotemanifest.json, packagedgoldens.zip, and printed publish commands without updating the formal store.goldens.zipstructure: rootmanifest.json,snapshot/, andsession_snapshot/; 18 Clip golden JSON files; JSON parse OK; Qualcomm copyright string verified.ci/qnn-ep-test-store/snapshot-goldens-pr703-testpath.latest.ci/qnn-ep-test-store/snapshot-goldensstore after merge.