alpharomercoma commited on
Commit
da8fc76
·
verified ·
1 Parent(s): 720399c

qnn/sm8750 4k: HuggingFaceTB/SmolLM2-135M-Instruct@12fd25f77366

Browse files
README.md CHANGED
@@ -11,6 +11,7 @@ tags:
11
  - mtk
12
  - on-device
13
  - openweights
 
14
  - vulkan
15
  - xnnpack
16
  ---
@@ -21,7 +22,7 @@ ExecuTorch exports of [HuggingFaceTB/SmolLM2-135M-Instruct](https://huggingface.
21
 
22
  ## Files
23
 
24
- Windows in this repo: XNNPACK (CPU) at 2k to 32k; Vulkan (GPU) at 2k to 32k; MediaTek NeuroPilot MT6991 (Dimensity 9400) at 2k to 16k. The window is fixed inside the file: the runtime allocates the whole KV cache at load, so pick the largest window the device can hold (`fits_phone_budget` in each folder's `config.json` is the estimate against a 5 GB budget).
25
 
26
  | Backend | Target | File | Window | Size | Smoke test |
27
  |---|---|---|---|---|---|
@@ -35,6 +36,7 @@ Windows in this repo: XNNPACK (CPU) at 2k to 32k; Vulkan (GPU) at 2k to 32k; Med
35
  | Vulkan (GPU) | any arm64 | [`vulkan/SmolLM2-135M-Instruct-vulkan-8da4w-8k.pte`](vulkan/SmolLM2-135M-Instruct-vulkan-8da4w-8k.pte) | 8,192 tokens | 0.14 GB | structure checked (no host NPU runtime) |
36
  | Vulkan (GPU) | any arm64 | [`vulkan/SmolLM2-135M-Instruct-vulkan-8da4w-16k.pte`](vulkan/SmolLM2-135M-Instruct-vulkan-8da4w-16k.pte) | 16,384 tokens | 0.15 GB | structure checked (no host NPU runtime) |
37
  | Vulkan (GPU) | any arm64 | [`vulkan/SmolLM2-135M-Instruct-vulkan-8da4w-32k.pte`](vulkan/SmolLM2-135M-Instruct-vulkan-8da4w-32k.pte) | 32,768 tokens | 0.17 GB | structure checked (no host NPU runtime) |
 
38
  | MediaTek NeuroPilot | MT6991 (Dimensity 9400) | [`mtk/mt6991/SmolLM2-135M-Instruct-neuropilot-a16w8-2k-chunk1of3.pte`](mtk/mt6991/SmolLM2-135M-Instruct-neuropilot-a16w8-2k-chunk1of3.pte) | 2,048 tokens | 0.04 GB | structure checked (no host NPU runtime) |
39
  | MediaTek NeuroPilot | MT6991 (Dimensity 9400) | [`mtk/mt6991/SmolLM2-135M-Instruct-neuropilot-a16w8-2k-chunk2of3.pte`](mtk/mt6991/SmolLM2-135M-Instruct-neuropilot-a16w8-2k-chunk2of3.pte) | 2,048 tokens | 0.04 GB | structure checked (no host NPU runtime) |
40
  | MediaTek NeuroPilot | MT6991 (Dimensity 9400) | [`mtk/mt6991/SmolLM2-135M-Instruct-neuropilot-a16w8-2k-chunk3of3.pte`](mtk/mt6991/SmolLM2-135M-Instruct-neuropilot-a16w8-2k-chunk3of3.pte) | 2,048 tokens | 0.07 GB | structure checked (no host NPU runtime) |
@@ -69,6 +71,7 @@ Tokenizer: [`tokenizer.json`](tokenizer.json), copied unchanged from the source
69
 
70
  - XNNPACK (CPU) any arm64: ExecuTorch 1.4.0 `export_llm`: 8-bit dynamic activations and 4-bit weights in groups of 32, int8 per-channel embeddings, XNNPACK with extended ops, prefill chunk 2048, fp32 KV cache. Built by [run 1](https://github.com/ExperimentalMachines/execupack/actions/runs/37158331242).
71
  - Vulkan (GPU) any arm64: ExecuTorch 1.4.0 `export_llm`: 8-bit dynamic activations and 4-bit weights in groups of 32, int8 per-channel embeddings, the Vulkan delegate, prefill chunk 2048, fp32 KV cache. Built by [run 1](https://github.com/ExperimentalMachines/execupack/actions/runs/37157380448).
 
72
  - MediaTek NeuroPilot MT6991 (Dimensity 9400): ExecuTorch 1.4.0 MediaTek LLM export (`examples/mediatek`, `llama.py`): A16W8 (16-bit activations, 8-bit weights) calibrated on MediaTek's `alpaca.txt` prompts (9 of 9) in the qwen.json chat template, cut into 3 chunks, with a 128-token prompt graph and a one-token generation graph over a 2048-token cache, compiled with MediaTek NeuroPilot Express SDK (mtk_converter 8.13.0+public, mtk_neuron 8.2.23) for MT6991 (Dimensity 9400). Built by [run 1](https://github.com/ExperimentalMachines/execupack/actions/runs/37158191680).
73
  - MediaTek NeuroPilot MT6991 (Dimensity 9400): ExecuTorch 1.4.0 MediaTek LLM export (`examples/mediatek`, `llama.py`): A16W8 (16-bit activations, 8-bit weights) calibrated on MediaTek's `alpaca.txt` prompts (9 of 9) in the qwen.json chat template, cut into 3 chunks, with a 128-token prompt graph and a one-token generation graph over a 4096-token cache, compiled with MediaTek NeuroPilot Express SDK (mtk_converter 8.13.0+public, mtk_neuron 8.2.23) for MT6991 (Dimensity 9400). Built by [run 1](https://github.com/ExperimentalMachines/execupack/actions/runs/37158191680).
74
  - MediaTek NeuroPilot MT6991 (Dimensity 9400): ExecuTorch 1.4.0 MediaTek LLM export (`examples/mediatek`, `llama.py`): A16W8 (16-bit activations, 8-bit weights) calibrated on MediaTek's `alpaca.txt` prompts (9 of 9) in the qwen.json chat template, cut into 3 chunks, with a 128-token prompt graph and a one-token generation graph over a 8192-token cache, compiled with MediaTek NeuroPilot Express SDK (mtk_converter 8.13.0+public, mtk_neuron 8.2.23) for MT6991 (Dimensity 9400). Built by [run 1](https://github.com/ExperimentalMachines/execupack/actions/runs/37158191680).
@@ -78,4 +81,6 @@ Tokenizer: [`tokenizer.json`](tokenizer.json), copied unchanged from the source
78
 
79
  A quantized derivative of [HuggingFaceTB/SmolLM2-135M-Instruct](https://huggingface.co/HuggingFaceTB/SmolLM2-135M-Instruct), distributed under the same terms (apache-2.0).
80
 
 
 
81
  The `mtk/` folders hold model binaries compiled with the MediaTek NeuroPilot Express SDK 8.0.8-build20250925 (mtk_converter 8.13.0+public, mtk_neuron 8.2.23) from MediaTek Inc., used under MediaTek's license terms for that SDK. No MediaTek SDK or runtime library is included. They run on MediaTek's LLM runner from ExecuTorch (`examples/mediatek/executor_runner`) with the device's NeuroPilot runtime; the settings it needs are in each folder's `config.json`, under each variant's `runner`.
 
11
  - mtk
12
  - on-device
13
  - openweights
14
+ - qnn
15
  - vulkan
16
  - xnnpack
17
  ---
 
22
 
23
  ## Files
24
 
25
+ Windows in this repo: XNNPACK (CPU) at 2k to 32k; Vulkan (GPU) at 2k to 32k; Qualcomm QNN (HTP) SM8750 (Snapdragon 8 Elite) at 4k; MediaTek NeuroPilot MT6991 (Dimensity 9400) at 2k to 16k. The window is fixed inside the file: the runtime allocates the whole KV cache at load, so pick the largest window the device can hold (`fits_phone_budget` in each folder's `config.json` is the estimate against a 5 GB budget).
26
 
27
  | Backend | Target | File | Window | Size | Smoke test |
28
  |---|---|---|---|---|---|
 
36
  | Vulkan (GPU) | any arm64 | [`vulkan/SmolLM2-135M-Instruct-vulkan-8da4w-8k.pte`](vulkan/SmolLM2-135M-Instruct-vulkan-8da4w-8k.pte) | 8,192 tokens | 0.14 GB | structure checked (no host NPU runtime) |
37
  | Vulkan (GPU) | any arm64 | [`vulkan/SmolLM2-135M-Instruct-vulkan-8da4w-16k.pte`](vulkan/SmolLM2-135M-Instruct-vulkan-8da4w-16k.pte) | 16,384 tokens | 0.15 GB | structure checked (no host NPU runtime) |
38
  | Vulkan (GPU) | any arm64 | [`vulkan/SmolLM2-135M-Instruct-vulkan-8da4w-32k.pte`](vulkan/SmolLM2-135M-Instruct-vulkan-8da4w-32k.pte) | 32,768 tokens | 0.17 GB | structure checked (no host NPU runtime) |
39
+ | Qualcomm QNN (HTP) | SM8750 (Snapdragon 8 Elite) | [`qnn/sm8750/SmolLM2-135M-Instruct-qnn-hybrid-4k.pte`](qnn/sm8750/SmolLM2-135M-Instruct-qnn-hybrid-4k.pte) | 4,096 tokens | 0.20 GB | structure checked (no host NPU runtime) |
40
  | MediaTek NeuroPilot | MT6991 (Dimensity 9400) | [`mtk/mt6991/SmolLM2-135M-Instruct-neuropilot-a16w8-2k-chunk1of3.pte`](mtk/mt6991/SmolLM2-135M-Instruct-neuropilot-a16w8-2k-chunk1of3.pte) | 2,048 tokens | 0.04 GB | structure checked (no host NPU runtime) |
41
  | MediaTek NeuroPilot | MT6991 (Dimensity 9400) | [`mtk/mt6991/SmolLM2-135M-Instruct-neuropilot-a16w8-2k-chunk2of3.pte`](mtk/mt6991/SmolLM2-135M-Instruct-neuropilot-a16w8-2k-chunk2of3.pte) | 2,048 tokens | 0.04 GB | structure checked (no host NPU runtime) |
42
  | MediaTek NeuroPilot | MT6991 (Dimensity 9400) | [`mtk/mt6991/SmolLM2-135M-Instruct-neuropilot-a16w8-2k-chunk3of3.pte`](mtk/mt6991/SmolLM2-135M-Instruct-neuropilot-a16w8-2k-chunk3of3.pte) | 2,048 tokens | 0.07 GB | structure checked (no host NPU runtime) |
 
71
 
72
  - XNNPACK (CPU) any arm64: ExecuTorch 1.4.0 `export_llm`: 8-bit dynamic activations and 4-bit weights in groups of 32, int8 per-channel embeddings, XNNPACK with extended ops, prefill chunk 2048, fp32 KV cache. Built by [run 1](https://github.com/ExperimentalMachines/execupack/actions/runs/37158331242).
73
  - Vulkan (GPU) any arm64: ExecuTorch 1.4.0 `export_llm`: 8-bit dynamic activations and 4-bit weights in groups of 32, int8 per-channel embeddings, the Vulkan delegate, prefill chunk 2048, fp32 KV cache. Built by [run 1](https://github.com/ExperimentalMachines/execupack/actions/runs/37157380448).
74
+ - Qualcomm QNN (HTP) SM8750 (Snapdragon 8 Elite): ExecuTorch 1.5.1 Qualcomm static LLM (`examples/qualcomm/oss_scripts/llama`, `--decoder_model smollm2_135m`): the quantization recipe ExecuTorch registers for this model, calibrated on wikitext (1 sample), hybrid prefill (128 tokens per step) and decode graphs compiled with QAIRT 2.37.0.250724 for SM8750 (Snapdragon 8 Elite). Built by [run 1](https://github.com/ExperimentalMachines/execupack/actions/runs/37643682104).
75
  - MediaTek NeuroPilot MT6991 (Dimensity 9400): ExecuTorch 1.4.0 MediaTek LLM export (`examples/mediatek`, `llama.py`): A16W8 (16-bit activations, 8-bit weights) calibrated on MediaTek's `alpaca.txt` prompts (9 of 9) in the qwen.json chat template, cut into 3 chunks, with a 128-token prompt graph and a one-token generation graph over a 2048-token cache, compiled with MediaTek NeuroPilot Express SDK (mtk_converter 8.13.0+public, mtk_neuron 8.2.23) for MT6991 (Dimensity 9400). Built by [run 1](https://github.com/ExperimentalMachines/execupack/actions/runs/37158191680).
76
  - MediaTek NeuroPilot MT6991 (Dimensity 9400): ExecuTorch 1.4.0 MediaTek LLM export (`examples/mediatek`, `llama.py`): A16W8 (16-bit activations, 8-bit weights) calibrated on MediaTek's `alpaca.txt` prompts (9 of 9) in the qwen.json chat template, cut into 3 chunks, with a 128-token prompt graph and a one-token generation graph over a 4096-token cache, compiled with MediaTek NeuroPilot Express SDK (mtk_converter 8.13.0+public, mtk_neuron 8.2.23) for MT6991 (Dimensity 9400). Built by [run 1](https://github.com/ExperimentalMachines/execupack/actions/runs/37158191680).
77
  - MediaTek NeuroPilot MT6991 (Dimensity 9400): ExecuTorch 1.4.0 MediaTek LLM export (`examples/mediatek`, `llama.py`): A16W8 (16-bit activations, 8-bit weights) calibrated on MediaTek's `alpaca.txt` prompts (9 of 9) in the qwen.json chat template, cut into 3 chunks, with a 128-token prompt graph and a one-token generation graph over a 8192-token cache, compiled with MediaTek NeuroPilot Express SDK (mtk_converter 8.13.0+public, mtk_neuron 8.2.23) for MT6991 (Dimensity 9400). Built by [run 1](https://github.com/ExperimentalMachines/execupack/actions/runs/37158191680).
 
81
 
82
  A quantized derivative of [HuggingFaceTB/SmolLM2-135M-Instruct](https://huggingface.co/HuggingFaceTB/SmolLM2-135M-Instruct), distributed under the same terms (apache-2.0).
83
 
84
+ The `qnn/` folders hold QNN HTP context binaries compiled with the Qualcomm AI Runtime SDK (QAIRT) 2.37.0.250724 from Qualcomm Technologies, Inc., used under its AI Stack License. No Qualcomm SDK or runtime library is included; running them needs the matching QNN runtime (for example `executorch-android-qnn` 1.5.1, which depends on `qnn-runtime` 2.37.0).
85
+
86
  The `mtk/` folders hold model binaries compiled with the MediaTek NeuroPilot Express SDK 8.0.8-build20250925 (mtk_converter 8.13.0+public, mtk_neuron 8.2.23) from MediaTek Inc., used under MediaTek's license terms for that SDK. No MediaTek SDK or runtime library is included. They run on MediaTek's LLM runner from ExecuTorch (`examples/mediatek/executor_runner`) with the device's NeuroPilot runtime; the settings it needs are in each folder's `config.json`, under each variant's `runner`.
qnn/sm8750/SmolLM2-135M-Instruct-qnn-hybrid-4k.pte ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:83b6a2f4877064abed160a5b927bfa5c6be790f7efcd4bc2c15e14a210d19cfd
3
+ size 203697792
qnn/sm8750/config.json ADDED
@@ -0,0 +1,28 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "runtime": "executorch",
3
+ "runtime_version": "1.5.1",
4
+ "backend": "qnn",
5
+ "target": "sm8750",
6
+ "tokenizer": "tokenizer.json",
7
+ "source_model": "HuggingFaceTB/SmolLM2-135M-Instruct",
8
+ "source_revision": "12fd25f77366fa6b3b4b768ec3050bf629380bac",
9
+ "variants": [
10
+ {
11
+ "file": "SmolLM2-135M-Instruct-qnn-hybrid-4k.pte",
12
+ "size_bytes": 203697792,
13
+ "sha256": "83b6a2f4877064abed160a5b927bfa5c6be790f7efcd4bc2c15e14a210d19cfd",
14
+ "context": 4096,
15
+ "source_revision": "12fd25f77366fa6b3b4b768ec3050bf629380bac",
16
+ "quantization": "QNN HTP, ExecuTorch smollm2_135m recipe",
17
+ "fits_phone_budget": null,
18
+ "methods": {
19
+ "get_max_context_len": 4096,
20
+ "get_max_seq_len": 4096,
21
+ "get_bos_id": 1,
22
+ "get_vocab_size": 49152,
23
+ "get_n_layers": 30
24
+ }
25
+ }
26
+ ],
27
+ "qnn_sdk_version": "2.37.0.250724"
28
+ }
qnn/sm8750/export-report-4k.json ADDED
@@ -0,0 +1,692 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "backend": "qnn",
3
+ "target": "sm8750",
4
+ "target_name": "Snapdragon 8 Elite",
5
+ "tokenizer": "tokenizer.json",
6
+ "output_repo": "experimentalmachines/SmolLM2-135M-Instruct-ExecuTorch",
7
+ "source": {
8
+ "id": "HuggingFaceTB/SmolLM2-135M-Instruct",
9
+ "sha": "12fd25f77366fa6b3b4b768ec3050bf629380bac",
10
+ "created_at": "2024-10-31T13:41:10+00:00",
11
+ "total_params": 134515008,
12
+ "family": "llama",
13
+ "variant": "instruct",
14
+ "license": {
15
+ "license": "apache-2.0"
16
+ },
17
+ "license_files": []
18
+ },
19
+ "toolchain": {
20
+ "executorch": "1.5.1",
21
+ "torch": "2.14.0+cpu",
22
+ "torchao": "0.18.0",
23
+ "transformers": "5.0.0rc1",
24
+ "lm_eval": "0.4.5",
25
+ "qairt": "2.37.0.250724"
26
+ },
27
+ "recipe": {
28
+ "decoder_model": "smollm2_135m",
29
+ "params": "executorch: examples/models/smollm2/135M_config.json",
30
+ "model_mode": "hybrid",
31
+ "prefill_ar_len": 128,
32
+ "max_context_len": 4096,
33
+ "calibration": {
34
+ "tasks": [
35
+ "wikitext"
36
+ ],
37
+ "limit": 1
38
+ },
39
+ "label": "QNN HTP, ExecuTorch smollm2_135m recipe",
40
+ "description": "ExecuTorch 1.5.1 Qualcomm static LLM (`examples/qualcomm/oss_scripts/llama`, `--decoder_model smollm2_135m`): the quantization recipe ExecuTorch registers for this model, calibrated on wikitext (1 sample), hybrid prefill (128 tokens per step) and decode graphs compiled with QAIRT 2.37.0.250724 for SM8750 (Snapdragon 8 Elite)."
41
+ },
42
+ "window": {
43
+ "context": 4096,
44
+ "reason": "forced with --context (static NPU graphs)",
45
+ "kv_cache_bytes_per_token": null
46
+ },
47
+ "files": [
48
+ {
49
+ "path": "qnn/sm8750/SmolLM2-135M-Instruct-qnn-hybrid-4k.pte",
50
+ "bytes": 203697792,
51
+ "sha256": "83b6a2f4877064abed160a5b927bfa5c6be790f7efcd4bc2c15e14a210d19cfd"
52
+ }
53
+ ],
54
+ "host": {
55
+ "nproc": 32,
56
+ "mem_total_bytes": 729889779712,
57
+ "swap_total_bytes": 0,
58
+ "cpu_model": "unknown",
59
+ "peak_rss_export_bytes": 10922528768,
60
+ "peak_swap_used_bytes": 0,
61
+ "min_mem_available_bytes": 720223883264,
62
+ "peak_in_use_bytes": 9665896448,
63
+ "peak_in_use_at": "2026-10-07T15:57:19Z",
64
+ "peak_cgroup_bytes": 9665654784,
65
+ "export_seconds": 1707.5,
66
+ "total_seconds": 1733.6
67
+ },
68
+ "metadata": {
69
+ "get_ar_len": 1,
70
+ "get_bos_id": 1,
71
+ "get_dim": 576,
72
+ "get_eos_id": 2,
73
+ "get_head_dim": 64,
74
+ "get_kv_io_bit_width": 16,
75
+ "get_kv_output_0_quant_attr": [
76
+ 1.5267929484252818e-05,
77
+ 39862,
78
+ 0,
79
+ 65535,
80
+ "torch.int32"
81
+ ],
82
+ "get_kv_output_10_quant_attr": [
83
+ 0.00010673665383365005,
84
+ 34317,
85
+ 0,
86
+ 65535,
87
+ "torch.int32"
88
+ ],
89
+ "get_kv_output_11_quant_attr": [
90
+ 0.0002642688632477075,
91
+ 33578,
92
+ 0,
93
+ 65535,
94
+ "torch.int32"
95
+ ],
96
+ "get_kv_output_12_quant_attr": [
97
+ 0.00010371369717177004,
98
+ 35940,
99
+ 0,
100
+ 65535,
101
+ "torch.int32"
102
+ ],
103
+ "get_kv_output_13_quant_attr": [
104
+ 0.00028053202549926937,
105
+ 31988,
106
+ 0,
107
+ 65535,
108
+ "torch.int32"
109
+ ],
110
+ "get_kv_output_14_quant_attr": [
111
+ 0.00015581764455419034,
112
+ 34378,
113
+ 0,
114
+ 65535,
115
+ "torch.int32"
116
+ ],
117
+ "get_kv_output_15_quant_attr": [
118
+ 0.0003261002420913428,
119
+ 35515,
120
+ 0,
121
+ 65535,
122
+ "torch.int32"
123
+ ],
124
+ "get_kv_output_16_quant_attr": [
125
+ 0.00015474561951123178,
126
+ 32272,
127
+ 0,
128
+ 65535,
129
+ "torch.int32"
130
+ ],
131
+ "get_kv_output_17_quant_attr": [
132
+ 0.0002924219297710806,
133
+ 32578,
134
+ 0,
135
+ 65535,
136
+ "torch.int32"
137
+ ],
138
+ "get_kv_output_18_quant_attr": [
139
+ 0.00015396317758131772,
140
+ 32918,
141
+ 0,
142
+ 65535,
143
+ "torch.int32"
144
+ ],
145
+ "get_kv_output_19_quant_attr": [
146
+ 0.0003059203736484051,
147
+ 31890,
148
+ 0,
149
+ 65535,
150
+ "torch.int32"
151
+ ],
152
+ "get_kv_output_1_quant_attr": [
153
+ 0.00030670216074213386,
154
+ 30269,
155
+ 0,
156
+ 65535,
157
+ "torch.int32"
158
+ ],
159
+ "get_kv_output_20_quant_attr": [
160
+ 0.00013694606604985893,
161
+ 29973,
162
+ 0,
163
+ 65535,
164
+ "torch.int32"
165
+ ],
166
+ "get_kv_output_21_quant_attr": [
167
+ 0.0002858389634639025,
168
+ 33457,
169
+ 0,
170
+ 65535,
171
+ "torch.int32"
172
+ ],
173
+ "get_kv_output_22_quant_attr": [
174
+ 0.0001531876332592219,
175
+ 35649,
176
+ 0,
177
+ 65535,
178
+ "torch.int32"
179
+ ],
180
+ "get_kv_output_23_quant_attr": [
181
+ 0.0005066198064014316,
182
+ 33836,
183
+ 0,
184
+ 65535,
185
+ "torch.int32"
186
+ ],
187
+ "get_kv_output_24_quant_attr": [
188
+ 0.00012952715042047203,
189
+ 35486,
190
+ 0,
191
+ 65535,
192
+ "torch.int32"
193
+ ],
194
+ "get_kv_output_25_quant_attr": [
195
+ 0.0003104919451288879,
196
+ 31998,
197
+ 0,
198
+ 65535,
199
+ "torch.int32"
200
+ ],
201
+ "get_kv_output_26_quant_attr": [
202
+ 0.00010727052722359076,
203
+ 28316,
204
+ 0,
205
+ 65535,
206
+ "torch.int32"
207
+ ],
208
+ "get_kv_output_27_quant_attr": [
209
+ 0.00033561201416887343,
210
+ 34965,
211
+ 0,
212
+ 65535,
213
+ "torch.int32"
214
+ ],
215
+ "get_kv_output_28_quant_attr": [
216
+ 0.00016533012967556715,
217
+ 28573,
218
+ 0,
219
+ 65535,
220
+ "torch.int32"
221
+ ],
222
+ "get_kv_output_29_quant_attr": [
223
+ 0.0003243841347284615,
224
+ 32269,
225
+ 0,
226
+ 65535,
227
+ "torch.int32"
228
+ ],
229
+ "get_kv_output_2_quant_attr": [
230
+ 9.455693361815065e-05,
231
+ 34333,
232
+ 0,
233
+ 65535,
234
+ "torch.int32"
235
+ ],
236
+ "get_kv_output_30_quant_attr": [
237
+ 0.00015277363127097487,
238
+ 29647,
239
+ 0,
240
+ 65535,
241
+ "torch.int32"
242
+ ],
243
+ "get_kv_output_31_quant_attr": [
244
+ 0.00031807637424208224,
245
+ 33863,
246
+ 0,
247
+ 65535,
248
+ "torch.int32"
249
+ ],
250
+ "get_kv_output_32_quant_attr": [
251
+ 0.00013909072731621563,
252
+ 34676,
253
+ 0,
254
+ 65535,
255
+ "torch.int32"
256
+ ],
257
+ "get_kv_output_33_quant_attr": [
258
+ 0.00027213257271796465,
259
+ 33227,
260
+ 0,
261
+ 65535,
262
+ "torch.int32"
263
+ ],
264
+ "get_kv_output_34_quant_attr": [
265
+ 0.0001762398605933413,
266
+ 34815,
267
+ 0,
268
+ 65535,
269
+ "torch.int32"
270
+ ],
271
+ "get_kv_output_35_quant_attr": [
272
+ 0.00037117855390533805,
273
+ 34998,
274
+ 0,
275
+ 65535,
276
+ "torch.int32"
277
+ ],
278
+ "get_kv_output_36_quant_attr": [
279
+ 0.00027227666578255594,
280
+ 28074,
281
+ 0,
282
+ 65535,
283
+ "torch.int32"
284
+ ],
285
+ "get_kv_output_37_quant_attr": [
286
+ 0.00045419292291626334,
287
+ 33582,
288
+ 0,
289
+ 65535,
290
+ "torch.int32"
291
+ ],
292
+ "get_kv_output_38_quant_attr": [
293
+ 0.0002045194269157946,
294
+ 34913,
295
+ 0,
296
+ 65535,
297
+ "torch.int32"
298
+ ],
299
+ "get_kv_output_39_quant_attr": [
300
+ 0.0003060080052819103,
301
+ 33463,
302
+ 0,
303
+ 65535,
304
+ "torch.int32"
305
+ ],
306
+ "get_kv_output_3_quant_attr": [
307
+ 0.00030539327417500317,
308
+ 32608,
309
+ 0,
310
+ 65535,
311
+ "torch.int32"
312
+ ],
313
+ "get_kv_output_40_quant_attr": [
314
+ 0.00022089778212830424,
315
+ 29561,
316
+ 0,
317
+ 65535,
318
+ "torch.int32"
319
+ ],
320
+ "get_kv_output_41_quant_attr": [
321
+ 0.00029903819086030126,
322
+ 33474,
323
+ 0,
324
+ 65535,
325
+ "torch.int32"
326
+ ],
327
+ "get_kv_output_42_quant_attr": [
328
+ 0.0001695959217613563,
329
+ 34948,
330
+ 0,
331
+ 65535,
332
+ "torch.int32"
333
+ ],
334
+ "get_kv_output_43_quant_attr": [
335
+ 0.00036811965401284397,
336
+ 32581,
337
+ 0,
338
+ 65535,
339
+ "torch.int32"
340
+ ],
341
+ "get_kv_output_44_quant_attr": [
342
+ 0.00020002422388643026,
343
+ 31396,
344
+ 0,
345
+ 65535,
346
+ "torch.int32"
347
+ ],
348
+ "get_kv_output_45_quant_attr": [
349
+ 0.0003247488639317453,
350
+ 31775,
351
+ 0,
352
+ 65535,
353
+ "torch.int32"
354
+ ],
355
+ "get_kv_output_46_quant_attr": [
356
+ 0.0003469733928795904,
357
+ 32098,
358
+ 0,
359
+ 65535,
360
+ "torch.int32"
361
+ ],
362
+ "get_kv_output_47_quant_attr": [
363
+ 0.00034109599073417485,
364
+ 33204,
365
+ 0,
366
+ 65535,
367
+ "torch.int32"
368
+ ],
369
+ "get_kv_output_48_quant_attr": [
370
+ 0.00040949569665826857,
371
+ 32632,
372
+ 0,
373
+ 65535,
374
+ "torch.int32"
375
+ ],
376
+ "get_kv_output_49_quant_attr": [
377
+ 0.0003326442965772003,
378
+ 34870,
379
+ 0,
380
+ 65535,
381
+ "torch.int32"
382
+ ],
383
+ "get_kv_output_4_quant_attr": [
384
+ 0.0001026399913826026,
385
+ 31874,
386
+ 0,
387
+ 65535,
388
+ "torch.int32"
389
+ ],
390
+ "get_kv_output_50_quant_attr": [
391
+ 0.00028462670161388814,
392
+ 27937,
393
+ 0,
394
+ 65535,
395
+ "torch.int32"
396
+ ],
397
+ "get_kv_output_51_quant_attr": [
398
+ 0.0002819089568220079,
399
+ 34220,
400
+ 0,
401
+ 65535,
402
+ "torch.int32"
403
+ ],
404
+ "get_kv_output_52_quant_attr": [
405
+ 0.0003380293201189488,
406
+ 33640,
407
+ 0,
408
+ 65535,
409
+ "torch.int32"
410
+ ],
411
+ "get_kv_output_53_quant_attr": [
412
+ 0.0002854775229934603,
413
+ 32441,
414
+ 0,
415
+ 65535,
416
+ "torch.int32"
417
+ ],
418
+ "get_kv_output_54_quant_attr": [
419
+ 0.000266329909209162,
420
+ 32551,
421
+ 0,
422
+ 65535,
423
+ "torch.int32"
424
+ ],
425
+ "get_kv_output_55_quant_attr": [
426
+ 0.00026868030545301735,
427
+ 32587,
428
+ 0,
429
+ 65535,
430
+ "torch.int32"
431
+ ],
432
+ "get_kv_output_56_quant_attr": [
433
+ 0.000399931421270594,
434
+ 30353,
435
+ 0,
436
+ 65535,
437
+ "torch.int32"
438
+ ],
439
+ "get_kv_output_57_quant_attr": [
440
+ 0.000237992440816015,
441
+ 34703,
442
+ 0,
443
+ 65535,
444
+ "torch.int32"
445
+ ],
446
+ "get_kv_output_58_quant_attr": [
447
+ 0.0004007575334981084,
448
+ 32312,
449
+ 0,
450
+ 65535,
451
+ "torch.int32"
452
+ ],
453
+ "get_kv_output_59_quant_attr": [
454
+ 0.0002558397827669978,
455
+ 31986,
456
+ 0,
457
+ 65535,
458
+ "torch.int32"
459
+ ],
460
+ "get_kv_output_5_quant_attr": [
461
+ 0.00031697796657681465,
462
+ 33672,
463
+ 0,
464
+ 65535,
465
+ "torch.int32"
466
+ ],
467
+ "get_kv_output_6_quant_attr": [
468
+ 0.0001312212843913585,
469
+ 29320,
470
+ 0,
471
+ 65535,
472
+ "torch.int32"
473
+ ],
474
+ "get_kv_output_7_quant_attr": [
475
+ 0.0003144720394629985,
476
+ 32406,
477
+ 0,
478
+ 65535,
479
+ "torch.int32"
480
+ ],
481
+ "get_kv_output_8_quant_attr": [
482
+ 0.00012001510913250968,
483
+ 37142,
484
+ 0,
485
+ 65535,
486
+ "torch.int32"
487
+ ],
488
+ "get_kv_output_9_quant_attr": [
489
+ 0.00027390732429921627,
490
+ 33054,
491
+ 0,
492
+ 65535,
493
+ "torch.int32"
494
+ ],
495
+ "get_logits_scale": 0.001260443706996739,
496
+ "get_logits_zero_point": 31885,
497
+ "get_max_batch_size": 1,
498
+ "get_max_context_len": 4096,
499
+ "get_max_seq_len": 4096,
500
+ "get_n_bos": 1,
501
+ "get_n_eos": 1,
502
+ "get_n_kv_heads": 3,
503
+ "get_n_layers": 30,
504
+ "get_use_kv_cache": true,
505
+ "get_vocab_size": 49152,
506
+ "methods": [
507
+ "get_ar_len",
508
+ "get_bos_id",
509
+ "get_dim",
510
+ "get_eos_id",
511
+ "get_head_dim",
512
+ "get_kv_io_bit_width",
513
+ "get_kv_output_0_quant_attr",
514
+ "get_kv_output_10_quant_attr",
515
+ "get_kv_output_11_quant_attr",
516
+ "get_kv_output_12_quant_attr",
517
+ "get_kv_output_13_quant_attr",
518
+ "get_kv_output_14_quant_attr",
519
+ "get_kv_output_15_quant_attr",
520
+ "get_kv_output_16_quant_attr",
521
+ "get_kv_output_17_quant_attr",
522
+ "get_kv_output_18_quant_attr",
523
+ "get_kv_output_19_quant_attr",
524
+ "get_kv_output_1_quant_attr",
525
+ "get_kv_output_20_quant_attr",
526
+ "get_kv_output_21_quant_attr",
527
+ "get_kv_output_22_quant_attr",
528
+ "get_kv_output_23_quant_attr",
529
+ "get_kv_output_24_quant_attr",
530
+ "get_kv_output_25_quant_attr",
531
+ "get_kv_output_26_quant_attr",
532
+ "get_kv_output_27_quant_attr",
533
+ "get_kv_output_28_quant_attr",
534
+ "get_kv_output_29_quant_attr",
535
+ "get_kv_output_2_quant_attr",
536
+ "get_kv_output_30_quant_attr",
537
+ "get_kv_output_31_quant_attr",
538
+ "get_kv_output_32_quant_attr",
539
+ "get_kv_output_33_quant_attr",
540
+ "get_kv_output_34_quant_attr",
541
+ "get_kv_output_35_quant_attr",
542
+ "get_kv_output_36_quant_attr",
543
+ "get_kv_output_37_quant_attr",
544
+ "get_kv_output_38_quant_attr",
545
+ "get_kv_output_39_quant_attr",
546
+ "get_kv_output_3_quant_attr",
547
+ "get_kv_output_40_quant_attr",
548
+ "get_kv_output_41_quant_attr",
549
+ "get_kv_output_42_quant_attr",
550
+ "get_kv_output_43_quant_attr",
551
+ "get_kv_output_44_quant_attr",
552
+ "get_kv_output_45_quant_attr",
553
+ "get_kv_output_46_quant_attr",
554
+ "get_kv_output_47_quant_attr",
555
+ "get_kv_output_48_quant_attr",
556
+ "get_kv_output_49_quant_attr",
557
+ "get_kv_output_4_quant_attr",
558
+ "get_kv_output_50_quant_attr",
559
+ "get_kv_output_51_quant_attr",
560
+ "get_kv_output_52_quant_attr",
561
+ "get_kv_output_53_quant_attr",
562
+ "get_kv_output_54_quant_attr",
563
+ "get_kv_output_55_quant_attr",
564
+ "get_kv_output_56_quant_attr",
565
+ "get_kv_output_57_quant_attr",
566
+ "get_kv_output_58_quant_attr",
567
+ "get_kv_output_59_quant_attr",
568
+ "get_kv_output_5_quant_attr",
569
+ "get_kv_output_6_quant_attr",
570
+ "get_kv_output_7_quant_attr",
571
+ "get_kv_output_8_quant_attr",
572
+ "get_kv_output_9_quant_attr",
573
+ "get_logits_scale",
574
+ "get_logits_zero_point",
575
+ "get_max_batch_size",
576
+ "get_max_context_len",
577
+ "get_max_seq_len",
578
+ "get_n_bos",
579
+ "get_n_eos",
580
+ "get_n_kv_heads",
581
+ "get_n_layers",
582
+ "get_use_kv_cache",
583
+ "get_vocab_size",
584
+ "kv_forward",
585
+ "prefill_forward"
586
+ ]
587
+ },
588
+ "smoke": {
589
+ "kind": "structural",
590
+ "passed": true,
591
+ "problems": [],
592
+ "methods": [
593
+ "get_ar_len",
594
+ "get_bos_id",
595
+ "get_dim",
596
+ "get_eos_id",
597
+ "get_head_dim",
598
+ "get_kv_io_bit_width",
599
+ "get_kv_output_0_quant_attr",
600
+ "get_kv_output_10_quant_attr",
601
+ "get_kv_output_11_quant_attr",
602
+ "get_kv_output_12_quant_attr",
603
+ "get_kv_output_13_quant_attr",
604
+ "get_kv_output_14_quant_attr",
605
+ "get_kv_output_15_quant_attr",
606
+ "get_kv_output_16_quant_attr",
607
+ "get_kv_output_17_quant_attr",
608
+ "get_kv_output_18_quant_attr",
609
+ "get_kv_output_19_quant_attr",
610
+ "get_kv_output_1_quant_attr",
611
+ "get_kv_output_20_quant_attr",
612
+ "get_kv_output_21_quant_attr",
613
+ "get_kv_output_22_quant_attr",
614
+ "get_kv_output_23_quant_attr",
615
+ "get_kv_output_24_quant_attr",
616
+ "get_kv_output_25_quant_attr",
617
+ "get_kv_output_26_quant_attr",
618
+ "get_kv_output_27_quant_attr",
619
+ "get_kv_output_28_quant_attr",
620
+ "get_kv_output_29_quant_attr",
621
+ "get_kv_output_2_quant_attr",
622
+ "get_kv_output_30_quant_attr",
623
+ "get_kv_output_31_quant_attr",
624
+ "get_kv_output_32_quant_attr",
625
+ "get_kv_output_33_quant_attr",
626
+ "get_kv_output_34_quant_attr",
627
+ "get_kv_output_35_quant_attr",
628
+ "get_kv_output_36_quant_attr",
629
+ "get_kv_output_37_quant_attr",
630
+ "get_kv_output_38_quant_attr",
631
+ "get_kv_output_39_quant_attr",
632
+ "get_kv_output_3_quant_attr",
633
+ "get_kv_output_40_quant_attr",
634
+ "get_kv_output_41_quant_attr",
635
+ "get_kv_output_42_quant_attr",
636
+ "get_kv_output_43_quant_attr",
637
+ "get_kv_output_44_quant_attr",
638
+ "get_kv_output_45_quant_attr",
639
+ "get_kv_output_46_quant_attr",
640
+ "get_kv_output_47_quant_attr",
641
+ "get_kv_output_48_quant_attr",
642
+ "get_kv_output_49_quant_attr",
643
+ "get_kv_output_4_quant_attr",
644
+ "get_kv_output_50_quant_attr",
645
+ "get_kv_output_51_quant_attr",
646
+ "get_kv_output_52_quant_attr",
647
+ "get_kv_output_53_quant_attr",
648
+ "get_kv_output_54_quant_attr",
649
+ "get_kv_output_55_quant_attr",
650
+ "get_kv_output_56_quant_attr",
651
+ "get_kv_output_57_quant_attr",
652
+ "get_kv_output_58_quant_attr",
653
+ "get_kv_output_59_quant_attr",
654
+ "get_kv_output_5_quant_attr",
655
+ "get_kv_output_6_quant_attr",
656
+ "get_kv_output_7_quant_attr",
657
+ "get_kv_output_8_quant_attr",
658
+ "get_kv_output_9_quant_attr",
659
+ "get_logits_scale",
660
+ "get_logits_zero_point",
661
+ "get_max_batch_size",
662
+ "get_max_context_len",
663
+ "get_max_seq_len",
664
+ "get_n_bos",
665
+ "get_n_eos",
666
+ "get_n_kv_heads",
667
+ "get_n_layers",
668
+ "get_use_kv_cache",
669
+ "get_vocab_size",
670
+ "kv_forward",
671
+ "prefill_forward"
672
+ ],
673
+ "delegates": {
674
+ "kv_forward": {
675
+ "backends": [
676
+ "QnnBackend"
677
+ ],
678
+ "delegate_calls": 1
679
+ },
680
+ "prefill_forward": {
681
+ "backends": [
682
+ "QnnBackend"
683
+ ],
684
+ "delegate_calls": 1
685
+ }
686
+ }
687
+ },
688
+ "run": {
689
+ "url": "https://github.com/ExperimentalMachines/execupack/actions/runs/37643682104",
690
+ "id": "37643682104"
691
+ }
692
+ }