Views
No views yet
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.llm-compressor model_free_ptq (data-free, RTN) -> compressed-tensorsThis is a quantized derivative. Weights, behavior, and license follow the base model — see the original card for full details, benchmarks, and citation.
mlp.experts.*.{gate,up,down}_proj (layers 1-39)mlp.shared_expert.{gate,up,down}_projmlp.{gate,up,down}_proj (layer 0)self_attn.{q,k,v,o}_proj (all layers)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).model_free_ptq, round-to-nearest); no calibration data. Weights are quantized by streaming the safetensors from disk.1from vllm import LLM, SamplingParams
2
3# Weight-only quantized (custom architecture -> requires trust_remote_code).
4# Load like the original model in any runtime that implements this arch.
5llm = LLM(
6 model="sahilchachra/Laguna-XS-2.1-NVFP4A16",
7 trust_remote_code=True,
8)
9out = llm.chat(
10 [{"role": "user", "content": "Hello!"}],
11 SamplingParams(temperature=0.6, top_p=0.95, max_tokens=512),
12)
13print(out[0].outputs[0].text)1vllm serve sahilchachra/Laguna-XS-2.1-NVFP4A16 \
2 --trust-remote-code \
3 --max-model-len 262144