Laguna-XS-2.1-NVFP4A16

NVFP4A16 quantization of poolside/Laguna-XS-2.1 — a ~33B-parameter text Mixture-of-Experts causal LM (LagunaForCausalLM, custom code) from poolside: 40 layers (dense MLP at layer 0, sparse MoE with 256 routed experts + a shared expert, 8 experts/token, in layers 1-39), alternating full/sliding attention with a per-head output gate, YaRN RoPE, and a 262K context.

Variant: NVFP4 A16 — 4-bit NVFP4 (FP4 E2M1, group size 16) weights, activations BF16. Native on NVIDIA Blackwell. Quantized by: sahilchachra Tooling: llm-compressor model_free_ptq (data-free, RTN) -> compressed-tensors

This is a quantized derivative. Weights, behavior, and license follow the base model — see the original card for full details, benchmarks, and citation.

What is quantized

Quantized to 4-bit:

  • routed experts mlp.experts.*.{gate,up,down}_proj (layers 1-39)
  • shared expert mlp.shared_expert.{gate,up,down}_proj
  • dense MLP mlp.{gate,up,down}_proj (layer 0)
  • attention self_attn.{q,k,v,o}_proj (all layers)

Kept in BF16: MoE router mlp.gate, attention output gate self_attn.g_proj, router e_score_correction_bias, token embeddings, lm_head, all norms (incl. q_norm / k_norm).

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

# Weight-only quantized (custom architecture -> requires trust_remote_code).
# Load like the original model in any runtime that implements this arch.
llm = LLM(
    model="sahilchachra/Laguna-XS-2.1-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/Laguna-XS-2.1-NVFP4A16 \
    --trust-remote-code \
    --max-model-len 262144
Downloads last month
353
Safetensors
Model size
19B params
Tensor type
F32
·
BF16
·
F8_E4M3
·
U8
·
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Model tree for sahilchachra/Laguna-XS-2.1-NVFP4A16

Quantized
(14)
this model