Repository navigation
blazr 0.2.0
Added
wgpufeature — the WebGPU runtime over Metal, Vulkan, DX12 and
WebGPU. Select it withdevice: wgpuordevice: wgpu:N.--version
lists it. Withcudaalso on, CUDA wins.devicekey — takeswgpuandwgpu:Nbesidecpu,cudaand
cuda:N.cli,serverandhubfeatures —cliholds the command-line
front end.serverholds the HTTP front end.hubholds the Hugging
Face client that both enable.- Engine library —
--no-default-featuresbuilds the engine alone,
without the CLI and the HTTP stack. - C API — the
capifeature buildslibblazr.aandlibblazr.so
with the C ABI ininclude/blazr.h.examples/capi/shows the link
steps. No Kotlin or Swift bindings exist. - Engine entry point —
engine::load_executor_from_bytesloads a GGUF
file, or a SafeTensors file plus its JSON, from memory. - Compute dtype — the
--dtype f32|bf16|f16flag ofrun,generate,
chat,benchandservesets the compute dtype. So does the
inference.dtypeuser file key. The flag wins over the key. Without
either, each model'storch_dtypeapplies, elsef32. - SafeTensors BOS — a SafeTensors checkpoint prepends BOS by the rule
in its own files:tokenizer_config.jsonadd_bos_token, then the
Llama-familytokenizer_classdefault, then thetokenizer.json
post-processor. - Token text streaming — each request decodes its generated tokens
through one streaming decoder primed with the prompt. A SentencePiece
token keeps its leading space, and a character split over several ids
streams whole. - Release archives —
release.ymlbuildslinux-x64,linux-x64-gpu,
linux-arm64,macos-arm64,windows-x64,windows-x64-gpu,
android-arm64andios-arm64archives, withSHA256SUMS. The-gpu
archives addwgpu. The macOS archive runswgpuon Metal. No archive
includes CUDA. - Target builds —
aarch64-linux-androidcompiles withcapi.
wasm32-unknown-unknowncompiles withwgpu. No model has run on a
device or in a browser.
Changed
- Dependencies — boostr 0.7, numr 0.12, splintr 0.21.1, and voxr and voxr-narrate 0.5.
- Default features — the default set is
f16,cliandserver. The
blazrbinary requirescliandserver.info,list,pull,
run,chat,benchandconvertneedcli.serveandpsneed
server. - Server dependencies — axum, tower-http, TLS, reqwest, the Prometheus
exporter and tokio'sfullfeature set sit behindserver. Without it,
tokio usessync,timeandrt. - Metrics — the engine records through the
metricsfacade. The
Prometheus exporter moves behindserver. Metrics, SLO checks and the
test recorder move into thetelemetrymodule. - GGUF loader — GGUF files load through mmap on every target except
wasm32. For Llama 3.2 1B Q4_K_M on x86_64 Linux, peak RSS fell from
2,977,316 kB to 1,929,888 kB. - Pooling — the embedding pooling helpers move from
serverto
engine::pooling. - Browser builds — on
wasm32-unknown-unknown,getrandomuses the
wasm_jsbackend anduuiduses thejsfeature. - Dependencies —
dotenvyis removed.
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.1.3...v0.2.0