Views
No views yet
_is_nvfp4_format requires num_bits == 4, _is_mxfp8 requires
group_size == 32. This checkpoint's signature — 8-bit, tensor_group,
group_size=16 — matches nothing, and loading raises NotImplementedError.nvfp8/ package in this repo supplies the Triton kernel and the dispatch
hook that make it loadable.1hf download trailio/Huihui-Qwen3.8-27B-abliterated-NVFP8 --local-dir ./qwen-nvfp8
2cd qwen-nvfp8
3pip install -e . # registers a vllm.general_plugins entry point1from vllm import LLM
2llm = LLM("./qwen-nvfp8", trust_remote_code=True, max_model_len=8192)
3print(llm.generate(["The capital of France is"])[0].outputs[0].text)pip install -e . has to run from that downloaded directory — it is what
registers the entry point. Passing the repo id straight to LLM(...) without
installing gets you the NotImplementedError described above, because the
weights land in the HF cache and the plugin is never installed.spawn
start method once CUDA is initialized, so calling register() by hand in the
parent process never reaches EngineCore. Installation is what makes
registration happen in every engine and worker process.weight [N, K] float8_e4m3fn
weight_scale [N, K/16] float8_e4m3fn one per 16 input elements
weight_global_scale per-shard float32gate_proj+up_proj into gate_up_proj and q/k/v_proj into qkv_proj.
Those tensors were quantized independently and carry different global scales,
so the value is expanded per-output-row at load time. Collapsing it to a single
scalar mis-scales one shard by the ratio between them.| why | |
|---|---|
visual.* | 27-block ViT + merger — abliteration left vision untouched |
mtp.* | multi-token-prediction head; accept rates are sensitive to its logits |
lm_head, embed_tokens | 1.27B params each; vocab projections are where 8-bit bites |
linear_attn.in_proj_a/b | [48, 5120] DeltaNet decay/gate — 245K params each, and error compounds through the SSM recurrence instead of averaging out |
A_log, dt_bias, conv1d | SSM state; config pins mamba_ssm_dtype=float32 |
| scheme | rel. error |
|---|---|
| NVFP8 (block-16) | 0.0252 |
| FP8 per-channel | 0.0265 |
| FP8 per-tensor | 0.0265 |
FlashInfer requires GPUs with sm75 or higher. Set
VLLM_USE_FLASHINFER_SAMPLER=0 or use a CUDA ≥ 12.9 image. Unrelated to
quantization — it affects the sampler, not the model.