Repository navigation
blazr 0.3.0
Added
tests/arch_reference.rs— greedy decode of real checkpoints againsttransformerson CPU in F32. It covers Llama, Qwen2, Gemma 2, GPT-NeoX, Falcon, Mixtral, Qwen2-MoE, DBRX and Cohere. Each test reads its ownBLAZR_TEST_*_MODELvariable and skips when unset.
Changed
- Dependencies — boostr 0.8, splintr 0.22, and voxr and voxr-narrate 0.6.
blazr::boostrre-exports boostr 0.8.
Fixed
- Checkpoint tokenizer — a SafeTensors checkpoint now runs with its own
tokenizer.json. Qwen2, Phi-3, Gemma and StarCoder2 failed to load before: their padded embedding size matched no bundled vocabulary. Atokenizer.jsonthat does not load is an error. The bundled vocabulary serves only a checkpoint without one. - Non-Llama tensor layouts — the SafeTensors loaders call boostr's
restructure_hf_checkpoint. GPT-NeoX, Falcon, DBRX, Phi-3, StarCoder2, Mixtral and Qwen2-MoE checkpoints failed with a missing tensor before. - Architecture detection — tensor-name detection runs only when
config.jsondescribes no model. A Falcon or DBRX checkpoint failed withNo layers detected in checkpointbefore. - Paged attention —
Executor::newrefuses paged attention for an ALiBi or softcapped model. The paged kernel applied neither, and the output was wrong. SafeTensorsBytes—tokenizer_jsonis now the tokenizer, not only its BOS rule.
Documentation
- Android —
examples/capi/README.mdgives the x86_64 emulator build, link and run steps, including-Wl,-z,max-page-size=16384for 16 KB pages. The emulator run passes on CPU and on wgpu through the host GPU. No aarch64 hardware or physical device has run blazr.
Archives
| Archive | Platform |
|---|---|
blazr-linux-x64.tar.gz |
Linux x86_64, CPU |
blazr-linux-x64-gpu.tar.gz |
Linux x86_64, CPU and Vulkan |
blazr-linux-arm64.tar.gz |
Linux aarch64, CPU |
blazr-macos-arm64.tar.gz |
macOS on Apple silicon, Metal |
blazr-windows-x64.zip |
Windows x86_64, CPU |
blazr-windows-x64-gpu.zip |
Windows x86_64, CPU and DX12 |
blazr-android-arm64.tar.gz |
Android arm64, static library |
blazr-ios-arm64.tar.gz |
iOS arm64, static library |
Full diff: v0.2.0...v0.3.0