What is quantized
Quantized to 4-bit:
- routed experts
mlp.experts.*.{gate,up,down}_proj (all layers)
- shared expert
{gate,up,down}_proj
- full-attention
self_attn.{q,k,v,o}_proj
Kept in BF16: GatedDeltaNet linear_attn (mamba) layers, MoE router mlp.gate + shared_expert_gate, vision tower (model.visual.*, 27 blocks), token embeddings, lm_head, all norms.
Calibration
Data-free — weight-only (model_free_ptq, round-to-nearest); no calibration data. Weights are quantized by streaming the safetensors from disk.
Usage (vLLM)
from vllm import LLM, SamplingParams
llm = LLM(
model="sahilchachra/Agents-A1-NVFP4A16",
trust_remote_code=True,
)
out = llm.chat(
[{"role": "user", "content": "Hello!"}],
SamplingParams(temperature=0.6, top_p=0.95, max_tokens=512),
)
print(out[0].outputs[0].text)
Serving via the CLI, pass the flag directly:
vllm serve sahilchachra/Agents-A1-NVFP4A16 \
--trust-remote-code \
--max-model-len 262144 --reasoning-parser qwen3