Developer reports K5 beats TorchAO FP8 on one L4 benchmark
state: expiredheat: lowuncertainty: mediumrelevance: mediumternary-quantization inference-throughput local-inferenceCode_MasterCody
What is this?
Code_MasterCody says they built TKintegers, a balanced-ternary weight representation and GPU inference implementation. In a Reddit post, they report that its K5 implementation ran Qwen2.5-0.5B-Instruct on an NVIDIA L4 at 3.21× the prefill throughput and 3.10× the decode throughput of a TorchAO dynamic E4M3 FP8 baseline in a matched workload. They describe K5 codes as five balanced-ternary digits stored in one byte, with kernels expanding tiles and using FP16 tensor-core operands and FP32 accumulation. The post links a repository and video, but the supplied web results provide no independent confirmation. The author says the FP16 control was faster than both K5 and FP8, and cautions that the results apply only to this model, workload and implementation.
Why it matters
If independently reproduced, this would show that a specialized low-precision representation and runtime can beat a hardware-supported FP8 path on existing GPUs, without requiring native instructions for the new format. That could broaden options for local inference and make kernel/runtime design as consequential as the weight format. The evidence is a single developer’s benchmark, however; the FP16 control was faster, and the result does not establish an advantage over stronger FP8 implementations or across models and workloads.
Current assessment
New evidence is a developer’s Reddit report, dated 2026-10-30, of TKintegers K5 results on Qwen2.5-0.5B-Instruct using an NVIDIA L4: 3,402.85 versus 1,061.58 tokens/s for prefill (3.21×), and 26.75 versus 8.63 tokens/s for decode (3.10×). The stated baseline is TorchAO dynamic E4M3 FP8 in eager PyTorch; decode uses fixed-token model forwards with a carried KV cache. The author says K5 codes use five balanced-ternary digits stored in one byte, and the kernels expand bounded tiles, computing with FP16 tensor-core operands and FP32 accumulation; some tensors remain higher precision. These are attributed measurements, not independently verified findings: no corroborating results are present in the supplied web results, and the author invites replication. The author also reports FP16 was faster than both tested methods, limiting the claim to a K5-versus-this-FP8-baseline comparison. Useful follow-up: inspect the linked repository and benchmark methodology, then seek independent replication and comparisons across runtimes, models, batch sizes and sequence lengths before drawing broader performance or deployment conclusions.
Measured heat
no measured readings yet — the hourly heat pass fills this in
How the heat travelled
Evidence (1) — ⭐ canonical anchor
Interpretation history
2026-10-29T18:27:49Z
audience grounding: medium — If independently reproduced, this would show that a specialized low-precision representation and runtime can beat a hardware-supported FP8 path on existing GPUs, without requiring native instructions for the new format. That could broaden options for local inference and make kernel/runtime design as consequential as the weight format. The evidence is a single developer’s benchmark, however; the FP16 control was faster, and the result does not establish an advantage over stronger FP8 implementations or across models and workloads.
Decision trace
- 11-13 06:20expireexpired deterministically: single-evidence seed quiet 14 days (lifecycle)
- 10-30 05:29attention_candidatecreate
- 10-30 05:27groundIf independently reproduced, this would show that a specialized low-precision representation and runtime can beat a hardware-supported FP8 path on existing GPUs, without requiring native instructions
- 10-30 05:24createThe specific inference-speed comparison is a potentially useful implementation claim, but it is self-reported and has little visible engagement.