MedGemma 2 E4B-it
Run with https://llama.app
llama serve -hf ggml-org/medgemma-2-E4B-it-GGUF:Q8_0
Source models
- https://huggingface.co/google/medgemma-2-E4B-it
Files
| Quant | Size | Notes |
|---|---|---|
| BF16 | 15.1 GB | 16-bit precision |
| Q8_0 | 8.00 GB | Near-lossless. All weight matrices at Q8_0 |
| Q4_K_M | 5.65 GB | 4-bit FFN weights with attention and per-layer embedding projections (inp_gate, proj) kept at Q8_0 |
| mmproj (BF16, Q8_0) | 992 / 560 MB | Vision and audio encoders |
Notes
- MedGemma 2 E4B-it is a 7.5B total (4.5B effective) Gemma 4 multimodal model with text, image, and audio input, 42 layers (including 18 shared-KV layers), per-layer input embeddings, and 128K context.
- In
Q4_K_M, active attention projections (attn_) and per-layer embedding projections (inp_gate,proj) are kept at Q8_0, which cuts KL divergence 4.8x without requiring an imatrix. - KL divergence against the BF16 on wikitext-2 (40 x 512 tokens): Q8_0 0.0012 (98.7% same top token), Q4_K_M 0.0265 (92.9% same top token).
[!IMPORTANT] This model is automatically converted using https://github.com/ggml-org/convert