GGUF repo · snapshot
bartowski/phi-4-GGUF
11,989 downloads · 65 likes · updated 2025-01-11
View bartowski/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 |
|---|---|---|---|---|
F32 2 shards |
full precision, 32-bit | 54.6 GB | 32.0 | 58.9 GB |
F16 |
half precision, 16-bit | 27.3 GB | 16.0 | 30.2 GB |
Q8_0 |
legacy, 8-bit | 14.5 GB | 8.5 | 16.8 GB |
Q6_K_L |
k-quant, ~6-bit | 11.4 GB | 6.7 | 13.6 GB |
Q6_K |
k-quant, ~6-bit | 11.2 GB | 6.57 | 13.3 GB |
Q2_K 2 shards |
k-quant, ~2-bit | 10.8 GB | 6.33 | 12.9 GB |
Q5_K_L |
k-quant, ~5-bit | 10.2 GB | 5.96 | 12.2 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_L |
k-quant, ~4-bit | 8.8 GB | 5.15 | 10.8 GB |
Q4_1 |
legacy, 4-bit | 8.6 GB | 5.06 | 10.6 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 |
Q4_0 |
legacy, 4-bit | 7.8 GB | 4.59 | 9.8 GB |
IQ4_NL |
i-quant, ~4-bit | 7.8 GB | 4.58 | 9.8 GB |
Q3_K_XL |
k-quant, ~3-bit | 7.8 GB | 4.57 | 9.8 GB |
IQ4_XS |
i-quant, ~4-bit | 7.4 GB | 4.33 | 9.3 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 |
IQ3_M |
i-quant, ~3-bit | 6.4 GB | 3.77 | 8.3 GB |
Q3_K_S |
k-quant, ~3-bit | 6.1 GB | 3.55 | 7.9 GB |
IQ3_XS |
i-quant, ~3-bit | 5.8 GB | 3.41 | 7.7 GB |
IQ2_M |
i-quant, ~2-bit | 4.8 GB | 2.79 | 6.6 GB |
IQ2_S |
i-quant, ~2-bit | 4.4 GB | 2.58 | 6.2 GB |
IQ2_XS |
i-quant, ~2-bit | 4.2 GB | 2.45 | 6.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.