You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
chore(release): source signed HTP bundle from qcom-ai-hub/geniex LFS
Replace the anonymous S3 GET in overlay-htp with a sparse LFS
checkout of qcom-ai-hub/geniex, so China eng can commit signed
bundles via ordinary PR instead of pushing to S3 through the
geo-barrier. Requires secret QCOM_AI_HUB_GENIEX_READ_TOKEN.
Update notes/release.md and the self-signed release-notes fragment
in .github/scripts/release.js to reference the LFS path.
Refs qcom-ai-hub/geniex#1309, qcom-ai-hub/geniex#1297.
Signed-off-by: Mengsheng Wu <mengshen@qti.qualcomm.com>
? `## Hexagon HTP\n\nMicrosoft-signed HTP catalog (llama.cpp @ \`${LLAMA_SHA}\`). No cert import required on Windows on Snapdragon.`
37
-
: `## Hexagon HTP\n\nSelf-signed HTP catalog (llama.cpp @ \`${LLAMA_SHA}\`). End users must enable test signing and import \`ggml-htp-v1.cer\` per [notes/run.md](../blob/${VERSION}/notes/run.md).\n\nOperators: ship \`libggml-htp-to-sign-${LLAMA_SHA}.zip\` to the signing pipeline, then upload the signed result as \`libggml-htp-${LLAMA_SHA}.zip\` to \`s3://qaihub-public-assets/llama-cpp/\` and re-run this release.`;
37
+
: `## Hexagon HTP\n\nSelf-signed HTP catalog (llama.cpp @ \`${LLAMA_SHA}\`). End users must enable test signing and import \`ggml-htp-v1.cer\` per [notes/run.md](../blob/${VERSION}/notes/run.md).\n\nOperators: ship \`libggml-htp-to-sign-${LLAMA_SHA}.zip\` to the signing pipeline, then commit the signed result as \`sdk/signed-htp/libggml-htp-${LLAMA_SHA}.zip\` to \`qcom-ai-hub/geniex\` via PR (LFS-tracked) and re-run this release.`;
Copy file name to clipboardExpand all lines: notes/release.md
+7-5Lines changed: 7 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -165,22 +165,24 @@ The per-tag manifest is byte-stable across workflow re-runs of the same tag —
165
165
166
166
## Hexagon HTP signing
167
167
168
-
The Windows ARM64 SDK ships `libggml-htp.cat` plus `libggml-htp-v{68,69,73,75,79,81}.so` — Windows refuses to load them unsigned. Release CI runs an `overlay-htp` job **before**`build-cli` that `curl`s `s3://qaihub-public-assets/llama-cpp/libggml-htp-<sha>.zip`, where `<sha>` is the `third-party/llama.cpp` short SHA. Both the installer and the SDK zip end up with the same HTP files:
168
+
The Windows ARM64 SDK ships `libggml-htp.cat` plus `libggml-htp-v{68,69,73,75,79,81}.so` — Windows refuses to load them unsigned. Release CI runs an `overlay-htp` job **before**`build-cli` that sparse-checks-out `sdk/signed-htp/libggml-htp-<sha>.zip` from `qcom-ai-hub/geniex` (LFS-tracked), where `<sha>` is the `third-party/llama.cpp` short SHA. Both the installer and the SDK zip end up with the same HTP files:
169
169
170
170
-**Hit** — overlay the Microsoft-signed files into the SDK artifact; `build-cli` packages them into the installer; release normally.
171
171
-**Miss** — keep the self-signed build. The SDK name gets a `-selfsigned` suffix, and the release also carries `ggml-htp-v1.cer` (users import it) and `libggml-htp-to-sign-<sha>.zip` (operators submit it for signing).
172
172
173
-
The S3 bundle must contain exactly these eight files at the zip root: `libggml-htp.cat`, `libggml-htp.inf`, and `libggml-htp-v{68,69,73,75,79,81}.so`.
173
+
The signed bundle must contain exactly these eight files at the zip root: `libggml-htp.cat`, `libggml-htp.inf`, and `libggml-htp-v{68,69,73,75,79,81}.so`.
174
+
175
+
The cross-repo checkout uses `secrets.QCOM_AI_HUB_GENIEX_READ_TOKEN` — a GitHub App / fine-grained PAT scoped to `qcom-ai-hub/geniex` with `contents: read` + `metadata: read`. If CI reports `signed=false` but the bundle is merged on `main`, first check that this secret has not expired.
174
176
175
177
### Promoting self-signed → Microsoft-signed
176
178
177
179
1. Download `libggml-htp-to-sign-<sha>.zip` from the draft release.
178
180
2. Submit for Microsoft signing.
179
181
a. Put the `.cat``.inf` and all `.so` files into `ATT\libggml-htp\` in samba;
180
182
b. Submit Jenkins pipeline, fill path with `\path\to\ATT`, other field use default or first param.
181
-
c. Get singed files from `ATT\Glymur\01000\ExtractedDrivers`.
182
-
d. keep files in a zip with the same files (without `.inf`) at the root.
183
-
3.Upload the result to `s3://qaihub-public-assets/llama-cpp/libggml-htp-<sha>.zip`, with public acl.
183
+
c. Get signed files from `ATT\Glymur\01000\ExtractedDrivers`.
184
+
d. Repack the signed files (without `.inf`) into a zip with the same layout at the root.
185
+
3.Commit the result to `qcom-ai-hub/geniex` at `sdk/signed-htp/libggml-htp-<sha>.zip` — `git lfs install` locally, add the zip on a branch, open a PR titled per [CONTRIBUTING.md](../CONTRIBUTING.md) (for example `chore(release): add signed HTP bundle for llama.cpp <sha>`), and get a maintainer to squash-merge into `main`.
0 commit comments