Sieve-31B-v3 β ROCmFP4 GGUF
ROCmFP4 quantization of sthanika-ai/Sieve-31B-v3 (Gemma 4 31B Instruct family, 31.27B params, Apache-2.0). Same recipe as the Gemma 4 31B Instruct ROCmFP4 build: Q4_0_ROCMFP4_COHERENT (ftype 102) with token_embd as q6_K, plus the BF16 vision projector and the official Gemma 4 31B Instruct MTP drafter.
Built for AMD Strix Halo (gfx1151) β Ryzen AI MAX+ 395, 128 GB unified memory. These files need a llama.cpp build that implements Q4_0_ROCMFP4_*. They will not load in stock llama.cpp / Ollama / LM Studio.
Files
| file | size (bytes) | sha256 |
|---|---|---|
Sieve-31B-v3-Q4_0_ROCMFP4_COHERENT-imatrix-headQ6K.gguf |
17651001952 | 78494bfd7af5663a917c3a31a6cf0fed1653977e9deccd7b4a0a9e637cd23bca |
mmproj-BF16.gguf |
1200726496 | af9a2e7c6929b4c352fb2dc843beda191bf9257dfe49d30b4a4bb023db7a1720 |
mtp-gemma-4-31B-it-Q8_0.gguf |
514687104 | 5ae8b0117bed601e8924c6305bd5b0585de361d51f0e77091bcb4252cf1f27de |
Quant size 16818.21 MiB (4.60 BPW). token_embd.weight is q6_K. tie_word_embeddings = true β there is no output.weight; --output-tensor-type is a silent no-op and --token-embedding-type q6_K is the head flag.
mmproj-BF16.gguf is required for image input. The drafter is the base Gemma 4 31B Instruct assistant (Q8_0, 491 MiB).
How to run
Recommended text command (family seat flags; this is what produced the chat / tool-call check and the short MTP decode numbers):
llama-server -m Sieve-31B-v3-Q4_0_ROCMFP4_COHERENT-imatrix-headQ6K.gguf \
--spec-type draft-mtp --model-draft mtp-gemma-4-31B-it-Q8_0.gguf \
--spec-draft-ngl 999 --spec-draft-n-max 5 \
-ngl 999 -c 4096 -fa on -fit off --jinja --parallel 1
For vision, drop the --spec-type flags, pass --mmproj mmproj-BF16.gguf, and use -fa off. MTP and image input cannot be used together on this stack.
Measured
Hardware: AMD Ryzen AI MAX+ 395 (Strix Halo, gfx1151), 128 GB unified. Load: -ngl 999 -fa on -fit off.
Perplexity
llama-perplexity, corpus = kit holdout.txt (74993 bytes, sha256 167d6b72bcaf3e0139fa407889b7b1aeee18e304ec5b5ce6135efb669b9647f8), n_ctx=4096, --chunks 5, -ngl 999 -fa on -fit off.
| file | PPL | vs Q8_0 |
|---|---|---|
| Q8_0 reference | 575.8471 | 1.000 |
| COHERENT (this file) | 594.4354 | 1.0323 |
1.02Γ Q8_0 bar = 587.364. This file is 1.0323Γ Q8_0.
Decode with the drafter (short prompts, -c 4096)
Same seat flags as above. Prompt-eval / decode from server timings; draft acceptance from draft_n_accepted/draft_n.
| prompt tokens | decode tok/s | drafts accepted | mean accepted length |
|---|---|---|---|
| 23 | 34.21 | 11/11 (1.000) | 3.75 |
| 30 | 36.21 | 61/72 (0.847) | 4.39 |
| 26 | 23.59 | 40/70 (0.571) | 3.22 |
Load-pass session totals: 54 accepted / 63 generated drafts, mean accepted length 3.52. Long prompts (β1kβ16k) with MTP abort this llama.cpp server (MTP boundary missing / speculative batch fail). Use the no-drafter command for long context.
Prefill / decode without the drafter, means of 2, speed256 harness
-ngl 999 -c 32768 -fa on -fit off --parallel 1. max_tokens 256, temperature 0, stream on. Quiet box, load_max 2.16 / 2.15.
| prompt | prefill tok/s | decode tok/s |
|---|---|---|
| p1k (1600 tok) | 263.85 | 10.8 |
| p8k (14064 tok) | 229.3 | 10.2 |
| p16k (28225 tok) | 192.35 | 9.5 |
Code-prompt mean decode 11.67 tok/s. Family no-drafter decode on this class of hardware is 11.81 tok/s at -c 4096.
Chat and tools
With the recommended text command: one-word capital of Australia β Canberra (finish=stop). Tool request for weather in Paris β get_weather {"city":"Paris"} (finish=tool_calls). Tool-call suite: required 7/8 and auto 7/8 (hello is not a tool call on both runs). Six text prompts 6/6 identical across the two speed legs (empty visible content: the replies sat in the reasoning channel).
Prompt-cache restore with MTP is skipped (spec-boundary-mismatch). Without MTP, sliding-window layers force a full prompt re-process (lack of cache data). Those are server / architecture limitations on this stack, not a file defect.
Quantize
Converted from the upstream safetensors with convert_hf_to_gguf.py --outtype bf16, then:
llama-quantize --imatrix imatrix.gguf \
--output-tensor-type q6_K --token-embedding-type q6_K \
Sieve-31B-v3-BF16.gguf out.gguf Q4_0_ROCMFP4_COHERENT 16
Verify token_embd.weight is q6_K in the finished file.
License
Apache-2.0, same as sthanika-ai/Sieve-31B-v3. The drafter is from the Gemma 4 31B Instruct assistant and remains under the Gemma terms of use.
- Downloads last month
- 289
4-bit
8-bit