alt.freeweights.gemma / google_gemma-4-E2B-it-GGUF
From: bartowski <huggingface.co/bartowski>Newsgroups: alt.freeweights.gemmaSubject:

google_gemma-4-E2B-it-GGUF

Date: 2026-11-14Commit: 81012baSigned: 2DC28CC7B26A283B ✓

Image text to text model. Gguf weights, 90.0 GB in all. Published by bartowski under Apache-2.0.

gemma90.0GBgoogle_gemma-4-E2B-it-GGUFggufpermissive
FactsParamsnot statedSize90.0 GBFormatsggufTaskimage text to textLicenseApache-2.0From sourcepermissive
$ fw get bartowski/google_gemma-4-E2B-it-GGUF
# manifest sha256 3504cd9951d1… · 90.0 GB · 28 files
$ fw verify ./google_gemma-4-E2B-it-GGUF bartowski/google_gemma-4-E2B-it-GGUF
From sourceHosted (signed)bartowski/google_gemma-4-E2B-it-GGUFLast check: 2026-11-14 21:27 UTC

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

Quantized of gemma-4-E2B-it.

Works with

Convert with

Overview

Size
90.0 GB
Weights
2.82 MB (smallest of 24 GGUF variants)
Parameters
not stated
Formats
gguf
Task
image text to text
License
Apache-2.0 (permissive)
Files
28, each with a sha256
Publisher
bartowski
Added
2026-11-14
Section
alt.freeweights.gemma
Lineage

Original release from the publisher.

Base model: google/gemma-4-E2B-it

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-14 21:27 UTCpassed

Model card

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

Llamacpp imatrix Quantizations of gemma-4-E2B-it by google#

Using llama.cpp release b8746 for quantization.

Original model: https://huggingface.co/google/gemma-4-E2B-it

All quants made using imatrix option with dataset from here

Run them in your choice of tools:

Note: if it's a newly supported model, you may need to wait for an update from the developers.

Prompt format#

<bos><|turn>system
{system_prompt}<turn|>
<|turn>user
{prompt}<turn|>
<|turn>model

What's new:#

Latest fixes and chat template

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

FilenameQuant typeFile SizeSplitDescription
gemma-4-E2B-it-bf16.ggufbf169.31GBfalseFull BF16 weights.
gemma-4-E2B-it-Q8_0.ggufQ8_04.97GBfalseExtremely high quality, generally unneeded but max available quant.
gemma-4-E2B-it-Q6_K_L.ggufQ6_K_L4.56GBfalseUses Q8_0 for embed and output weights. Very high quality, near perfect, recommended.
gemma-4-E2B-it-Q5_K_L.ggufQ5_K_L4.32GBfalseUses Q8_0 for embed and output weights. High quality, recommended.
gemma-4-E2B-it-Q4_K_L.ggufQ4_K_L4.13GBfalseUses Q8_0 for embed and output weights. Good quality, recommended.
gemma-4-E2B-it-Q3_K_XL.ggufQ3_K_XL3.96GBfalseUses Q8_0 for embed and output weights. Lower quality but usable, good for low RAM availability.
gemma-4-E2B-it-Q6_K.ggufQ6_K3.90GBfalseVery high quality, near perfect, recommended.
gemma-4-E2B-it-Q2_K_L.ggufQ2_K_L3.69GBfalseUses Q8_0 for embed and output weights. Very low quality but surprisingly usable.
gemma-4-E2B-it-Q5_K_M.ggufQ5_K_M3.66GBfalseHigh quality, recommended.
gemma-4-E2B-it-Q5_K_S.ggufQ5_K_S3.60GBfalseHigh quality, recommended.
gemma-4-E2B-it-Q4_1.ggufQ4_13.49GBfalseLegacy format, similar performance to Q4_K_S but with improved tokens/watt on Apple silicon.
gemma-4-E2B-it-Q4_K_M.ggufQ4_K_M3.46GBfalseGood quality, default size for most use cases, recommended.
gemma-4-E2B-it-Q4_K_S.ggufQ4_K_S3.38GBfalseSlightly lower quality with more space savings, recommended.
gemma-4-E2B-it-Q4_0.ggufQ4_03.38GBfalseLegacy format, offers online repacking for ARM and AVX CPU inference.
gemma-4-E2B-it-IQ4_NL.ggufIQ4_NL3.38GBfalseSimilar to IQ4_XS, but slightly larger. Offers online repacking for ARM CPU inference.
gemma-4-E2B-it-IQ4_XS.ggufIQ4_XS3.32GBfalseDecent quality, smaller than Q4_K_S with similar performance, recommended.
gemma-4-E2B-it-Q3_K_L.ggufQ3_K_L3.29GBfalseLower quality but usable, good for low RAM availability.
gemma-4-E2B-it-Q3_K_M.ggufQ3_K_M3.23GBfalseLow quality.
gemma-4-E2B-it-IQ3_M.ggufIQ3_M3.16GBfalseMedium-low quality, new method with decent performance comparable to Q3_K_M.
gemma-4-E2B-it-Q3_K_S.ggufQ3_K_S3.13GBfalseLow quality, not recommended.
gemma-4-E2B-it-IQ3_XS.ggufIQ3_XS3.10GBfalseLower quality, new method with decent performance, slightly better than Q3_K_S.
gemma-4-E2B-it-Q2_K.ggufQ2_K3.02GBfalseVery low quality but surprisingly usable.
gemma-4-E2B-it-IQ2_M.ggufIQ2_M2.62GBfalseRelatively 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/google_gemma-4-E2B-it-GGUF --include "google_gemma-4-E2B-it-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/google_gemma-4-E2B-it-GGUF --include "google_gemma-4-E2B-it-Q8_0/*" --local-dir ./

You can either specify a new local-dir (google_gemma-4-E2B-it-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, but will be slower than their K-quant equivalent, so speed vs performance is a tradeoff you'll have to decide.

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.

Thank you to LM Studio for sponsoring my work.

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

Files

28 files · 90.0 GBWeights 2.82 MB (smallest of 24 GGUF variants). Sizes and sha256 from the signed manifest.
Show all 28 files with their sha256
FileSizesha256
.gitattributes3.34 KB6dc35804fa6b6b5f1bcc3c04d89607225e2e74205e9f8535b503280e1ff43ac6
README.md13.6 KB1b3d4ad0008868e9a55821e095335d20bfcd3e79e50ce5082763681d858d66fa
google_gemma-4-E2B-it-IQ2_M.gguf2.62 GBecd5277ec618144f1c0421994f161dbcd32722836f5f3eb22bc4842447149008
google_gemma-4-E2B-it-IQ3_M.gguf3.16 GBa2b57861b79bf39e84f894b69afaf241c591dba6b7a8175f2c7a621436ef0cfd
google_gemma-4-E2B-it-IQ3_XS.gguf3.10 GB851ca20671934458fe12fbea0ac47d58d7e89bf77052183e80ffd6a3a50a9965
google_gemma-4-E2B-it-IQ4_NL.gguf3.38 GB73c7722dd7c82c91df418ca3b0e10cb8118be94c96714c72528846c35760fde3
google_gemma-4-E2B-it-IQ4_XS.gguf3.32 GB41326b0d673997e4791153a96f6e452bc70460a760ed92994c24ca187ae8c6c2
google_gemma-4-E2B-it-Q2_K.gguf3.02 GB2063980a6661ebdbaf68bde36d55235824a62a3246a3bfae65c1f09e1c3fe619
google_gemma-4-E2B-it-Q2_K_L.gguf3.69 GBa47f09c0ab2122abf40405fab24c8f26b3e9fed7faa9486fb4203c7b9514ff61
google_gemma-4-E2B-it-Q3_K_L.gguf3.29 GB4b1b84e35df921f6a8c89ca3025419a8c56e3bc7b52738fe9cead0580b4bca14
google_gemma-4-E2B-it-Q3_K_M.gguf3.23 GB1c040579e8509649aa2db4c64ae22e2627efbe7f5c0629b506dd2ef918ecf476
google_gemma-4-E2B-it-Q3_K_S.gguf3.13 GB69e90a1fe6dd92d2a6ddca370efc6e5c426c8dd35ff094e10077f1133898f3d7
google_gemma-4-E2B-it-Q3_K_XL.gguf3.96 GB31644ee340de5413fd34008b25c0f1174a45204792b4029ac7a31c319ad96716
google_gemma-4-E2B-it-Q4_0.gguf3.38 GB2d9a803a627ee94230dc23681008ae340d9785a2374e2a6a0c8d69c7ee7ea47e
google_gemma-4-E2B-it-Q4_1.gguf3.49 GB5c806c590e07b3dad4f8a04ffcf744f0ddc690ad1c492518d86f894270556edd
google_gemma-4-E2B-it-Q4_K_L.gguf4.13 GB55f18873822c8b1f27d2e76b204fafc6cd1d1ff268526a70dc95c6ef6b83d52e
google_gemma-4-E2B-it-Q4_K_M.gguf3.46 GB923c4c86177d2ee173a7f5b4fa3d0ac65f5962ab15e6d6a5bc250aec4fd7bf7e
google_gemma-4-E2B-it-Q4_K_S.gguf3.38 GBeda795d330066dc002985eabac833286101faabea16567ae70eeb4cd1e6cf733
google_gemma-4-E2B-it-Q5_K_L.gguf4.32 GBd1bd20d5d6a9bfab2a11420166022b1e988c03eb0d14bb583e1227b8ebb1934b
google_gemma-4-E2B-it-Q5_K_M.gguf3.66 GBe0400afe4c2cc8069238bff9f6e990cd4e087f76aa8fc35a6f076874d0d6dac7
google_gemma-4-E2B-it-Q5_K_S.gguf3.60 GB8c2935380e3625f79c52454a115fc8498b69ac56aaf219de3c926ec5c6cea567
google_gemma-4-E2B-it-Q6_K.gguf3.90 GBd7ea8cdd30d8e15bf11e5a37e8c141a600ad161d847165591fe86ab0288fb9d4
google_gemma-4-E2B-it-Q6_K_L.gguf4.56 GBe0c09a024147dfa35f691ea585086b408f88fbc7e442deffeabc04d409ebc607
google_gemma-4-E2B-it-Q8_0.gguf4.97 GBbb145c0e8c2ede3b6992b881f7eefe6b33275eeb9998f450b5c72f4eb1d78732
google_gemma-4-E2B-it-bf16.gguf9.31 GB6a737131362433969a148503c92ef28cf7cf80648ac8ec74af19413a331b575c
google_gemma-4-E2B-it-imatrix.gguf2.82 MB1c8221a2e593ab9843d130bb0096bfe50ec81a94134f212c820d9a3f3ae4ac2c
mmproj-google_gemma-4-E2B-it-bf16.gguf987 MBd460bb51ce5115232a723a7366694c8ee70d8aa8f60159d182a1da0777d10db3
mmproj-google_gemma-4-E2B-it-f16.gguf986 MB3397f2e15859d268dc91782e92e70c485c7780448d57d622d145374390168f71
VersionsEach time the pinned upstream commit or file list changed in this repo. Newest first.
Upstream commitDateContents
81012ba353 pinned now manifest updated, same commit2026-11-14 21:27 UTC28 files · 90.0 GB
81012ba3532026-11-14 21:27 UTC28 files · 90.0 GB

Use it

$ fw get bartowski/google_gemma-4-E2B-it-GGUF
# manifest sha256 3504cd9951d1… · 90.0 GB · 28 files
$ fw verify ./google_gemma-4-E2B-it-GGUF bartowski/google_gemma-4-E2B-it-GGUF
fw.pyChecks the signature and every sha256, tries each source in order, resumes.
$ python3 fw.py get https://freeweights.allternit.com/manifests/bartowski/google_gemma-4-E2B-it-GGUF.json --dir ./google_gemma-4-E2B-it-GGUF $ python3 fw.py verify ./google_gemma-4-E2B-it-GGUF ./bartowski__google_gemma-4-E2B-it-GGUF.json
hfThe Hugging Face CLI with one setting. Same repo id.
$ HF_ENDPOINT=https://freeweights.allternit.com hf download bartowski/google_gemma-4-E2B-it-GGUF --revision 81012ba3538e061d5ee003f11f25335b17f82e2d --local-dir ./google_gemma-4-E2B-it-GGUF
llama.cppDownload one GGUF variant (google_gemma-4-E2B-it-imatrix, 2.82 MB), then serve it.
$ HF_ENDPOINT=https://freeweights.allternit.com hf download bartowski/google_gemma-4-E2B-it-GGUF --include "google_gemma-4-E2B-it-imatrix*" --local-dir ./google_gemma-4-E2B-it-GGUF $ llama-server -m ./google_gemma-4-E2B-it-GGUF/google_gemma-4-E2B-it-imatrix.gguf
OllamaMake an Ollama model from the downloaded file.
$ printf 'FROM ./google_gemma-4-E2B-it-GGUF/google_gemma-4-E2B-it-imatrix.gguf\n' > Modelfile $ ollama create google-gemma-4-e2b-it-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-14
Text in
README.md
Text sha256
1b3d4ad0008868e9a55821e095335d20bfcd3e79e50ce5082763681d858d66fa
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.gemmaSubject: google_gemma-4-E2B-it-GGUFDate: 2026-11-14Commit: 81012baSigned: 2DC28CC7B26A283B ✓
Upstream
bartowski/google_gemma-4-E2B-it-GGUF
Pinned commit
81012ba3538e061d5ee003f11f25335b17f82e2d
Manifest
google_gemma-4-E2B-it-GGUF.json · .minisig
Manifest sha256
3504cd9951d10f222478688c213e2bb80206851b40337501791bf6f6498e0551
Signature
minisign, Ed25519, key 2DC28CC7B26A283B
Created
2026-11-14 21:27 UTC
Generator
freeweights-manifest/0.1.0
Takedowns
None.

How to verify

$ curl -O https://freeweights.allternit.com/manifests/bartowski/google_gemma-4-E2B-it-GGUF.json $ curl -O https://freeweights.allternit.com/manifests/bartowski/google_gemma-4-E2B-it-GGUF.json.minisig $ minisign -Vm google_gemma-4-E2B-it-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

google/gemma-4-E2B-it · 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/google_gemma-4-E2B-it-GGUF
Open in Freeweights Studio

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

Signed manifest
minisign, key 2DC28CC7B26A283B. google_gemma-4-E2B-it-GGUF.json. Provenance. Takedown history: none.
From: laion <huggingface.co/laion>Subject: Alexandria-Gemma-4-12B-it-Ornith9-Summaries-LoRA-r128
From: laion <huggingface.co/laion>Subject: Alexandria-Gemma-4-12B-it-Ornith9-Summaries-LoRA-r64
From: laion <huggingface.co/laion>Subject: Alexandria-Gemma-4-12B-it-Qwen27-Knowledge-Units-LoRA-r128
From: laion <huggingface.co/laion>Subject: Alexandria-Gemma-4-12B-it-Qwen27-Summaries-LoRA-r128
From: laion <huggingface.co/laion>Subject: Alexandria-Gemma-4-12B-it-Qwen27-Summaries-LoRA-r64
From: laion <huggingface.co/laion>Subject: Alexandria-Gemma-4-E4B-it-Qwen27-Knowledge-Units-LoRA-r128