Views
No views yet
.vxm (GPU, on-device).vxm format for on-device GPU
inference via the Vulkan backend.qwen2.5-coder-0.5b-instruct-c1024-prefill256-int4.vxm — the smallest (~517 MB) with the fast
prefill bucket; the VKNN app-demo ships it. The fp16 -prefill256 and single-bucket instruct-c1024
files trade size for full fp16 quality. The two decode-* files are raw base-completion models (no
ChatML), for text continuation rather than chat. The tokenizer files serve both the Python
front-end (tokenizer.json, via AutoTokenizer) and the app's byte-level BPE (vocab.json + merges.txt).| file | what |
|---|---|
qwen2.5-coder-0.5b-instruct-c1024-prefill256-int4.vxm | Instruct, int4 weights (-Os: calibration-free weight quantization + AWQ outlier columns), C = 1024 + a 256-token prefill bucket (~517 MB, 2.4x smaller than fp16), 100% Vulkan — fastest decode, whole-window prompt prefill |
qwen2.5-coder-0.5b-instruct-c1024-prefill256.vxm | Instruct, fp16, C = 1024 + a 256-token prefill bucket (~1.27 GB) — same two-bucket plan at full fp16 quality |
qwen2.5-coder-0.5b-instruct-c1024.vxm | Instruct, fp16, C = 1024, single bucket (~1.26 GB) — one plan serves prefill token-by-token and every decode step |
qwen2.5-coder-0.5b-decode-c1024.vxm | base completion model, C = 1024 — continues raw text; stop on <|endoftext|> (id 151643) |
qwen2.5-coder-0.5b-decode-c256.vxm | base completion model, C = 256 |
tokenizer.json / vocab.json / merges.txt / *_config.json | the Qwen byte-level BPE tokenizer |
<\|im_end\|> (id 151645).vknn_chat selects the buckets automatically (single-bucket files keep the
token-by-token path). Two-bucket files need a VKNN build with multi-bucket prompt prefill (2026-07 main or later).-Os --quant-samples 0 instead of --fp16):vknn_compile out.vxm --fp16 \
--graph "model.onnx;dim:sequence_length=256;dim:past_sequence_length=1024;dim:total_sequence_length=1280" \
--graph "model.onnx;dim:sequence_length=1;dim:past_sequence_length=1024;dim:total_sequence_length=1025"vknn_compile model.onnx qwen2.5-coder-0.5b-instruct-c1024.vxm --fp16 -O1 \
--dim sequence_length=1 --dim past_sequence_length=1024app-demo on-device chat app ships the instruct model wrapped in ChatML.