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

granite-3.1-1b-a400m-instruct-GGUF

Date: 2026-11-15Commit: 940d2e1Signed: 2DC28CC7B26A283B ✓

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

granite18.8GBgranite-3.1-1b-a400m-instruct-GGUFggufpermissive
FactsParamsnot statedSize18.8 GBFormatsggufTasktext generationLicenseApache-2.0From sourcepermissive
$ fw get bartowski/granite-3.1-1b-a400m-instruct-GGUF
# manifest sha256 7f17f3db3ce2… · 18.8 GB · 24 files
$ fw verify ./granite-3.1-1b-a400m-instruct-GGUF bartowski/granite-3.1-1b-a400m-instruct-GGUF
From sourceHosted (signed)bartowski/granite-3.1-1b-a400m-instruct-GGUFLast check: 2026-11-15 04:45 UTC

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

Quantized of granite-3.1-1b-a400m-instruct.

Works with

Convert with

Overview

Size
18.8 GB
Weights
512 MB (smallest of 21 GGUF variants)
Parameters
not stated
Formats
gguf
Task
text generation
License
Apache-2.0 (permissive)
Files
24, 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-1b-a400m-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:45 UTCpassed

Model card

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

Llamacpp imatrix Quantizations of granite-3.1-1b-a400m-instruct#

Using llama.cpp release b4381 for quantization.

Original model: https://huggingface.co/ibm-granite/granite-3.1-1b-a400m-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-1b-a400m-instruct-f16.gguff162.67GBfalseFull F16 weights.
granite-3.1-1b-a400m-instruct-Q8_0.ggufQ8_01.42GBfalseExtremely high quality, generally unneeded but max available quant.
granite-3.1-1b-a400m-instruct-Q6_K_L.ggufQ6_K_L1.11GBfalseUses Q8_0 for embed and output weights. Very high quality, near perfect, recommended.
granite-3.1-1b-a400m-instruct-Q6_K.ggufQ6_K1.10GBfalseVery high quality, near perfect, recommended.
granite-3.1-1b-a400m-instruct-Q5_K_L.ggufQ5_K_L0.97GBfalseUses Q8_0 for embed and output weights. High quality, recommended.
granite-3.1-1b-a400m-instruct-Q5_K_M.ggufQ5_K_M0.96GBfalseHigh quality, recommended.
granite-3.1-1b-a400m-instruct-Q5_K_S.ggufQ5_K_S0.93GBfalseHigh quality, recommended.
granite-3.1-1b-a400m-instruct-Q4_K_L.ggufQ4_K_L0.83GBfalseUses Q8_0 for embed and output weights. Good quality, recommended.
granite-3.1-1b-a400m-instruct-Q4_K_M.ggufQ4_K_M0.82GBfalseGood quality, default size for most use cases, recommended.
granite-3.1-1b-a400m-instruct-Q4_K_S.ggufQ4_K_S0.77GBfalseSlightly lower quality with more space savings, recommended.
granite-3.1-1b-a400m-instruct-Q4_0.ggufQ4_00.77GBfalseLegacy format, offers online repacking for ARM and AVX CPU inference.
granite-3.1-1b-a400m-instruct-IQ4_NL.ggufIQ4_NL0.77GBfalseSimilar to IQ4_XS, but slightly larger. Offers online repacking for ARM CPU inference.
granite-3.1-1b-a400m-instruct-IQ4_XS.ggufIQ4_XS0.73GBfalseDecent quality, smaller than Q4_K_S with similar performance, recommended.
granite-3.1-1b-a400m-instruct-Q3_K_XL.ggufQ3_K_XL0.72GBfalseUses Q8_0 for embed and output weights. Lower quality but usable, good for low RAM availability.
granite-3.1-1b-a400m-instruct-Q3_K_L.ggufQ3_K_L0.71GBfalseLower quality but usable, good for low RAM availability.
granite-3.1-1b-a400m-instruct-Q3_K_M.ggufQ3_K_M0.66GBfalseLow quality.
granite-3.1-1b-a400m-instruct-IQ3_M.ggufIQ3_M0.61GBfalseMedium-low quality, new method with decent performance comparable to Q3_K_M.
granite-3.1-1b-a400m-instruct-Q3_K_S.ggufQ3_K_S0.60GBfalseLow quality, not recommended.
granite-3.1-1b-a400m-instruct-IQ3_XS.ggufIQ3_XS0.57GBfalseLower quality, new method with decent performance, slightly better than Q3_K_S.
granite-3.1-1b-a400m-instruct-Q2_K_L.ggufQ2_K_L0.52GBfalseUses Q8_0 for embed and output weights. Very low quality but surprisingly usable.
granite-3.1-1b-a400m-instruct-Q2_K.ggufQ2_K0.51GBfalseVery low quality but 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-1b-a400m-instruct-GGUF --include "granite-3.1-1b-a400m-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-1b-a400m-instruct-GGUF --include "granite-3.1-1b-a400m-instruct-Q8_0/*" --local-dir ./

You can either specify a new local-dir (granite-3.1-1b-a400m-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

24 files · 18.8 GBWeights 512 MB (smallest of 21 GGUF variants). Sizes and sha256 from the signed manifest.
Show all 24 files with their sha256
FileSizesha256
.gitattributes3.22 KB61486092dd4c0b5985f1a0e3927e78da61904f572e6e6e200cbe8697708a5630
README.md13.7 KB663327332380e64b655131691c81ecf53f68276cb339ec35fc72136ce1b2dccc
granite-3.1-1b-a400m-instruct-IQ3_M.gguf610 MBefc674f1bd983d59ba7a84bd51afbe939573c1832c6b8fe02966f63e708ff1b6
granite-3.1-1b-a400m-instruct-IQ3_XS.gguf568 MB842a51f6cc0f6258f426fc1283c3671b8a573e1c8fe7992eecba83265a5475a3
granite-3.1-1b-a400m-instruct-IQ4_NL.gguf768 MBcdfe91ed483c1ab19e24caf8837fa6dcf5eab9f093e774dc3311a8aa304ba3d7
granite-3.1-1b-a400m-instruct-IQ4_XS.gguf728 MB9ce397d575c079812578d1c0162e2c4d8eebb8517a3f15966f396176e805175d
granite-3.1-1b-a400m-instruct-Q2_K.gguf512 MB5c0993518816e355ceada8b862242905c8936749de1bbb87aed47dc87f42def4
granite-3.1-1b-a400m-instruct-Q2_K_L.gguf524 MBc086a08c681092437e56df8e3075dad615ff80b57379a5b6add217786c9e5506
granite-3.1-1b-a400m-instruct-Q3_K_L.gguf711 MB2374ea30a5e9779fbe689e1822a528b0d894f7c184aedb2b2303851d621deaea
granite-3.1-1b-a400m-instruct-Q3_K_M.gguf659 MB506a60d63647daf62c794fd7cc288af1aacaaddb2500eb476c53bfae58c08809
granite-3.1-1b-a400m-instruct-Q3_K_S.gguf598 MB5de1ba820a7f1c13dd195ac51f5c210ea70851a5055d5789aceeb77f038f53c2
granite-3.1-1b-a400m-instruct-Q3_K_XL.gguf724 MB052a3e07bf0c8ba8dbdc184272e8823b5ffa5780de1d31325f563b08a14aa21d
granite-3.1-1b-a400m-instruct-Q4_0.gguf771 MB642a83a3e38607015d14ccc0cb8069d02b94a32d4bf8fd18b958ead08d4b6e0e
granite-3.1-1b-a400m-instruct-Q4_K_L.gguf834 MB74c18f203fef83c73a577314b590048ca827811b945bd9d52dbe07d9af54ce93
granite-3.1-1b-a400m-instruct-Q4_K_M.gguf822 MB3a2ec1c2a78cb29d901e29bbf5162dcd03381e13803d2cbdcff838d4d08142eb
granite-3.1-1b-a400m-instruct-Q4_K_S.gguf775 MBe8069f387c2c6410c6cb8aec8bf018122770e6704e82c34afba4f95ede685c5e
granite-3.1-1b-a400m-instruct-Q5_K_L.gguf969 MB99f37afe20e853d18e9a00517b9492fbf764b809b57ea4a51a54169aa5d14c14
granite-3.1-1b-a400m-instruct-Q5_K_M.gguf956 MB56d4c5eb69c5131d6868526ecea1a69ed11814729c3eeed390c4623c4ddd137e
granite-3.1-1b-a400m-instruct-Q5_K_S.gguf929 MBd73a3c60ea9812192e2b12b05719efd2dd4111be12ecfd06d14bbddb391d53e7
granite-3.1-1b-a400m-instruct-Q6_K.gguf1.10 GB4566cfa92be10888026bd3663c83d64e91cd91f874dfb3607596587ff1c8f67f
granite-3.1-1b-a400m-instruct-Q6_K_L.gguf1.11 GB11938e2ca1cbedf6b0e9661d8b7a211b0761c58f0821965e9e6900813d6ebad3
granite-3.1-1b-a400m-instruct-Q8_0.gguf1.42 GB724302357c718bbfb4574e4c99b27d8814c8338b0873b062bf410111d1417650
granite-3.1-1b-a400m-instruct-f16.gguf2.67 GB34052b6b2ee8ea8f8477fc9306e223d0e58dabdc961e25dd14e52fea0f1f1b40
granite-3.1-1b-a400m-instruct.imatrix8.36 MBd39a7c6f9b4977659adfd7be76dddf6d267bcee64dad5c51c2ab3605c8d804fb
VersionsEach time the pinned upstream commit or file list changed in this repo. Newest first.
Upstream commitDateContents
940d2e1f9f pinned now2026-11-15 04:45 UTC24 files · 18.8 GB

Use it

$ fw get bartowski/granite-3.1-1b-a400m-instruct-GGUF
# manifest sha256 7f17f3db3ce2… · 18.8 GB · 24 files
$ fw verify ./granite-3.1-1b-a400m-instruct-GGUF bartowski/granite-3.1-1b-a400m-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-1b-a400m-instruct-GGUF.json --dir ./granite-3.1-1b-a400m-instruct-GGUF $ python3 fw.py verify ./granite-3.1-1b-a400m-instruct-GGUF ./bartowski__granite-3.1-1b-a400m-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-1b-a400m-instruct-GGUF --revision 940d2e1f9f65330615c7c8e980e6c5ac73d3360c --local-dir ./granite-3.1-1b-a400m-instruct-GGUF
llama.cppDownload one GGUF variant (granite-3.1-1b-a400m-instruct-Q2_K, 512 MB), then serve it.
$ HF_ENDPOINT=https://freeweights.allternit.com hf download bartowski/granite-3.1-1b-a400m-instruct-GGUF --include "granite-3.1-1b-a400m-instruct-Q2_K*" --local-dir ./granite-3.1-1b-a400m-instruct-GGUF $ llama-server -m ./granite-3.1-1b-a400m-instruct-GGUF/granite-3.1-1b-a400m-instruct-Q2_K.gguf
OllamaMake an Ollama model from the downloaded file.
$ printf 'FROM ./granite-3.1-1b-a400m-instruct-GGUF/granite-3.1-1b-a400m-instruct-Q2_K.gguf\n' > Modelfile $ ollama create granite-3.1-1b-a400m-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
663327332380e64b655131691c81ecf53f68276cb339ec35fc72136ce1b2dccc
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-1b-a400m-instruct-GGUFDate: 2026-11-15Commit: 940d2e1Signed: 2DC28CC7B26A283B ✓
Upstream
bartowski/granite-3.1-1b-a400m-instruct-GGUF
Pinned commit
940d2e1f9f65330615c7c8e980e6c5ac73d3360c
Manifest
granite-3.1-1b-a400m-instruct-GGUF.json · .minisig
Manifest sha256
7f17f3db3ce2f3e8579c91e040e2c9be42005b59c93768c9901b64b5bb73f895
Signature
minisign, Ed25519, key 2DC28CC7B26A283B
Created
2026-11-15 04:45 UTC
Generator
freeweights-manifest/0.1.0
Takedowns
None.

How to verify

$ curl -O https://freeweights.allternit.com/manifests/bartowski/granite-3.1-1b-a400m-instruct-GGUF.json $ curl -O https://freeweights.allternit.com/manifests/bartowski/granite-3.1-1b-a400m-instruct-GGUF.json.minisig $ minisign -Vm granite-3.1-1b-a400m-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-1b-a400m-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-1b-a400m-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-1b-a400m-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