GGUF repo · snapshot
MaziyarPanahi/phi-4-GGUF
53,182 downloads · 10 likes · updated 2025-01-08
View MaziyarPanahi/phi-4-GGUF on Hugging Face ↗Quantized from microsoft/phi-4 · phi3 architecture · 16,384 token native context · 14.7B parameters
Quant levels in this repo
| Quant | Type | File size | Bits/weight | Est. RAM/VRAM at 8,192 tokens |
|---|---|---|---|---|
OTHER |
unrecognized quant label | 27.3 GB | 16.0 | 30.2 GB |
Q8_0 |
legacy, 8-bit | 14.5 GB | 8.5 | 16.8 GB |
Q6_K |
k-quant, ~6-bit | 11.2 GB | 6.57 | 13.3 GB |
Q5_K_M |
k-quant, ~5-bit | 9.9 GB | 5.79 | 11.9 GB |
Q5_K_S |
k-quant, ~5-bit | 9.5 GB | 5.54 | 11.5 GB |
Q4_K_M |
k-quant, ~4-bit | 8.4 GB | 4.94 | 10.4 GB |
Q4_K_S |
k-quant, ~4-bit | 7.9 GB | 4.61 | 9.8 GB |
Q3_K_L |
k-quant, ~3-bit | 7.4 GB | 4.33 | 9.3 GB |
Q3_K_M |
k-quant, ~3-bit | 6.9 GB | 4.02 | 8.8 GB |
Q3_K_S |
k-quant, ~3-bit | 6.1 GB | 3.55 | 7.9 GB |
Q2_K |
k-quant, ~2-bit | 5.2 GB | 3.03 | 7.0 GB |
Bits/weight is the file's real size compared with the model's parameter count, not a lookup table. How the RAM/VRAM estimate works.
Change the context length
Other quantizations of this base model
See all 3 →Loads in
- llama.cppThe reference GGUF runtime. Every quant type this site lists loads here first.
- OllamaWraps llama.cpp. Import a .gguf with a Modelfile `FROM ./file.gguf` line.
- LM StudioDesktop app over llama.cpp. Drop a GGUF into its models folder or search inside the app.
- koboldcppSingle-file llama.cpp build aimed at story/roleplay front ends.
- text-generation-webuiLoads GGUF through its own llama.cpp backend (the llama.cpp loader).
- GPT4AllSupports many GGUF models, but its bundled llama.cpp is updated less often, so the newest quant types or architectures can lag the other engines.