Downloads · 30 days
3
9% of all-time downloads
piffie/Llama-3.2-3B-Instruct-Genie-Snapdragon-X2-Elite-v81
Llama-3.2-3B-Instruct-Genie-Snapdragon-X2-Elite-v81 is a machine learning model from piffie. Use it for the machine learning task on the model card, and read the license before you ship it in a product. The card lists the license as llama3.2.
Built with Llama. This repo contains Meta's Llama-3.2-3B-Instruct compiled to Qualcomm Genie / QNN context binaries that run on the Hexagon NPU of the Snapdragon X2 Elite (socmodel 88, dsparch v81).
Downloads · 30 days
3
9% of all-time downloads
All-time downloads
35
Public
Repo size
2.7 GB
Likes
0
Public
Click a slice to open those files.
.bin2.6 GB · 99%
From the Hugging Face model README
Built with Llama. This repo contains Meta's Llama-3.2-3B-Instruct compiled to
Qualcomm Genie / QNN context binaries that run on the Hexagon NPU of the
Snapdragon X2 Elite (soc_model 88, dsp_arch v81).
Qualcomm AI Hub and AnythingLLM currently ship LLM bundles compiled for the gen‑1 Snapdragon X Elite (Hexagon V73 / sc8380). Those do not run on the new X2 Elite (V81) — the serialized QNN context binaries are architecture‑specific (loading a V73 bundle on a V81 NPU hangs). At publish time there were no public V81 bundles, so this fills the gap for X2 owners.
| Base model | meta-llama/Llama-3.2-3B-Instruct |
| Runtime | Qualcomm Genie (LLM) |
| Quantization | w4a16 (4‑bit weights, 16‑bit activations) |
| Target | Snapdragon X2 Elite, Hexagon V81 (soc_model 88) |
| Context length | 4096 |
| Compiled with (QAIRT) | 2.45.0 |
| Files | part{1,2,3}_of_3.bin (~2.6 GB) + genie_config.json, htp_backend_ext_config.json, tokenizer.json |
Compiled via qai-hub-models on
Qualcomm AI Hub, targeting Snapdragon X2 Elite CRD, from the official base
weights (no fine‑tuning — this is the stock model, just quantized + compiled for V81).
from qai_appbuilder import GenieContext, QNNConfig
QNNConfig.Config("<path to qai_appbuilder/libs>", "Htp", 2, 0)
ctx = GenieContext("genie_config.json") # run from the bundle directory
ctx.Query("<|begin_of_text|>...<|start_header_id|>assistant<|end_header_id|>\n\n",
lambda tok, *_: print(tok.decode(errors="ignore"), end=""))
QNN/Genie is version‑coupled. To load these binaries you need a QAIRT runtime
compatible with 2.45.x (e.g. a matching qai-appbuilder) and a current Hexagon
NPU driver. A mismatch between the bundle's QAIRT version, the qai-appbuilder
runtime, and the NPU driver can cause the load to hang rather than error. If it
hangs, update the Hexagon NPU driver (Qualcomm Software Center) and align the
runtime to QAIRT 2.45.x.
Governed by the Llama 3.2 Community License (see LICENSE/Meta's terms). Built
with Llama; you must comply with Meta's Acceptable Use Policy.