Downloads · 30 days
19
4% of all-time downloads
useful-quants/Phi-4-mini-instruct-W4A16
Phi-4-mini-instruct-W4A16 is a text generation model from useful-quants. Use it when you need the model to write or continue text. It is set up for transformers. The card lists the license as mit.
Ampere-friendly serving build of microsoft/Phi-4-mini-instruct. Text-side linears are compressed-tensors W4A16.
Downloads · 30 days
19
4% of all-time downloads
All-time downloads
476
Public
Parameters
4.5B
4.1 GB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors4.1 GB · 100%
How the weights are stored.
I323.2B · 72%
From the Hugging Face model README
Ampere-friendly serving build of microsoft/Phi-4-mini-instruct.
Text-side linears are compressed-tensors W4A16.
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.7
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.7
python verify.py --url http://localhost:8002/v1/completions