alt.freeweights.granite / granite-3.1-2b-instruct-GGUF
From: bartowski <huggingface.co/bartowski>Newsgroups: alt.freeweights.graniteSubject:

granite-3.1-2b-instruct-GGUF

Date: 2026-11-15Commit: e47b8b4Signed: 2DC28CC7B26A283B ✓

Text generation model. Gguf weights, 36.5 GB in all. Published by bartowski under Apache-2.0.

granite36.5GBgranite-3.1-2b-instruct-GGUFggufpermissive
FactsParamsnot statedSize36.5 GBFormatsggufTasktext generationLicenseApache-2.0From sourcepermissive
$ fw get bartowski/granite-3.1-2b-instruct-GGUF
# manifest sha256 4c3227a65b81… · 36.5 GB · 25 files
$ fw verify ./granite-3.1-2b-instruct-GGUF bartowski/granite-3.1-2b-instruct-GGUF
From sourceHosted (signed)bartowski/granite-3.1-2b-instruct-GGUFLast check: 2026-11-15 04:55 UTC

Get help: custom fine-tune or private deploy. We review your setup before we quote.

Quantized of granite-3.1-2b-instruct.

Works with

Convert with

Overview

Size
36.5 GB
Weights
889 MB (smallest of 22 GGUF variants)
Parameters
not stated
Formats
gguf
Task
text generation
License
Apache-2.0 (permissive)
Files
25, each with a sha256
Publisher
bartowski
Added
2026-11-15
Section
alt.freeweights.granite
Lineage

Original release from the publisher.

Base model: ibm-granite/granite-3.1-2b-instruct

Where these bytes come from
Publisher at the pinned commit→You

Sources are tried in order. A file counts only when its size and sha256 match the manifest. Sources are checked when you ask for them, not on a timer.

Sources
BadgeHostLast checkResult
From sourcehuggingface.co2026-11-15 04:55 UTCpassed

Model card

From the publisher at commit e47b8b4. Shown as plain text with links; images open at the publisher.

Llamacpp imatrix Quantizations of granite-3.1-2b-instruct#

Using llama.cpp release b4381 for quantization.

Original model: https://huggingface.co/ibm-granite/granite-3.1-2b-instruct

All quants made using imatrix option with dataset from here

Run them in LM Studio

Prompt format#

<|start_of_role|>system<|end_of_role|>{system_prompt}<|end_of_text|> <|start_of_role|>user<|end_of_role|>{prompt}<|end_of_text|> <|start_of_role|>assistant<|end_of_role|>

What's new:#

Fix chat template

Download a file (not the whole branch) from below:#

FilenameQuant typeFile SizeSplitDescription
granite-3.1-2b-instruct-f16.gguff165.07GBfalseFull F16 weights.
granite-3.1-2b-instruct-Q8_0.ggufQ8_02.69GBfalseExtremely high quality, generally unneeded but max available quant.
granite-3.1-2b-instruct-Q6_K_L.ggufQ6_K_L2.10GBfalseUses Q8_0 for embed and output weights. Very high quality, near perfect, recommended.
granite-3.1-2b-instruct-Q6_K.ggufQ6_K2.08GBfalseVery high quality, near perfect, recommended.
granite-3.1-2b-instruct-Q5_K_L.ggufQ5_K_L1.83GBfalseUses Q8_0 for embed and output weights. High quality, recommended.
granite-3.1-2b-instruct-Q5_K_M.ggufQ5_K_M1.80GBfalseHigh quality, recommended.
granite-3.1-2b-instruct-Q5_K_S.ggufQ5_K_S1.76GBfalseHigh quality, recommended.
granite-3.1-2b-instruct-Q4_K_L.ggufQ4_K_L1.57GBfalseUses Q8_0 for embed and output weights. Good quality, recommended.
granite-3.1-2b-instruct-Q4_K_M.ggufQ4_K_M1.55GBfalseGood quality, default size for most use cases, recommended.
granite-3.1-2b-instruct-Q4_K_S.ggufQ4_K_S1.46GBfalseSlightly lower quality with more space savings, recommended.
granite-3.1-2b-instruct-Q4_0.ggufQ4_01.46GBfalseLegacy format, offers online repacking for ARM and AVX CPU inference.
granite-3.1-2b-instruct-IQ4_NL.ggufIQ4_NL1.46GBfalseSimilar to IQ4_XS, but slightly larger. Offers online repacking for ARM CPU inference.
granite-3.1-2b-instruct-IQ4_XS.ggufIQ4_XS1.38GBfalseDecent quality, smaller than Q4_K_S with similar performance, recommended.
granite-3.1-2b-instruct-Q3_K_XL.ggufQ3_K_XL1.38GBfalseUses Q8_0 for embed and output weights. Lower quality but usable, good for low RAM availability.
granite-3.1-2b-instruct-Q3_K_L.ggufQ3_K_L1.36GBfalseLower quality but usable, good for low RAM availability.
granite-3.1-2b-instruct-Q3_K_M.ggufQ3_K_M1.25GBfalseLow quality.
granite-3.1-2b-instruct-IQ3_M.ggufIQ3_M1.17GBfalseMedium-low quality, new method with decent performance comparable to Q3_K_M.
granite-3.1-2b-instruct-Q3_K_S.ggufQ3_K_S1.13GBfalseLow quality, not recommended.
granite-3.1-2b-instruct-IQ3_XS.ggufIQ3_XS1.08GBfalseLower quality, new method with decent performance, slightly better than Q3_K_S.
granite-3.1-2b-instruct-Q2_K_L.ggufQ2_K_L1.00GBfalseUses Q8_0 for embed and output weights. Very low quality but surprisingly usable.
granite-3.1-2b-instruct-Q2_K.ggufQ2_K0.98GBfalseVery low quality but surprisingly usable.
granite-3.1-2b-instruct-IQ2_M.ggufIQ2_M0.89GBfalseRelatively low quality, uses SOTA techniques to be surprisingly usable.

Embed/output weights#

Some of these quants (Q3_K_XL, Q4_K_L etc) are the standard quantization method with the embeddings and output weights quantized to Q8_0 instead of what they would normally default to.

Downloading using huggingface-cli#

Click to view download instructions

First, make sure you have hugginface-cli installed:

pip install -U "huggingface_hub[cli]"

Then, you can target the specific file you want:

huggingface-cli download bartowski/granite-3.1-2b-instruct-GGUF --include "granite-3.1-2b-instruct-Q4_K_M.gguf" --local-dir ./

If the model is bigger than 50GB, it will have been split into multiple files. In order to download them all to a local folder, run:

huggingface-cli download bartowski/granite-3.1-2b-instruct-GGUF --include "granite-3.1-2b-instruct-Q8_0/*" --local-dir ./

You can either specify a new local-dir (granite-3.1-2b-instruct-Q8_0) or download them all in place (./)

ARM/AVX information#

Previously, you would download Q4_0_4_4/4_8/8_8, and these would have their weights interleaved in memory in order to improve performance on ARM and AVX machines by loading up more data in one pass.

Now, however, there is something called "online repacking" for weights. details in this PR. If you use Q4_0 and your hardware would benefit from repacking weights, it will do it automatically on the fly.

As of llama.cpp build b4282 you will not be able to run the Q4_0_X_X files and will instead need to use Q4_0.

Additionally, if you want to get slightly better quality for , you can use IQ4_NL thanks to this PR which will also repack the weights for ARM, though only the 4_4 for now. The loading time may be slower but it will result in an overall speed incrase.

Click to view Q4_0_X_X information (deprecated

I'm keeping this section to show the potential theoretical uplift in performance from using the Q4_0 with online repacking.

Click to view benchmarks on an AVX2 system (EPYC7702)

modelsizeparamsbackendthreadstestt/s% (vs Q4_0)
qwen2 3B Q4_01.70 GiB3.09 BCPU64pp512204.03 ± 1.03100%
qwen2 3B Q4_01.70 GiB3.09 BCPU64pp1024282.92 ± 0.19100%
qwen2 3B Q4_01.70 GiB3.09 BCPU64pp2048259.49 ± 0.44100%
qwen2 3B Q4_01.70 GiB3.09 BCPU64tg12839.12 ± 0.27100%
qwen2 3B Q4_01.70 GiB3.09 BCPU64tg25639.31 ± 0.69100%
qwen2 3B Q4_01.70 GiB3.09 BCPU64tg51240.52 ± 0.03100%
qwen2 3B Q4_K_M1.79 GiB3.09 BCPU64pp512301.02 ± 1.74147%
qwen2 3B Q4_K_M1.79 GiB3.09 BCPU64pp1024287.23 ± 0.20101%
qwen2 3B Q4_K_M1.79 GiB3.09 BCPU64pp2048262.77 ± 1.81101%
qwen2 3B Q4_K_M1.79 GiB3.09 BCPU64tg12818.80 ± 0.9948%
qwen2 3B Q4_K_M1.79 GiB3.09 BCPU64tg25624.46 ± 3.0483%
qwen2 3B Q4_K_M1.79 GiB3.09 BCPU64tg51236.32 ± 3.5990%
qwen2 3B Q4_0_8_81.69 GiB3.09 BCPU64pp512271.71 ± 3.53133%
qwen2 3B Q4_0_8_81.69 GiB3.09 BCPU64pp1024279.86 ± 45.63100%
qwen2 3B Q4_0_8_81.69 GiB3.09 BCPU64pp2048320.77 ± 5.00124%
qwen2 3B Q4_0_8_81.69 GiB3.09 BCPU64tg12843.51 ± 0.05111%
qwen2 3B Q4_0_8_81.69 GiB3.09 BCPU64tg25643.35 ± 0.09110%
qwen2 3B Q4_0_8_81.69 GiB3.09 BCPU64tg51242.60 ± 0.31105%

Q4_0_8_8 offers a nice bump to prompt processing and a small bump to text generation

Which file should I choose?#

Click here for details

A great write up with charts showing various performances is provided by Artefact2 here

The first thing to figure out is how big a model you can run. To do this, you'll need to figure out how much RAM and/or VRAM you have.

If you want your model running as FAST as possible, you'll want to fit the whole thing on your GPU's VRAM. Aim for a quant with a file size 1-2GB smaller than your GPU's total VRAM.

If you want the absolute maximum quality, add both your system RAM and your GPU's VRAM together, then similarly grab a quant with a file size 1-2GB Smaller than that total.

Next, you'll need to decide if you want to use an 'I-quant' or a 'K-quant'.

If you don't want to think too much, grab one of the K-quants. These are in format 'QX_K_X', like Q5_K_M.

If you want to get more into the weeds, you can check out this extremely useful feature chart:

llama.cpp feature matrix

But basically, if you're aiming for below Q4, and you're running cuBLAS (Nvidia) or rocBLAS (AMD), you should look towards the I-quants. These are in format IQX_X, like IQ3_M. These are newer and offer better performance for their size.

These I-quants can also be used on CPU and Apple Metal, but will be slower than their K-quant equivalent, so speed vs performance is a tradeoff you'll have to decide.

The I-quants are not compatible with Vulcan, which is also AMD, so if you have an AMD card double check if you're using the rocBLAS build or the Vulcan build. At the time of writing this, LM Studio has a preview with ROCm support, and other inference engines have specific builds for ROCm.

Credits#

Thank you kalomaze and Dampf for assistance in creating the imatrix calibration dataset.

Thank you ZeroWw for the inspiration to experiment with embed/output.

Want to support my work? Visit my ko-fi page here: https://ko-fi.com/bartowski

Files

25 files · 36.5 GBWeights 889 MB (smallest of 22 GGUF variants). Sizes and sha256 from the signed manifest.
Show all 25 files with their sha256
FileSizesha256
.gitattributes3.16 KB9782e53e8487fac0889cec8a817d3cb4cd24ce30776b2c7f2ea75c3d06849cfe
README.md13.5 KB4a31303e5ac7ad067b3d4de92f25f5d963065b8f20f0d40dcdf58167b321686c
granite-3.1-2b-instruct-IQ2_M.gguf889 MBbf800f148b0b98e89e58b30137df339091f290d88f1c2bb1f66a0298b64fa744
granite-3.1-2b-instruct-IQ3_M.gguf1.17 GBb99bc1bd170ddf323db0e770bd8f09bad661763975586ba298ee2402da434dfe
granite-3.1-2b-instruct-IQ3_XS.gguf1.08 GB5940f00658f02ddbf20b4c2a506f597232800afd5fad8ed30971729d8ce26a8c
granite-3.1-2b-instruct-IQ4_NL.gguf1.46 GB52e0a883a645f52324b6404a6e3963f976e52c7591ad8a31634f9530c5d075f7
granite-3.1-2b-instruct-IQ4_XS.gguf1.38 GBe878f204d62ee62c47fa6bf0c3b5c8ef070a12bd43c30b11b153c99c90d01205
granite-3.1-2b-instruct-Q2_K.gguf978 MB1023b7a8866f63e30a5ae73831d11cca9bd2c54ee4ffca7fc0c7d7dc7277e5df
granite-3.1-2b-instruct-Q2_K_L.gguf1.00 GB66ecfdbf5e75cc2b6833c45e98d987e16a91081850993d8bbf761eb9b0f3533a
granite-3.1-2b-instruct-Q3_K_L.gguf1.36 GB4acf6b94f0008e1f926c47e5e17ce236c8cd8d733974fa682c3d7f9dd0550c55
granite-3.1-2b-instruct-Q3_K_M.gguf1.25 GB5dbae7b1de10933b7e6858b39df7a5b0b1e78b0f560482deb7f1a654e1ff88e3
granite-3.1-2b-instruct-Q3_K_S.gguf1.13 GB79cdff84f76400701c831d954e87d841c3e0bec91ef41fe5245c569e9395ad19
granite-3.1-2b-instruct-Q3_K_XL.gguf1.38 GB89f3af97ad6d535065f932ddad5f9284b7c11ea93ae579eff4358c90e547001b
granite-3.1-2b-instruct-Q4_0.gguf1.46 GBa164a8923d19bb58dee8dd1785d1abf3158596ad2deb1ff1adb3681e5cd45c0d
granite-3.1-2b-instruct-Q4_K_L.gguf1.57 GBc2143ed6040b2d1f461c8e672f7298cc73c9f37fb7754a4be9d74409d508313f
granite-3.1-2b-instruct-Q4_K_M.gguf1.55 GB774269c82fde2720ea18dcf457fb5bd028fe096139a0735f4ad59c0a270cfc9c
granite-3.1-2b-instruct-Q4_K_S.gguf1.46 GB4b5e9054a5dc0411b702a1692ba1c31d8426aaae1329862498b8c120b5dd4095
granite-3.1-2b-instruct-Q5_K_L.gguf1.83 GBfffa38fdead423bb11a3f496d2916d7e53ea44f24296eabbdf90df872e3d80e1
granite-3.1-2b-instruct-Q5_K_M.gguf1.80 GB05a11b80f5af77543d468ef8080b52ea80258afa3d26230a1001c1af684ac7e3
granite-3.1-2b-instruct-Q5_K_S.gguf1.76 GBb71b340781421569dbfa0eb32966924228470072d2e7314739083c1b44466e02
granite-3.1-2b-instruct-Q6_K.gguf2.08 GB4739f25e5785cfef5ca915acf4d1e1cf40f14a056d6cf4678aabd9bab6dbd46f
granite-3.1-2b-instruct-Q6_K_L.gguf2.10 GB0857b111d8f472abeaa41a4018bc1555f54a03a19c9dee1a3a09dd6aa768f03c
granite-3.1-2b-instruct-Q8_0.gguf2.69 GB883a1094022c40cb05f481fbe236b315cf2ca4f30ff84f8852aa3301e0edde72
granite-3.1-2b-instruct-f16.gguf5.07 GB97bdf159dafe574c411eb80414588aef05ca7b1be4273371ea0ff0fa52a5dda8
granite-3.1-2b-instruct.imatrix3.29 MBa963b348a164f0d5d63368a9164b199e6829e743f23bdd33538814648fee8678
VersionsEach time the pinned upstream commit or file list changed in this repo. Newest first.
Upstream commitDateContents
e47b8b46c0 pinned now2026-11-15 04:55 UTC25 files · 36.5 GB

Use it

$ fw get bartowski/granite-3.1-2b-instruct-GGUF
# manifest sha256 4c3227a65b81… · 36.5 GB · 25 files
$ fw verify ./granite-3.1-2b-instruct-GGUF bartowski/granite-3.1-2b-instruct-GGUF
fw.pyChecks the signature and every sha256, tries each source in order, resumes.
$ python3 fw.py get https://freeweights.allternit.com/manifests/bartowski/granite-3.1-2b-instruct-GGUF.json --dir ./granite-3.1-2b-instruct-GGUF $ python3 fw.py verify ./granite-3.1-2b-instruct-GGUF ./bartowski__granite-3.1-2b-instruct-GGUF.json
hfThe Hugging Face CLI with one setting. Same repo id.
$ HF_ENDPOINT=https://freeweights.allternit.com hf download bartowski/granite-3.1-2b-instruct-GGUF --revision e47b8b46c04cede00f9e19d5a846551b14b2efce --local-dir ./granite-3.1-2b-instruct-GGUF
llama.cppDownload one GGUF variant (granite-3.1-2b-instruct-IQ2_M, 889 MB), then serve it.
$ HF_ENDPOINT=https://freeweights.allternit.com hf download bartowski/granite-3.1-2b-instruct-GGUF --include "granite-3.1-2b-instruct-IQ2_M*" --local-dir ./granite-3.1-2b-instruct-GGUF $ llama-server -m ./granite-3.1-2b-instruct-GGUF/granite-3.1-2b-instruct-IQ2_M.gguf
OllamaMake an Ollama model from the downloaded file.
$ printf 'FROM ./granite-3.1-2b-instruct-GGUF/granite-3.1-2b-instruct-IQ2_M.gguf\n' > Modelfile $ ollama create granite-3.1-2b-instruct-gguf -f Modelfile

License

Name
Apache License 2.0
Id
Apache-2.0
Class
Permissive
Redistribution
yes
Listing
Hosted (signed)
Decided
License as declared by the publisher. No person read it. 2026-11-15
Text in
README.md
Text sha256
4a31303e5ac7ad067b3d4de92f25f5d963065b8f20f0d40dcdf58167b321686c
Terms gate
No extra terms beyond the license.

Read the license text

Licenses are checked against the license table. A custom license passes only after a person reads it.

Provenance

From: bartowski <huggingface.co/bartowski>Newsgroups: alt.freeweights.graniteSubject: granite-3.1-2b-instruct-GGUFDate: 2026-11-15Commit: e47b8b4Signed: 2DC28CC7B26A283B ✓
Upstream
bartowski/granite-3.1-2b-instruct-GGUF
Pinned commit
e47b8b46c04cede00f9e19d5a846551b14b2efce
Manifest
granite-3.1-2b-instruct-GGUF.json · .minisig
Manifest sha256
4c3227a65b81ff6b8367468ee55baa53562d7272cf6b15f5562816d9041bffeb
Signature
minisign, Ed25519, key 2DC28CC7B26A283B
Created
2026-11-15 04:55 UTC
Generator
freeweights-manifest/0.1.0
Takedowns
None.

How to verify

$ curl -O https://freeweights.allternit.com/manifests/bartowski/granite-3.1-2b-instruct-GGUF.json $ curl -O https://freeweights.allternit.com/manifests/bartowski/granite-3.1-2b-instruct-GGUF.json.minisig $ minisign -Vm granite-3.1-2b-instruct-GGUF.json -P RWQ7KGqyx4zCLXtUFOqvfv8L3g+8fpKJ1FsuxPyOYMF+4KufbUxKq1Oq $ shasum -a 256 <file> # compare with the Files tab

A manifest whose signature fails must be rejected. A file whose size or sha256 does not match must be discarded. Verify a download

Model tree

Parent

ibm-granite/granite-3.1-2b-instruct · this model is a quantization of it

No model in the catalog names this one as its parent.

Get it
Download
$ HF_ENDPOINT=https://freeweights.allternit.com hf download bartowski/granite-3.1-2b-instruct-GGUF
Open in Freeweights Studio

Pull, verify and run it in the Allternit app on Desktop, web or phone.

Signed manifest
minisign, key 2DC28CC7B26A283B. granite-3.1-2b-instruct-GGUF.json. Provenance. Takedown history: none.
From: ibm-granite <huggingface.co/ibm-granite>Subject: GneissWeb.7B_ablation_model_on_350B_FineWeb.Edu.seed1
From: ibm-granite <huggingface.co/ibm-granite>Subject: GneissWeb.7B_ablation_model_on_350B_FineWeb.Edu.seed2
From: ibm-granite <huggingface.co/ibm-granite>Subject: GneissWeb.7B_ablation_model_on_350B_FineWeb.Edu.seed3
From: ibm-granite <huggingface.co/ibm-granite>Subject: GneissWeb.7B_ablation_model_on_350B_FineWeb.seed1
From: ibm-granite <huggingface.co/ibm-granite>Subject: GneissWeb.7B_ablation_model_on_350B_FineWeb.seed2
From: ibm-granite <huggingface.co/ibm-granite>Subject: GneissWeb.7B_ablation_model_on_350B_FineWeb.seed3