Instructions to use 1bit-MONSTER/phi-4-GGUF with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use 1bit-MONSTER/phi-4-GGUF with llama.cpp:
Install (macOS, Linux)
curl -LsSf https://llama.app/install.sh | sh # Start a local OpenAI-compatible server with a web UI: llama serve -hf 1bit-MONSTER/phi-4-GGUF # Run inference directly in the terminal: llama cli -hf 1bit-MONSTER/phi-4-GGUF
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf 1bit-MONSTER/phi-4-GGUF # Run inference directly in the terminal: llama cli -hf 1bit-MONSTER/phi-4-GGUF
Build from source code
git clone https://github.com/ggml-org/llama.cpp.git cd llama.cpp cmake -B build cmake --build build -j --target llama-app # Start a local OpenAI-compatible server with a web UI: ./build/bin/llama serve -hf 1bit-MONSTER/phi-4-GGUF # Run inference directly in the terminal: ./build/bin/llama cli -hf 1bit-MONSTER/phi-4-GGUF
Use Docker
docker model run hf.co/1bit-MONSTER/phi-4-GGUF
- Llama new
- LM Studio
- Jan
- Ollama
How to use 1bit-MONSTER/phi-4-GGUF with Ollama:
ollama run hf.co/1bit-MONSTER/phi-4-GGUF
- Unsloth Desktop
- Docker Model Runner
How to use 1bit-MONSTER/phi-4-GGUF with Docker Model Runner:
docker model run hf.co/1bit-MONSTER/phi-4-GGUF
- Lemonade
How to use 1bit-MONSTER/phi-4-GGUF with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull 1bit-MONSTER/phi-4-GGUF
Run and chat with the model
lemonade run user.phi-4-GGUF-{{QUANT_TAG}}List all available models
lemonade list
- Atomic Chat
phi-4 β GGUF (Q4_K_M)
Below our quality bar.
phi-4-Q4_K.ggufmeasures 93.5 % same top-1 (mean KLD 0.0183) against the BF16 of microsoft/phi-4 (16 Γ 512 wikitext-2, CPU, 2026-11-29). Our bar for an advertised quant is 95 %. This is a Q4_K file: fine for its size, but for quality use a Q8_0 or larger GGUF of this model.
Family: Phi Β· all families Β· start here
Runs on: HRX GPU (llama.cpp GGUF route in the 1bit engine)
Microsoft's own Q4_K_M GGUF, re-hosted with measured performance for the 1bit engine on Strix Halo.
Contents
phi-4-Q4_K.gguf(Q4_K_M)
Measured performance (Strix Halo, Vulkan)
These numbers were measured in 2026-09 with the engine's Vulkan backend, which has since been removed. The engine now runs this file on the HRX GPU route; HRX numbers are being re-measured.
pp512: 543 tok/s Β· tg128: 19.4 tok/s
Running it
1bit serve -m phi-4-Q4_K.gguf --device hrx
Attribution
- Model and quantization: microsoft/phi-4-gguf, MIT.
- License: MIT, inherited from the base model.
- Downloads last month
- 103
Model tree for 1bit-MONSTER/phi-4-GGUF
Base model
microsoft/phi-4