Downloads · 30 days
27
1% of all-time downloads
rdtand/Mistral-Medium-3.5-128B-PrismaQuant-4.75-vllm
Mistral-Medium-3.5-128B-PrismaQuant-4.75-vllm is a text generation model from rdtand. Use it when you need the model to write or continue text. It is set up for vllm. The card lists the license as other.
This is a PrismaQuant 4.75-bit mixed-native quantization of mistralai/Mistral-Medium-3.5-128B, exported for vLLM using the compressed-tensors format.
Downloads · 30 days
27
1% of all-time downloads
All-time downloads
3.5K
Public
Parameters
71.1B
84.1 GB on disk
Likes
3
Public
Click a slice to open those files.
.safetensors84.1 GB · 100%
How the weights are stored.
U856.6B · 80%
From the Hugging Face model README
This is a PrismaQuant 4.75-bit mixed-native quantization of
mistralai/Mistral-Medium-3.5-128B, exported for vLLM using the
compressed-tensors format.
This artifact is intended for vLLM/FlashInfer serving. It is not a vanilla Transformers checkpoint.
PrismaQuant is a Fisher-weighted, mixed-precision quantization toolkit. Rather
than forcing the whole model into one dtype, it predicts the loss penalty of
quantizing each Linear independently — Δloss ≈ 0.5 · H_trace · MSE_W,
where H_trace is the Linear's Fisher diagonal trace from a calibration probe
and MSE_W is the format-specific weight reconstruction error. A small ILP
then picks per-Linear formats from a menu of {NVFP4, MXFP8_E4M3, FP8_SOURCE, BF16} to minimize total predicted Δloss under a target bits-per-weight budget.
Because the cost model is principled and additive across Linears, it lets the toolkit stack several layers of optimization without each one stepping on the others. The shipped checkpoint was produced with the full stack below.
NVFP4 / MXFP8 / FP8_SOURCE / BF16 per
Linear under the global bpp budget.weight_global_scale, matching vLLM's per-tensor expectation.max_abs / 6.0), so vLLM's runtime activation quantization uses a
correctly-sized dynamic range.For each NVFP4-assigned Linear, in order, each gated to "improve or keep":
(per-group scale, rounding) search on
the NVFP4 codebook (a closed-form analog of AutoRound's SGD-based search).weight_scale_inv are copied verbatim; the BF16 view of
these tensors is a lossless dequant, so the allocator treats this format
as Δloss = 0 for any Linear that ships in the source at FP8.The output is compressed-tensors format, runnable in stock vLLM. No custom
kernels needed. Mixed-precision per Linear is preserved at load — NVFP4
Linears use FP4 kernels, MXFP8 Linears use FP8 kernels, FP8_SOURCE Linears
use the source's native FP8 weights with their original block scales.
Project repository: https://github.com/RobTand/prismaquant
mistralai/Mistral-Medium-3.5-128Bcompressed-tensorslinear/NVFP4: 478 moduleslinear/FP8_SOURCE_STATIC: 89 modulesThe model mixes NVFP4 and static FP8 source-preserving layers. It should not be treated as a uniform FP4 checkpoint.
Smoke tested with:
0.20.1rc1.dev55+g3f1a4bb63.d20260429--quantization compressed-tensors--language-model-onlymistralai/Mistral-Medium-3.5-128B-EAGLESmoke checks passed:
/v1/models/v1/completions/v1/chat/completionsNo formal benchmark, perplexity, or safety evaluation is included with this upload. Treat this as an experimental serving artifact.
This is the tested launch shape. Replace paths as needed for your environment. The image must contain vLLM support for compressed-tensors mixed FP8/NVFP4 serving.
docker run -d \
--name vllm-mistral-medium-35-prismaquant-475-vllm \
--gpus all \
--ipc=host \
--shm-size=16g \
--security-opt label=disable \
-p 8000:8000 \
-e HF_HOME=/hfcache \
-e HF_HUB_CACHE=/hfcache/hub \
-e HF_MODULES_CACHE=/work/hf_modules \
-e TRANSFORMERS_CACHE=/work/tf_cache \
-v /home/rob/.cache/huggingface:/hfcache \
-v /models:/models:ro \
vllm-eugr-v020:latest \
vllm serve rdtand/Mistral-Medium-3.5-128B-PrismaQuant-4.75-vllm \
--host 0.0.0.0 \
--port 8000 \
--served-model-name mistral-medium-3.5-prismaquant-4.75 \
--config-format hf \
--tokenizer mistralai/Mistral-Medium-3.5-128B \
--tokenizer-mode mistral \
--trust-remote-code \
--quantization compressed-tensors \
--dtype bfloat16 \
--tensor-parallel-size 1 \
--max-model-len 8192 \
--gpu-memory-utilization 0.90 \
--kv-cache-dtype fp8 \
--language-model-only \
--enable-auto-tool-choice \
--tool-call-parser mistral
The local smoke test used Mistral's EAGLE draft model:
mistralai/Mistral-Medium-3.5-128B-EAGLE.
At the time of testing, that EAGLE repository needed a Hugging Face
config.json sidecar for this vLLM path. If you have a local EAGLE checkout
with that config present, add:
--speculative-config '{"model":"/models/Mistral-Medium-3.5-128B-EAGLE","method":"eagle","num_speculative_tokens":3,"draft_tensor_parallel_size":1,"quantization":"fp8"}'
In a tiny smoke probe, vLLM reported average draft acceptance around 40%. That number is not a benchmark.
Tool calling is not broken in the weights, but vLLM needs the Mistral tool-call
parser enabled. Without these flags, the model can emit raw Mistral tool markup
such as [TOOL_CALLS]... in message.content while tool_calls remains empty:
--enable-auto-tool-choice \
--tool-call-parser mistral
The startup command above includes these flags.
This checkpoint is a derivative of mistralai/Mistral-Medium-3.5-128B and is
provided under the same Modified MIT license terms. See the included LICENSE
file and the original model repository for details.