GGUF repo · snapshot
bartowski/granite-20b-code-instruct-GGUF
5,929 downloads · 7 likes · updated 2024-09-01
View bartowski/granite-20b-code-instruct-GGUF on Hugging Face ↗Quantized from ibm-granite/granite-20b-code-instruct-8k · starcoder architecture · 8,192 token native context · 20.1B parameters
Quant levels in this repo
| Quant | Type | File size | Bits/weight | Est. RAM/VRAM at 8,192 tokens |
|---|---|---|---|---|
F32 3 shards |
full precision, 32-bit | 74.8 GB | 32.0 | 93.4 GB |
F16 |
half precision, 16-bit | 37.5 GB | 16.04 | 46.8 GB |
Q8_0 |
legacy, 8-bit | 20.0 GB | 8.56 | 25.0 GB |
Q6_K_L |
k-quant, ~6-bit | 15.6 GB | 6.66 | 19.4 GB |
Q6_K |
k-quant, ~6-bit | 15.5 GB | 6.63 | 19.4 GB |
Q2_K 2 shards |
k-quant, ~2-bit | 14.8 GB | 6.35 | 18.5 GB |
Q5_K_L |
k-quant, ~5-bit | 13.9 GB | 5.93 | 17.3 GB |
Q5_K_M |
k-quant, ~5-bit | 13.8 GB | 5.9 | 17.2 GB |
Q5_K_S |
k-quant, ~5-bit | 13.1 GB | 5.59 | 16.3 GB |
Q4_K_L |
k-quant, ~4-bit | 12.0 GB | 5.14 | 15.0 GB |
Q4_K_M |
k-quant, ~4-bit | 11.9 GB | 5.11 | 14.9 GB |
Q3_K_XL |
k-quant, ~3-bit | 11.0 GB | 4.71 | 13.7 GB |
Q3_K_L |
k-quant, ~3-bit | 10.9 GB | 4.68 | 13.7 GB |
Q4_K_S |
k-quant, ~4-bit | 10.9 GB | 4.65 | 13.6 GB |
Q4_0 |
legacy, 4-bit | 10.8 GB | 4.63 | 13.5 GB |
Q4_0_4_4 |
ARM-packed, 4-bit | 10.8 GB | 4.61 | 13.4 GB |
Q4_0_4_8 |
ARM-packed, 4-bit | 10.8 GB | 4.61 | 13.4 GB |
Q4_0_8_8 |
ARM-packed, 4-bit | 10.8 GB | 4.61 | 13.4 GB |
IQ4_NL |
i-quant, ~4-bit | 10.8 GB | 4.61 | 13.4 GB |
IQ4_XS |
i-quant, ~4-bit | 10.2 GB | 4.36 | 12.7 GB |
Q3_K_M |
k-quant, ~3-bit | 9.8 GB | 4.21 | 12.3 GB |
IQ3_M |
i-quant, ~3-bit | 8.9 GB | 3.82 | 11.2 GB |
Q3_K_S |
k-quant, ~3-bit | 8.3 GB | 3.56 | 10.4 GB |
IQ3_S |
i-quant, ~3-bit | 8.3 GB | 3.56 | 10.4 GB |
IQ3_XS |
i-quant, ~3-bit | 8.1 GB | 3.45 | 10.1 GB |
IQ3_XXS |
i-quant, ~3-bit | 7.5 GB | 3.21 | 9.4 GB |
IQ2_M |
i-quant, ~2-bit | 6.6 GB | 2.81 | 8.2 GB |
IQ2_S |
i-quant, ~2-bit | 6.1 GB | 2.6 | 7.6 GB |
IQ2_XS |
i-quant, ~2-bit | 5.7 GB | 2.45 | 7.2 GB |
IQ2_XXS |
i-quant, ~2-bit | 5.2 GB | 2.22 | 6.5 GB |
IQ1_M |
i-quant, ~1-bit | 4.6 GB | 1.96 | 5.7 GB |
IQ1_S |
i-quant, ~1-bit | 4.2 GB | 1.8 | 5.3 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
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.