Downloads · 30 days
73
17% of all-time downloads
eemin/Qwen3.8-27B-ROCmI4-MTP-GGUF
Qwen3.8-27B-ROCmI4-MTP-GGUF is a image-text-to-text model from eemin. Use it for the image-text-to-text task on the model card, and read the license before you ship it in a product. The card lists the license as apache-2.0.
This private repository contains the tested Qwen3.8-27B artifact used with the experimental ROCmI4/IU4 path in charlie12345/ROCmFPX. It is a conversion/quantization of Qwen/Qwen3.8-27B, not a newly trained model.
Downloads · 30 days
73
17% of all-time downloads
All-time downloads
421
Public
Repo size
15.5 GB
Likes
0
Public
Click a slice to open those files.
.gguf15.5 GB · 100%
From the Hugging Face model README
This private repository contains the tested Qwen3.8-27B artifact used with the experimental ROCmI4/IU4 path in charlie12345/ROCmFPX. It is a conversion/quantization of Qwen/Qwen3.8-27B, not a newly trained model.
The main GGUF includes the model's one-layer NextN/MTP head. You do not
need a separate draft model. 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 |
Verified GGUF metadata:
qwen35Q4_0_ROCMI4 (GGML type 108)qwen35.nextn_predict_layers = 1nextn.eh_proj, nextn.enorm, nextn.hnorm, and
nextn.shared_head_normStock llama.cpp builds are not expected to understand this custom ROCmI4 type
or the qualified IU4/MTP path. Use ROCmFPX commit
c49ebdbd5c9f01ec242369f9e7f7967855f80cba
or a later compatible commit.
The fast W4A4 path is opt-in and currently qualified for AMD Strix Halo
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.
git clone https://github.com/charlie12345/ROCmFPX.git
cd ROCmFPX
git checkout c49ebdbd5c9f01ec242369f9e7f7967855f80cba
cmake -S . -B build-rocmi4-w4a4 \
-DGGML_HIP=ON \
-DGGML_VULKAN=OFF \
-DCMAKE_HIP_ARCHITECTURES=gfx1151 \
-DGGML_HIP_ROCMI4_W4A4=ON \
-DLLAMA_BUILD_SERVER=ON
cmake --build build-rocmi4-w4a4 \
--target llama-cli llama-server llama-bench -j 16
If ROCm does not identify Strix Halo natively:
export HSA_OVERRIDE_GFX_VERSION=11.5.1
At startup, verify that the log says ROCmI4 W4A4: enabled. If the option is
off, ROCmFPX retains the exact int8 MMQ fallback. W4A4 is faster but adds lossy
four-bit activation quantization.
You must be granted access and logged in:
hf auth login
hf download cafonez/Qwen3.8-27B-ROCmI4-MTP-GGUF \
--local-dir ./Qwen3.8-27B-ROCmI4-MTP-GGUF
Verify the download:
cd Qwen3.8-27B-ROCmI4-MTP-GGUF
sha256sum -c checksums.sha256
llama-cli is interactive, so feed /dev/null, use -st, and cap -n in
automated tests:
timeout 180 ./build-rocmi4-w4a4/bin/llama-cli \
-m ./Qwen3.8-27B-ROCmI4-MTP-GGUF/Qwen3.8-27B-Q4_0_ROCMI4.gguf \
-dev ROCm0 -ngl 999 -c 4096 -b 512 -ub 256 -t 16 -fa on \
-ctk f16 -ctv f16 -st --temp 0 -n 128 \
--spec-type draft-mtp --spec-mtp-strict-qwen \
--spec-draft-device ROCm0 --spec-draft-ngl all \
--spec-draft-type-k f16 --spec-draft-type-v f16 \
--spec-draft-n-max 16 --spec-draft-n-min 0 \
--spec-draft-p-min 0.60 --spec-draft-backend-sampling \
-p "Write a function to reverse a linked list." </dev/null
Read throughput from the final Generation: ... t/s line, not from generated
text.
Text-only users may omit --mmproj. Reduce -c if the host does not have
enough unified memory for a 262K target and draft context.
./build-rocmi4-w4a4/bin/llama-server \
-m ./Qwen3.8-27B-ROCmI4-MTP-GGUF/Qwen3.8-27B-Q4_0_ROCMI4.gguf \
--mmproj ./Qwen3.8-27B-ROCmI4-MTP-GGUF/mmproj-BF16.gguf \
--host 127.0.0.1 --port 8116 --alias qwen38-27b-rocmi4 \
-dev ROCm0 -ngl 999 -np 1 -c 262144 \
-b 512 -ub 256 -t 16 -tb 32 -fa on \
-ctk f16 -ctv f16 --jinja \
--spec-type draft-mtp --spec-mtp-strict-qwen \
--spec-draft-device ROCm0 --spec-draft-ngl all \
--spec-draft-type-k f16 --spec-draft-type-v f16 \
--spec-draft-n-max 16 --spec-draft-n-min 0 \
--spec-draft-p-min 0.60 --spec-draft-backend-sampling
Test the endpoint:
curl http://127.0.0.1:8116/v1/chat/completions \
-H 'Content-Type: application/json' \
-d '{
"model": "qwen38-27b-rocmi4",
"messages": [{"role": "user", "content": "Say hello."}],
"temperature": 0,
"max_tokens": 64
}'
The qualified PR #94 profile is 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.
Strict MTP preserves the selected target path's greedy decisions; it does not remove the approximation introduced by optional W4A4 activation quantization.
v_wmma_i32_16x16x16_iu4 matrix instruction spelling on
gfx1151. It is an execution path, not another model format.Plain one-token decode remains memory-bandwidth-bound and uses MMVQ. MTP proposes multiple tokens and verifies them as a batch, allowing the W4A4 IU4 MMQ kernel to improve end-to-end decode when enough drafts are accepted.
Measurements below are specific to a Ryzen AI MAX+ 395 / Radeon 8060S
(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 |
The local live-service smoke for this exact GGUF on 2026-08-22 returned the requested control string with embedded MTP active. Longer recent workloads ranged from about 29 to 43 tok/s depending on draft acceptance and prompt shape.
Quality checks measured perplexity 6.3068 for this ROCmI4 artifact versus 5.9455 for a local Q4_K_M reference (about +6.1%). Separately, enabling the experimental W4A4 activation path increased a 25-chunk perplexity sample by about 5.4% over the exact ROCmI4 path. Treat W4A4 as an explicit speed/quality tradeoff.
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.This distribution is licensed under Apache License 2.0, matching the base
model. The complete, unmodified upstream license text is included as
LICENSE. Attribution and modification details are also recorded in
NOTICE.
The GGUF metadata identifies 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.
Source revisions used for this release:
Qwen/Qwen3.8-27B at
1d4bf0f2ff6012fd82039f2fa52739d0dd7c60c0unsloth/Qwen3.8-27B-GGUF at
4ca720788d1e01f1bff70c033e0d0028fd02e502charlie12345/ROCmFPX at
c49ebdbd5c9f01ec242369f9e7f7967855f80cbaChanges from the upstream distribution are limited to GGUF conversion and ROCmI4 quantization, preservation of the embedded NextN/MTP tensors, and this ROCmFPX-specific documentation/launcher. No claim is made that Qwen or Unsloth endorses this derivative. Upstream copyrights and attribution remain in force.
See the upstream Qwen3.8-27B model card for intended use, capabilities, and model-level limitations. See the ROCmFPX ROCmI4 documentation for implementation details and rollback instructions.