Downloads · 30 days
56
19% of all-time downloads
dahus/gemma-3-1b-it-Q8_0-GGUF
gemma-3-1b-it-Q8_0-GGUF is a machine learning model from dahus. Use it for the machine learning task on the model card, and read the license before you ship it in a product. The card lists the license as gemma.
GGUF Q80 quantization of google/gemma-3-1b-it, converted and quantized from scratch using llama.cpp.
Downloads · 30 days
56
19% of all-time downloads
All-time downloads
291
Public
Repo size
1.1 GB
Likes
0
Public
Click a slice to open those files.
.gguf1.1 GB · 100%
From the Hugging Face model README
GGUF Q8_0 quantization of google/gemma-3-1b-it, converted and quantized from scratch using llama.cpp.
| Step | Tool | Input | Output |
|---|---|---|---|
| 1 | convert_hf_to_gguf.py | BF16 safetensors | F16.gguf |
| 2 | llama-quantize | F16.gguf | Q8_0.gguf |
| File | Size | Description |
|---|---|---|
gemma-3-1b-it-Q8_0.gguf | 1.07 GB | Q8_0 — 8-bit quantization, 8.50 BPW |
| Model | Prefill | Throughput | VRAM |
|---|---|---|---|
| BF16 (transformers) | 226 ms | 8.7 tok/s | 3334 MB |
| INT8 BitsAndBytes | 245 ms | 5.2 tok/s | 1329 MB |
| GGUF Q8_0 (this) | 83 ms | 107 tok/s | ~1100 MB |
from llama_cpp import Llama
llm = Llama.from_pretrained(
repo_id="MichaelLowrance/gemma-3-1b-it-Q8_0-GGUF",
filename="gemma-3-1b-it-Q8_0.gguf",
n_gpu_layers=-1,
n_ctx=2048,
)
output = llm(
"<start_of_turn>user\nHello!<end_of_turn>\n<start_of_turn>model\n",
max_tokens=100,
temperature=0.7,
)
print(output["choices"][0]["text"])