useful-quants/Phi-4-mini-instruct-W4A16
021
Phi-4-mini-instruct W4A16
Ampere-friendly serving build of `microsoft/Phi-4-mini-instruct`. Text-side linears are compressed-tensors W4A16.
Stock proof
docker run --rm -it \
--gpus all \
--ipc=host \
-p 8001:8000 \
-v ~/.cache/huggingface:/root/.cache/huggingface \
vllm/vllm-openai:latest \
microsoft/Phi-4-mini-instruct \
--served-model-name Phi-4-mini-instruct-stock \
--dtype bfloat16 \
--max-model-len 4096 \
--gpu-memory-utilization 0.7Serve the packaged artifact
docker run --rm -it \
--gpus all \
--ipc=host \
-p 8002:8000 \
-v /path/to/Phi-4-mini-instruct-W4A16:/model \
-v ~/.cache/huggingface:/root/.cache/huggingface \
vllm/vllm-openai:latest \
/model \
--served-model-name Phi-4-mini-instruct-W4A16 \
--dtype bfloat16 \
--quantization compressed-tensors \
--max-model-len 4096 \
--gpu-memory-utilization 0.7Smoke test
python verify.py --url http://localhost:8002/v1/completionsNotes
- Best fit: RTX 30xx/40xx Ampere cards.
- The package is text-only and stays compatible with clean vLLM.
