The gpt-oss-20b experts are MXFP4, so the CPU runtime needs this dot product. Blocks use ggml's byte layout, so GGUF tensors can be read in place. Per-block integer sums are exact at every level; the float combination is checked against an f64 reference built from the vendored ggml dequantizers (test-only ggml-oracle feature) within a tolerance written before the run. Scale conversion is compared exactly with ggml for every E8M0 code and every finite half. AVX2 level now means AVX2 + FMA + F16C. ABI version 2. Adds a kernel-level throughput example (bench_mxfp4); it is not an inference benchmark and no end-to-end speed claim is made. Records the ggml upstream use in docs/upstream-ggml.md. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
18 lines
488 B
TOML
18 lines
488 B
TOML
[package]
|
|
name = "leleka-cpu-kernels"
|
|
version = "0.1.0"
|
|
description = "Safe run-time ISA dispatch over the Leleka CPU runtime's kernels"
|
|
edition.workspace = true
|
|
license.workspace = true
|
|
rust-version.workspace = true
|
|
|
|
[dependencies]
|
|
leleka-cpu-sys = { path = "../cpu-sys" }
|
|
|
|
[dev-dependencies]
|
|
# Tests compare against the pinned ggml reference quantizers (MIT, vendored in the control plane).
|
|
leleka-cpu-sys = { path = "../cpu-sys", features = ["ggml-oracle"] }
|
|
|
|
[lints]
|
|
workspace = true
|