CoolFace
Modelpublic

RapidMark/Qwen2.5-1.5B-E4M3-GGUF

sourceHugging Faceapache-2.0updated 3mo agoView on Hugging Face
0likes11downloads
Model Card

Qwen2.5-1.5B-Instruct E4M3 (fp8) GGUF

Qwen2.5-1.5B-Instruct quantized to E4M3 (OCP e4m3fn fp8) for llama.cpp. Test model for the CPU e4m3 quant type.

Block layout matches Q80: one fp16 scale + 32 one-byte elements per 32-value block. Q80 spends the byte on a linear int8; e4m3 spends it on a float (1 sign / 4 exponent / 3 mantissa).

How it was made

Built from the f16 GGUF with llama.cpp (branch cloudhands/fp8-cpu, HEAD 8a02ad204):

llama-quantize qwen2.5-1.5b-f16.gguf qwen2.5-1.5b-e4m3.gguf E4M3

Evaluation

Qwen2.5-1.5B-Instruct, wikitext-2-raw test (full, 584 chunks, n_ctx 512), pure CPU.

typesizePPLvs f16Mean KLDMedian KLDMax KLDsame-top-token
f162.88 GiB10.134-----
q8_01.53 GiB10.168+0.33%0.002000.001580.21397.33%
e4m31.48 GiB10.248+1.12%0.011460.009370.84693.64%

llama-bench, pure CPU, 64 threads:

typepp512 (t/s)tg128 (t/s)
f16528.319.2
q8_0499.333.1
e4m3253.234.6

Notes

Reference weights for testing, not tuned for downstream use.