SmoothQuant microsoft/Phi-3.5-mini-instruct

Quantized derivative of microsoft/Phi-3.5-mini-instruct, made with QuantPort. Not Hub fp16. Weights are the packed/runtime artifact from job 20261102T212454Z-0531e9.

WikiText-2 (test, 2048-token windows, 65504 tokens)

Measured on NVIDIA GeForce RTX 3090 (vast-rtx3090) against the original fp16 snapshot. Numbers copied from jobs/20261102T212454Z-0531e9/benchmark.json.

Quantized fp16 snapshot
Perplexity 6.822674 6.625631
NLL loss 1.920252 1.890946
Tokens/s (2048 prefill, after warmup) 12268.5 4218.8
Peak VRAM (GB) 5.908 9.681
  • ppl_ratio: 1.029740 (quality_ok=True)
  • improved_throughput: True
  • improved_vram: True

Pull

from huggingface_hub import snapshot_download
path = snapshot_download("chris320211/smoothquant-phi35-mini-vastrtx3090")

This is not a drop-in AutoModelForCausalLM.from_pretrained checkpoint. Reload with the included quant_agent_inference_adapter.py after the method repo (and overlay, if any) is on QUANT_AGENT_METHOD_REPO. See quantization_config.json.

Serve with vLLM

A native vLLM build of these weights: chris320211/smoothquant-phi35-mini-vastrtx3090-vllm.

vllm serve chris320211/smoothquant-phi35-mini-vastrtx3090-vllm

vLLM PPL ratio 1.0290 against vLLM fp16; prefill 2.05ร—, decode 1.62ร— (batch 1), 1.49ร— (batch 16). Measured on NVIDIA GeForce RTX 3090 with vLLM 0.30.0.

License

Inherits the license of microsoft/Phi-3.5-mini-instruct (mit), plus the method repository license. Keep LICENSE / NOTICE.md from the snapshot when present.

Downloads last month
361
Safetensors
Model size
4B params
Tensor type
F16
ยท
I8
ยท
Inference Providers NEW
This model isn't deployed by any Inference Provider. ๐Ÿ™‹ Ask for provider support

Model tree for chris320211/smoothquant-phi35-mini-vastrtx3090

Quantized
(204)
this model

Collection including chris320211/smoothquant-phi35-mini-vastrtx3090