sanmonga22 commited on
Commit
78bbc9d
·
verified ·
1 Parent(s): 5f3df13

Prune QHexRT HNPU bundle to runtime-minimum artifacts

Browse files

Remove 1 non-runtime/sensitive files from the QHexRT HNPU bundle.
Strip non-runtime _comment metadata from 2 manifest(s) without changing runtime fields.
Audit artifacts: QHexRT/hf_hnpu_audit cleanup plan, manifest reference check, and multi-agent review.

Files changed (3) hide show
  1. config.json +0 -7
  2. v79/whisper-small.json +26 -9
  3. v81/whisper-small.json +0 -1
config.json DELETED
@@ -1,7 +0,0 @@
1
- {
2
- "model_type": "qhexrt",
3
- "name": "whisper_small_HNPU",
4
- "framework": "qhexrt",
5
- "runtime": "qnn-htp",
6
- "_note": "Root config.json present so the Hugging Face Hub counts downloads (default query file for repos without a registered library)."
7
- }
 
 
 
 
 
 
 
 
v79/whisper-small.json CHANGED
@@ -1,24 +1,41 @@
1
  {
2
  "schema_version": 1,
3
- "_comment": "whisper-small - Qualcomm Hexagon v79 (QHexRT) deployment manifest.",
4
- "model": { "name": "whisper-small", "family": "asr", "dsp_arch": "v79" },
 
 
 
5
  "params": {
6
- "vocab": 51865, "n_layers": 12, "hidden": 768, "head_dim": 64,
7
- "max_ctx": 200, "eos_token_id": 50257
 
 
 
 
8
  },
9
  "artifacts": {
10
  "contexts": {
11
- "encoder": { "bin": "encoder.bin" },
12
- "decoder": { "bin": "decoder.bin" }
 
 
 
 
13
  },
14
  "tokenizer": "tokenizer.json",
15
  "fixture_dir": "."
16
  },
17
  "plan": {
18
  "steps": [
19
- { "host": "asr_transcribe",
20
- "params": { "encoder": "whisper_small_encoder", "decoder": "whisper_small_decoder",
21
- "mel_filters": "whisper_mel_filters.bin", "sot": 50258 } }
 
 
 
 
 
 
22
  ]
23
  }
24
  }
 
1
  {
2
  "schema_version": 1,
3
+ "model": {
4
+ "name": "whisper-small",
5
+ "family": "asr",
6
+ "dsp_arch": "v79"
7
+ },
8
  "params": {
9
+ "vocab": 51865,
10
+ "n_layers": 12,
11
+ "hidden": 768,
12
+ "head_dim": 64,
13
+ "max_ctx": 200,
14
+ "eos_token_id": 50257
15
  },
16
  "artifacts": {
17
  "contexts": {
18
+ "encoder": {
19
+ "bin": "encoder.bin"
20
+ },
21
+ "decoder": {
22
+ "bin": "decoder.bin"
23
+ }
24
  },
25
  "tokenizer": "tokenizer.json",
26
  "fixture_dir": "."
27
  },
28
  "plan": {
29
  "steps": [
30
+ {
31
+ "host": "asr_transcribe",
32
+ "params": {
33
+ "encoder": "whisper_small_encoder",
34
+ "decoder": "whisper_small_decoder",
35
+ "mel_filters": "whisper_mel_filters.bin",
36
+ "sot": 50258
37
+ }
38
+ }
39
  ]
40
  }
41
  }
v81/whisper-small.json CHANGED
@@ -1,6 +1,5 @@
1
  {
2
  "schema_version": 1,
3
- "_comment": "Whisper-small ASR (encoder-decoder). Host log-mel + host conv stem (the conv is HTP-hostile in-graph) feed the encoder graph (input encoder_features); the autoregressive decoder (causal self-attention + cross-attention to the cached encoder states, learned positional embeddings, tied lm-head) emits tokens, detok'd on the host. Gated on WER vs HF. Same proven asr_transcribe host-op path as whisper-base (12 layers / d768 / 12 heads).",
4
  "model": {
5
  "name": "whisper-small",
6
  "family": "asr",
 
1
  {
2
  "schema_version": 1,
 
3
  "model": {
4
  "name": "whisper-small",
5
  "family": "asr",