VKNN 1.2.3
Patch release on top of 1.2.1/1.2.2. Adds Llama 3.2 1B Instruct as an on-device Chat model.
Added
- Llama 3.2 1B Instruct (int4) as a selectable Chat model in the Android demo, served from katolikov/Llama-3.2-1B-vknn — 100% Vulkan (0 CPU fallback), GQA (16 layers, 8 KV heads), int4 weights. The app now carries a model-aware tokenizer/chat-template dialect (Qwen ChatML and Llama-3), so each model uses its own byte-level BPE pre-tokenizer, control tokens, and prompt template. Built with Llama.
Fixes
- GQA decoders load in the app. The chat JNI required a
position_idsinput and rejected any model without one ("not a qwen2 with-past decoder"). A GQA export (Llama-3.2) derives position from the mask internally and exposes noposition_ids; it now loads — mirroring the engine's own chat example (position_ids optional, with a token-by-token prefill fallback). Qwen (which hasposition_ids) is unchanged.
vknn-demo-1.2.3.apk is the updated Android demo.