Maxwell-V1-Flash W4A16 (AutoRound)

4-bit weight / 16-bit activation (W4A16) quantization of maxwell-model/Maxwell-V1-Flash (35B total / 3B active parameters, MoE with block-sparse attention), produced with Intel AutoRound v0.16.1.

  • Quantized layers: 32,571 / 33,574. Kept at higher precision: lm_head, the block-sparse attention indexers, routing gates, and MTP draft layers.
  • Weight footprint: 20.24 GiB loaded (5 safetensors shards).
  • License: Apache 2.0 (inherited from the base model).

Results

Check Result
Canary suite (7 functional prompts) 7/7 passed
Weight VRAM (loaded) 20.24 GiB
WikiText-2 PPL vs BF16 baseline pending
Fleet benchmark (30 tasks, gate 0.9) pending
vLLM serve check pending (see serving notes)

Scores marked pending have not been measured at publication time; this section will be updated as runs complete.

Usage (vLLM)

Maxwell requires the Maxwell team's vLLM fork. As of 2026-11-17 it is distributed only as a container:

docker run --rm --init \
  --name vllm-maxwell \
  --gpus all \
  --shm-size 8g \
  --network host \
  -v "$PWD":/models/Maxwell-V1-Flash-W4A16:ro \
  --entrypoint vllm \
  maxwellmodel/vllm-openai:v0.30.0 \
  serve /models/Maxwell-V1-Flash-W4A16 \
  --trust-remote-code \
  --block-size 128 \
  --served-model-name Maxwell-V1.0-Flash \
  --port 8000 \
  --tensor-parallel-size 1

The repo ships modeling_maxwell_moe.py and configuration_maxwell_moe.py (remote code, same as the base model); trust_remote_code is required.

Serving notes (known issues found during testing)

  1. Loader patch needed for AutoRound exports. maxwellmodel/vllm-openai:v0.30.0 has a bug loading AutoRound-packed checkpoints: when q/k/v are packed as separate tensors, its fused-qkv loader applies row-unit shard offsets to packed qzeros tensors (which store 8 values per int), causing IndexError at the first non-zero shard. Fix: in vllm/models/maxwell_v1_flash/common/linear.py, MaxwellV1FlashQKVParallelLinear.weight_loader, scale shard_offset and shard_size by the pack factor when param.data.shape[output_dim] * 8 == sum(self.output_sizes).
  2. GPU support. The container's sparse-attention prefill path documents SM90/SM100/SM103 for its fast kernels (Hopper/Blackwell). On consumer Ampere (RTX 3090, SM86) we hit CUDA error: no kernel image is available during the profiling run; this build has not been verified end-to-end on SM86. VLLM_ENABLE_CUDA_COMPATIBILITY=1 does not help (it targets driver version, not GPU architecture).

Quantization recipe

  • Tool: AutoRound 0.16.1 (autoround), W4A16, symmetric (sym: true), group size 128, 100 tuning iterations, packing auto_round:auto_gptq (full recipe embedded in config.json → quantization_config).
  • Calibration: quant-lab standard corpus; unquantized: lm_head, indexers, gates, MTP layers.
  • Peak VRAM during quantization: 17.86 GiB (fits a 24 GB RTX 3090).

Acknowledgements

Base model by the Maxwell team (maxwell-model, Apache 2.0). Quantization with Intel AutoRound.

Downloads last month
182
Safetensors
Model size
6B params
Tensor type
F32
·
I32
·
BF16
·
F16
·
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Model tree for stuchapin/Maxwell-V1-Flash-W4A16-AutoRound

Quantized
(9)
this model

Collection including stuchapin/Maxwell-V1-Flash-W4A16-AutoRound