Views
No views yet
mmproj-BF16.gguf is included for image/video
input and is optional for text-only use.| File | Purpose | Bytes | SHA-256 |
|---|---|---|---|
Qwen3.8-27B-Q4_0_ROCMI4.gguf | 27B language model, ROCmI4 weights, embedded MTP | 14,534,384,384 | ad51ecbee55930ababc629c377943a7bbe50f8aafcf32340c7cdae6fa6b7bb3c |
mmproj-BF16.gguf | BF16 multimodal projector | 931,146,432 | 83ee4f4f205fa514161778c41df1ea14144faa0f713510893b63c2395f5c2d53 |
qwen35Q4_0_ROCMI4 (GGML type 108)qwen35.nextn_predict_layers = 1nextn.eh_proj, nextn.enorm, nextn.hnorm, and
nextn.shared_head_normc49ebdbd5c9f01ec242369f9e7f7967855f80cba
or a later compatible commit.gfx1151. Build HIP-only: a combined HIP/Vulkan scheduler can attempt to send
ROCmI4 tensors to Vulkan, which has no shader for this custom type.1git clone https://github.com/charlie12345/ROCmFPX.git
2cd ROCmFPX
3git checkout c49ebdbd5c9f01ec242369f9e7f7967855f80cba
4
5cmake -S . -B build-rocmi4-w4a4 \
6 -DGGML_HIP=ON \
7 -DGGML_VULKAN=OFF \
8 -DCMAKE_HIP_ARCHITECTURES=gfx1151 \
9 -DGGML_HIP_ROCMI4_W4A4=ON \
10 -DLLAMA_BUILD_SERVER=ON
11
12cmake --build build-rocmi4-w4a4 \
13 --target llama-cli llama-server llama-bench -j 16export HSA_OVERRIDE_GFX_VERSION=11.5.1ROCmI4 W4A4: enabled. If the option is
off, ROCmFPX retains the exact int8 MMQ fallback. W4A4 is faster but adds lossy
four-bit activation quantization.1hf auth login
2hf download cafonez/Qwen3.8-27B-ROCmI4-MTP-GGUF \
3 --local-dir ./Qwen3.8-27B-ROCmI4-MTP-GGUF1cd Qwen3.8-27B-ROCmI4-MTP-GGUF
2sha256sum -c checksums.sha256llama-cli is interactive, so feed /dev/null, use -st, and cap -n in
automated tests:1timeout 180 ./build-rocmi4-w4a4/bin/llama-cli \
2 -m ./Qwen3.8-27B-ROCmI4-MTP-GGUF/Qwen3.8-27B-Q4_0_ROCMI4.gguf \
3 -dev ROCm0 -ngl 999 -c 4096 -b 512 -ub 256 -t 16 -fa on \
4 -ctk f16 -ctv f16 -st --temp 0 -n 128 \
5 --spec-type draft-mtp --spec-mtp-strict-qwen \
6 --spec-draft-device ROCm0 --spec-draft-ngl all \
7 --spec-draft-type-k f16 --spec-draft-type-v f16 \
8 --spec-draft-n-max 16 --spec-draft-n-min 0 \
9 --spec-draft-p-min 0.60 --spec-draft-backend-sampling \
10 -p "Write a function to reverse a linked list." </dev/nullGeneration: ... t/s line, not from generated
text.--mmproj. Reduce -c if the host does not have
enough unified memory for a 262K target and draft context.1./build-rocmi4-w4a4/bin/llama-server \
2 -m ./Qwen3.8-27B-ROCmI4-MTP-GGUF/Qwen3.8-27B-Q4_0_ROCMI4.gguf \
3 --mmproj ./Qwen3.8-27B-ROCmI4-MTP-GGUF/mmproj-BF16.gguf \
4 --host 127.0.0.1 --port 8116 --alias qwen38-27b-rocmi4 \
5 -dev ROCm0 -ngl 999 -np 1 -c 262144 \
6 -b 512 -ub 256 -t 16 -tb 32 -fa on \
7 -ctk f16 -ctv f16 --jinja \
8 --spec-type draft-mtp --spec-mtp-strict-qwen \
9 --spec-draft-device ROCm0 --spec-draft-ngl all \
10 --spec-draft-type-k f16 --spec-draft-type-v f16 \
11 --spec-draft-n-max 16 --spec-draft-n-min 0 \
12 --spec-draft-p-min 0.60 --spec-draft-backend-sampling1curl http://127.0.0.1:8116/v1/chat/completions \
2 -H 'Content-Type: application/json' \
3 -d '{
4 "model": "qwen38-27b-rocmi4",
5 "messages": [{"role": "user", "content": "Say hello."}],
6 "temperature": 0,
7 "max_tokens": 64
8 }'n_max=16, p_min=0.60, strict Qwen MTP,
and backend sampling. It is the profile used by the live service from which
this artifact was verified. MTP gains depend strongly on content: predictable
code, structured data, and lists tend to accept longer drafts than creative
prose. If acceptance or stability is poor, lower --spec-draft-n-max to 4 or
6 and remeasure the same workload.v_wmma_i32_16x16x16_iu4 matrix instruction spelling on
gfx1151. It is an execution path, not another model format.gfx1151) system and the pinned ROCmFPX build. They are not guarantees for
other prompts or hosts.| Qualification | Result |
|---|---|
| 10-task HumanEval pilot, exact ROCmI4 MMQ, strict MTP-16 | 41.63 tok/s mean |
| 10-task HumanEval pilot, W4A4 IU4, strict MTP-16 | 49.40 tok/s mean |
| Full 164-task HumanEval, W4A4 IU4 | 44.39 tok/s mean, 45.23 tok/s median |
| Full HumanEval / HumanEval+ pass@1 | 94.5% / 91.5% |
Non-speculative tg128 | about 13.8 tok/s |
gfx1151.Q4_0_ROCMI4 and the MTP flags require the ROCmFPX fork; stock llama.cpp may
reject the file or omit the optimized path.mmproj-BF16.gguf and significantly more memory.LICENSE. Attribution and modification details are also recorded in
NOTICE.Qwen/Qwen3.8-27B as the base model, Unsloth as
the original GGUF quantizer, and Apache-2.0 as the license. The local
ROCmI4 file was produced by requantizing the corresponding ROCmFP8 GGUF with
ROCmFPX while preserving the embedded NextN/MTP tensors. The multimodal
projector matches the one published in
unsloth/Qwen3.8-27B-GGUF.Qwen/Qwen3.8-27B at
1d4bf0f2ff6012fd82039f2fa52739d0dd7c60c0unsloth/Qwen3.8-27B-GGUF at
4ca720788d1e01f1bff70c033e0d0028fd02e502charlie12345/ROCmFPX at
c49ebdbd5c9f01ec242369f9e7f7967855f80cba