🚀GGUF
Collection
Llama.cpp compatible models, can be used on CPUs and GPUs! • 1145 items • Updated • 50
How to use MaziyarPanahi/phi-4-GGUF with llama.cpp:
curl -LsSf https://llama.app/install.sh | sh # Start a local OpenAI-compatible server with a web UI: llama serve -hf MaziyarPanahi/phi-4-GGUF:Q4_K_M # Run inference directly in the terminal: llama cli -hf MaziyarPanahi/phi-4-GGUF:Q4_K_M
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf MaziyarPanahi/phi-4-GGUF:Q4_K_M # Run inference directly in the terminal: llama cli -hf MaziyarPanahi/phi-4-GGUF:Q4_K_M
# Download pre-built binary from: # https://github.com/ggerganov/llama.cpp/releases # Start a local OpenAI-compatible server with a web UI: ./llama-server -hf MaziyarPanahi/phi-4-GGUF:Q4_K_M # Run inference directly in the terminal: ./llama-cli -hf MaziyarPanahi/phi-4-GGUF:Q4_K_M
git clone https://github.com/ggerganov/llama.cpp.git cd llama.cpp cmake -B build cmake --build build -j --target llama-server llama-cli # Start a local OpenAI-compatible server with a web UI: ./build/bin/llama-server -hf MaziyarPanahi/phi-4-GGUF:Q4_K_M # Run inference directly in the terminal: ./build/bin/llama-cli -hf MaziyarPanahi/phi-4-GGUF:Q4_K_M
docker model run hf.co/MaziyarPanahi/phi-4-GGUF:Q4_K_M
How to use MaziyarPanahi/phi-4-GGUF with vLLM:
# Install vLLM from pip:
pip install vllm
# Start the vLLM server:
vllm serve "MaziyarPanahi/phi-4-GGUF"
# Call the server using curl (OpenAI-compatible API):
curl -X POST "http://localhost:8000/v1/chat/completions" \
-H "Content-Type: application/json" \
--data '{
"model": "MaziyarPanahi/phi-4-GGUF",
"messages": [
{
"role": "user",
"content": "What is the capital of France?"
}
]
}'docker model run hf.co/MaziyarPanahi/phi-4-GGUF:Q4_K_M
How to use MaziyarPanahi/phi-4-GGUF with Ollama:
ollama run hf.co/MaziyarPanahi/phi-4-GGUF:Q4_K_M
How to use MaziyarPanahi/phi-4-GGUF with Docker Model Runner:
docker model run hf.co/MaziyarPanahi/phi-4-GGUF:Q4_K_M
How to use MaziyarPanahi/phi-4-GGUF with Lemonade:
# Download Lemonade from https://lemonade-server.ai/ lemonade pull MaziyarPanahi/phi-4-GGUF:Q4_K_M
lemonade run user.phi-4-GGUF-Q4_K_M
lemonade list
MaziyarPanahi/phi-4-GGUF contains GGUF format model files for microsoft/phi-4.
GGUF is a new format introduced by the llama.cpp team on August 21st 2023. It is a replacement for GGML, which is no longer supported by llama.cpp.
Here is an incomplete list of clients and libraries that are known to support GGUF:
🙏 Special thanks to Georgi Gerganov and the whole team working on llama.cpp for making all of this possible.
Base model
microsoft/phi-4