Maxwell-V1.0-Flash — Heretic Abliterated · SmoothQuant + GPTQ · W8A8 INT8
Research artifact. Safety alignment has been deliberately removed. This model will attempt to comply with harmful, dangerous, illegal, and unethical requests that the base model refuses, with no content moderation. See Safety. Provided for research purposes only, with no warranty and no liability accepted by the author — see the disclaimer at the bottom.
An INT8 W8A8 quantization of Maxwell-V1-Flash-heretic (the abliterated BF16 build of maxwell-model/Maxwell-V1-Flash), for serving on Ampere-class (SM 8.0) GPUs where native FP8 is unavailable. At 37G it fits a single 64 GB card.
- Weights: INT8, per-channel symmetric (GPTQ).
- Activations: INT8, per-token dynamic →
compressed-tensorsint-quantized. - Quantized: every attention
q/k/v/oprojection, every routed-expert, shared-expert and dense-MLPw1/w2/w3. - Left in BF16:
lm_head,embed_tokens, the routergateandshared_expert_gate, the block-sparse attention indexer, the hyper-connectionmapping_proj, all norms, and the MTP drafter (bitwise identical to the BF16 build's). The routerexpert_biasstays FP32, bitwise identical to the source's. - Remote code, tokenizer, chat template, generation config,
LICENSE: byte-identical to the source.
Recipe
- SmoothQuant, folded exactly into the BF16 weights before quantization, with
a per-site migration strength α chosen offline: for each smoothing site,
candidates (identity, and absmax/median statistics × α ∈ {0.3, 0.5, 0.65, 0.8,
0.9}) were scored by the relative INT8 output error
‖q_tok(X/s)·q_ch(W·s)ᵀ − XWᵀ‖² / ‖XWᵀ‖²on captured activations, and the best kept. Sites:input_layernorm → q/k/v + indexer,post_attention_layernorm → router gate + expert/shared w1/w3,w3 → w2(per expert), andv_proj → o_proj(GQA-constrained). Activation statistics: 128 × 2,048-token windows (mixed web/code/multilingual text plus 12.5% chat-templated prompts). - GPTQ W8A8 with llm-compressor 0.13 (
sequentialpipeline, one decoder layer at a time), 128 × 2,048-token calibration windows disjoint from step 1. Every routed expert received calibration tokens (no round-to-nearest fallback was needed).
This model vs. its source
Source: Maxwell-V1-Flash-heretic (the abliterated BF16). This build changes numerics only; refusal behaviour is the source's (0/100 genuine refusals; see the source card's Safety section).
Quantization fidelity — KL divergence, measured with W8A8 numerics emulated in Transformers (INT8 weights × per-channel scales, per-token INT8 fake-quantized activations), WikiText-2 test, 64 × 512-token windows, all 32,768 positions, reference top-2048 + tail bucket (a lower bound on full-vocabulary KL):
| mean | median | p99 | top-1 agreement | |
|---|---|---|---|---|
quant-only: KL(abliterated BF16 ‖ this) |
0.101 | 0.028 | 1.09 | 87.8% |
end-to-end: KL(original source ‖ this) |
0.202 | 0.064 | 2.08 | 82.9% |
for reference: KL(original source ‖ abliterated BF16) |
0.171 | 0.053 | 1.75 | 84.2% |
| BF16 noise floor: abliterated BF16 vs itself, batched vs per-expert MoE kernels | 0.054 | 0.014 | 0.60 | 91.2% |
| SmoothQuant fold alone (BF16, before GPTQ) | 0.057 | 0.015 | 0.64 | 90.8% |
Read the noise floor first. The same BF16 weights run through two mathematically equivalent MoE code paths already differ by 0.054: Maxwell's top-12-of-256 sigmoid routing turns BF16 rounding differences into different expert selections, which compound across 45 layers. The SmoothQuant fold (0.057) sits at that floor, so it adds no measurable error; the reference for the quant-only row was computed on the batched path, so roughly half of its 0.101 is this floor rather than INT8 error.
First response token on 100 harmless prompts (harmless_alpaca test[:100], chat
template, thinking off, full vocabulary): quant-only 0.135 (median 0.031), end-to-end 0.362
(median 0.103), BF16 noise floor 0.053.
The source card's task benchmarks were not re-run here — single-GPU budget. Nothing in this build is claimed to preserve them; the KL figures above are the fidelity evidence actually measured.
Serving (vLLM)
Maxwell is not in stock vLLM. Use the vendor's image, which carries the
maxwell_moe model and compressed-tensors W8A8 support:
hf download akumaburn/Maxwell-V1-Flash-heretic-SmoothQuant-W8A8-INT8 \
--local-dir "$PWD/Maxwell-V1-Flash-heretic-W8A8"
docker run --rm --init --gpus all --shm-size 8g --network host \
-v "$PWD/Maxwell-V1-Flash-heretic-W8A8":/models/Maxwell-V1-Flash-heretic-W8A8:ro \
--entrypoint vllm maxwellmodel/vllm-openai:v0.30.0 \
serve /models/Maxwell-V1-Flash-heretic-W8A8 \
--trust-remote-code \
--block-size 128 \
--tensor-parallel-size 1 \
--reasoning-parser qwen3 \
--enable-auto-tool-choice \
--tool-call-parser qwen3_coder
Not yet served end-to-end here. The vendor image is the only runtime with Maxwell support, and the test machine could not pass GPUs into Docker, so this exact build has not been loaded in vLLM. What was verified: the
compressed-tensorsformat and ignore list match what the vendor's vLLM 0.30.1maxwell_moecode loads (INT8q/k/v/owith a BF16 indexer; fusedw1/w3/w2expert mapping); every tensor and file was checked against the source; and the KL figures above come from INT8 numerics emulated in Transformers. Please open a discussion if loading fails.
Sampling as recommended by the source card: temperature=0.6, top_p=0.95, top_k=20,
thinking enabled by default.
Safety
Refusal behaviour has been deliberately removed; this model produces content the source declines, including dangerous, illegal, or unethical material, with no moderation. Intended for interpretability/safety research, red-teaming, and evaluation by people who understand and accept those risks. Do not deploy it where it can reach people who have not consented to unfiltered output. You are responsible for your use and for compliance with all applicable laws.
Licence
Apache License 2.0, inherited from the source (LICENSE, shipped unchanged).
Modification notice (Apache-2.0 §4(b)): the weights were abliterated (see the
BF16 build's card), SmoothQuant-rescaled and quantized to INT8 as described above;
config.json gained the quantization_config block; every other file is the
source's.
Disclaimer
This model is provided for research purposes only, "AS IS", without warranty of any kind, express or implied. The author accepts no liability for any use of this model or any consequences arising from it. By downloading or using it, you accept sole responsibility for your use and for compliance with all applicable laws and regulations. Base model © the Maxwell Team (Apache-2.0), inherited by this derivative; abliteration © the Heretic project; quantization via llm-compressor / compressed-tensors.
- Downloads last month
- 103
Model tree for akumaburn/Maxwell-V1-Flash-heretic-SmoothQuant-W8A8-INT8
Base model
maxwell-model/Maxwell-V1-Flash