Vegss jcbtc commited on
Commit
c9b7c9a
·
0 Parent(s):

Duplicate from jcbtc/qwopus3.6-27b-v2-chadrock-rocmfp4-mtp

Browse files

Co-authored-by: crown <jcbtc@users.noreply.huggingface.co>

.gitattributes ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ *.gguf filter=lfs diff=lfs merge=lfs -text
2
+ *.mmproj filter=lfs diff=lfs merge=lfs -text
3
+ *.png filter=lfs diff=lfs merge=lfs -text
Qwopus3.6-27B-v2-MTP-BF16-to-ROCmFP4-STRIX_LEAN.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1f1c0a9d63b9b38b06feb4f460f9cb6ed85f001331be713f09e6c2aaff5367e4
3
+ size 14817251552
README.md ADDED
@@ -0,0 +1,222 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: apache-2.0
3
+ base_model:
4
+ - Jackrong/Qwopus3.6-27B-v2
5
+ - Jackrong/Qwopus3.6-27B-v2-MTP-GGUF
6
+ base_model_relation: quantized
7
+ datasets:
8
+ - Jackrong/Claude-opus-4.6-TraceInversion-9000x
9
+ - Jackrong/Claude-opus-4.7-TraceInversion-5000x
10
+ language:
11
+ - en
12
+ - zh
13
+ - ko
14
+ - ru
15
+ - ja
16
+ - es
17
+ library_name: llama.cpp
18
+ pipeline_tag: image-text-to-text
19
+ tags:
20
+ - qwopus3.6
21
+ - qwen3.6
22
+ - qwen35
23
+ - 27b
24
+ - model-size-27b
25
+ - dense
26
+ - gguf
27
+ - mtp
28
+ - rocm
29
+ - rocmfp4
30
+ - llama.cpp
31
+ - amd
32
+ - ryzen-ai-max-395
33
+ - strix-halo
34
+ - vision
35
+ - multimodal
36
+ - image-text-to-text
37
+ - tool-calling
38
+ - coding
39
+ ---
40
+
41
+ ![Qwopus3.6 27B v2 Chadrock ROCmFP4 MTP](assets/chadrock27b.png)
42
+
43
+ # Qwopus3.6 27B v2 Chadrock ROCmFP4 MTP
44
+
45
+ Qwopus3.6 Chadrock is a ROCmFP4/MTP GGUF build of `Jackrong/Qwopus3.6-27B-v2`, tuned for AMD Ryzen AI Max+ 395 / Strix Halo systems.
46
+
47
+ This model keeps the Qwopus3.6 27B v2 behavior people like, then puts it through Charlie's AMD-focused ROCmFP4 + MTP runtime path. The result is a compact 14 GB GGUF that runs with native draft-MTP on Strix Halo and posts a better HumanEval result than the original local Qwopus3.6 27B v2 Q5 row.
48
+
49
+ This GGUF will **not run correctly with stock llama.cpp**. You need the custom [`charlie12345/rocmfp4-llama`](https://github.com/charlie12345/rocmfp4-llama) build because this file uses ROCmFP4 tensor types that upstream llama.cpp does not currently understand.
50
+
51
+ The model file is already provided here. You do **not** need to rebuild or quantize the model. You only need to build the custom llama server once.
52
+
53
+ ## Why This Mix
54
+
55
+ Qwopus3.6 27B v2 is already a strong dense local model with vision and tool-use capability. Chadrock adds the AMD runtime piece:
56
+
57
+ - Qwopus3.6 27B v2 behavior from Jackrong
58
+ - native MTP serving
59
+ - ROCmFP4 Strix Lean tensor recipe
60
+ - AMD ROCm/HIP backend path
61
+ - 262K context target
62
+ - one-slot draft-MTP profile for real local use
63
+
64
+ This is not just a smaller file. It is a model/runtime pairing built for Strix Halo.
65
+
66
+ ## Model Lineage
67
+
68
+ This card follows the upstream tree from Jackrong's Qwopus card, then adds this ROCmFP4 / Chadrock build at the end:
69
+
70
+ ```text
71
+ Qwen/Qwen3.6-27B
72
+ -> Jackrong/Qwopus3.6-27B-v2
73
+ datasets:
74
+ - Jackrong/Claude-opus-4.6-TraceInversion-9000x
75
+ - Jackrong/Claude-opus-4.7-TraceInversion-5000x
76
+ -> Jackrong/Qwopus3.6-27B-v2-MTP-GGUF
77
+ -> jcbtc/qwopus3.6-27b-v2-chadrock-rocmfp4-mtp
78
+ ```
79
+
80
+ In plain terms: Qwen provides the dense 27B foundation, Jackrong's Qwopus v2 adds the Trace Inversion / curriculum SFT behavior, Jackrong's MTP GGUF provides the MTP source path, and this release converts that line into the Strix-focused ROCmFP4 Chadrock format.
81
+
82
+ ## Technical Metadata
83
+
84
+ | Field | Value |
85
+ | --- | --- |
86
+ | model size | `27B` dense |
87
+ | architecture | `qwen35` |
88
+ | GGUF size label | `27B` |
89
+ | direct upstream behavior model | `Jackrong/Qwopus3.6-27B-v2` |
90
+ | direct upstream MTP GGUF | `Jackrong/Qwopus3.6-27B-v2-MTP-GGUF` |
91
+ | base family | `Qwen/Qwen3.6-27B` |
92
+ | local runtime format | ROCmFP4 Chadrock GGUF |
93
+
94
+ ## Headline Benchmarks
95
+
96
+ All local numbers below were measured on AMD Ryzen AI Max+ 395 / Strix Halo.
97
+
98
+ ### HumanEval
99
+
100
+ | Model / row | HumanEval base | HumanEval+ |
101
+ | --- | ---: | ---: |
102
+ | Qwopus3.6 27B v2 Chadrock ROCmFP4 MTP | `159/164 = 96.95%` | `155/164 = 94.51%` |
103
+ | Original Qwopus3.6 27B v2 Q5_K_M | `151/164 = 92.07%` | `147/164 = 89.63%` |
104
+
105
+ That is an `+8 task` improvement on base HumanEval and an `+8 task` improvement on HumanEval+ versus the recorded original Qwopus3.6 27B v2 Q5_K_M row.
106
+
107
+ ### HumanEval Speed
108
+
109
+ | Metric | Qwopus3.6 Chadrock |
110
+ | --- | ---: |
111
+ | HumanEval tasks | `164` |
112
+ | completion tokens generated | `45,033` |
113
+ | cumulative request latency | `1346.8s` |
114
+ | mean total-token request speed | `59.08 tok/s` |
115
+ | median total-token request speed | `60.04 tok/s` |
116
+ | completion-only llama.cpp eval speed | `~33.44 tok/s` |
117
+ | peak active completion speed | `~37.14 tok/s` |
118
+
119
+ The stored original Qwopus3.6 27B v2 Q5_K_M HumanEval run recorded `3834s` generation time. This Chadrock run completed the same 164-task HumanEval codegen workload with about `2.8x` lower recorded request-generation time while also scoring higher.
120
+
121
+ ### BFCL Tool Calling
122
+
123
+ Qwopus3.6 Chadrock also did well on BFCL v4 non-live tool-calling rows:
124
+
125
+ | BFCL v4 row | Score |
126
+ | --- | ---: |
127
+ | non-live overall | `85.88%` |
128
+ | simple Python AST | `94.50%` |
129
+ | multiple-call AST | `96.00%` |
130
+ | parallel-call AST | `86.50%` |
131
+ | parallel multiple-call AST | `85.50%` |
132
+ | irrelevance detection | `81.67%` |
133
+
134
+ This is the profile to try if you want a local Strix Halo model that feels fast while still staying sharp on coding and tool-use formats.
135
+
136
+ ## Run With llama-server
137
+
138
+ Build Charlie's custom llama.cpp once, download this GGUF, then run:
139
+
140
+ ```bash
141
+ HSA_OVERRIDE_GFX_VERSION=11.5.1 \
142
+ GGML_HIP_ENABLE_UNIFIED_MEMORY=1 \
143
+ /path/to/rocmfp4-llama/build-strix-rocmfp4/bin/llama-server \
144
+ -m Qwopus3.6-27B-v2-MTP-BF16-to-ROCmFP4-STRIX_LEAN.gguf \
145
+ --mmproj mmproj-F32.mmproj \
146
+ --alias qwopus3.6-27b-v2-chadrock \
147
+ --host 127.0.0.1 \
148
+ --port 8080 \
149
+ --jinja \
150
+ -c 262144 \
151
+ -ngl 999 \
152
+ -fa on \
153
+ -dev ROCm0 \
154
+ -b 512 \
155
+ -ub 512 \
156
+ -t 16 \
157
+ -tb 32 \
158
+ -ctk q4_0 \
159
+ -ctv q4_0 \
160
+ --spec-type draft-mtp \
161
+ --spec-draft-device ROCm0 \
162
+ --spec-draft-ngl all \
163
+ --spec-draft-type-k q4_0 \
164
+ --spec-draft-type-v q4_0 \
165
+ --spec-draft-n-max 4 \
166
+ --spec-draft-n-min 0 \
167
+ --spec-draft-p-min 0.0 \
168
+ --spec-draft-p-split 0.10 \
169
+ --parallel 1 \
170
+ --metrics \
171
+ --no-mmap
172
+ ```
173
+
174
+ Use `--parallel 1` for MTP. Multi-slot serving changes the draft-MTP behavior and is not the intended profile.
175
+
176
+ For text-only use, you may omit `--mmproj`.
177
+
178
+ For vision use, keep `mmproj-F32.mmproj` beside the main GGUF, but run with MTP off. In practice, that means using the vision projector and removing the `--spec-*` draft-MTP flags from the command.
179
+
180
+ The projector is a GGUF-format projector file with a `.mmproj` repo extension so Hugging Face's GGUF metadata badge tracks the 27B language model rather than the smaller CLIP projector.
181
+
182
+ ## Build The Required llama.cpp
183
+
184
+ The GGUF is already provided. You only need to build the custom llama.cpp server once:
185
+
186
+ ```bash
187
+ git clone https://github.com/charlie12345/rocmfp4-llama.git
188
+ cd rocmfp4-llama
189
+ git checkout mtp-rocmfp4-strix
190
+ env JOBS=16 scripts/build-strix-rocmfp4-mtp.sh
191
+ ```
192
+
193
+ The server binary will be here:
194
+
195
+ ```text
196
+ build-strix-rocmfp4/bin/llama-server
197
+ ```
198
+
199
+ ## About ROCmFP4 / Chadrock
200
+
201
+ Charlie's ROCmFP4 method adds AMD-focused GGUF tensor formats and backend paths to llama.cpp.
202
+
203
+ ROCmFP4 is not stock Q4, MXFP4, or NVFP4. It uses custom 4-bit tensor layouts, Codebook10 values, finite unsigned E4M3 scale semantics, tensor-aware Strix presets, ROCm/HIP kernels, Vulkan support, and MTP regression guards.
204
+
205
+ Why it matters: Strix Halo has a large unified-memory pool, but good local serving still depends on memory bandwidth, tensor layout, KV traffic, and draft-token acceptance. Chadrock is built for that exact hardware shape.
206
+
207
+ ## Files
208
+
209
+ | File | Size | SHA256 |
210
+ | --- | ---: | --- |
211
+ | `Qwopus3.6-27B-v2-MTP-BF16-to-ROCmFP4-STRIX_LEAN.gguf` | `14 GB` | `1f1c0a9d63b9b38b06feb4f460f9cb6ed85f001331be713f09e6c2aaff5367e4` |
212
+ | `mmproj-F32.mmproj` | `889 MB` | `bf51f62572c6e513659d3fa4989ac846e58fa8c30fb60ecb8112aebb1f3128a3` |
213
+
214
+ ## Credits
215
+
216
+ - **[Qwen](https://huggingface.co/Qwen)**: `Qwen/Qwen3.6-27B` base model family.
217
+ - **[Jackrong](https://huggingface.co/Jackrong)**: `Qwopus3.6-27B-v2`, the Trace Inversion datasets, and the MTP GGUF source.
218
+ - **charlie12345 / [@Italianclownz](https://x.com/Italianclownz)**: ROCmFP4 llama.cpp fork, Strix Halo build path, and AMD-focused MTP runtime work.
219
+
220
+ ## Notes
221
+
222
+ This is an experimental AMD ROCmFP4/MTP build. Performance depends on driver version, clocks, prompt shape, MTP acceptance, and serving flags. The numbers above are local reproducible measurements, not universal llama.cpp claims.
assets/chadrock27b.png ADDED

Git LFS Details

  • SHA256: 75a9f9d3e3089237d3acafd17f9aedb325bfe26f629f3db8fd444985bbf642be
  • Pointer size: 132 Bytes
  • Size of remote file: 2.58 MB
mmproj-F32.mmproj ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:bf51f62572c6e513659d3fa4989ac846e58fa8c30fb60ecb8112aebb1f3128a3
3
+ size 931145760
scripts/serve_qwopus36_27b_v2_chadrock_rocmfp4_mtp.sh ADDED
@@ -0,0 +1,39 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ #!/usr/bin/env bash
2
+ set -euo pipefail
3
+
4
+ server="${LLAMA_SERVER:-/path/to/rocmfp4-llama/build-strix-rocmfp4/bin/llama-server}"
5
+ model="${MODEL:-Qwopus3.6-27B-v2-MTP-BF16-to-ROCmFP4-STRIX_LEAN.gguf}"
6
+ mmproj="${MMPROJ:-mmproj-F32.gguf}"
7
+
8
+ exec env \
9
+ HSA_OVERRIDE_GFX_VERSION="${HSA_OVERRIDE_GFX_VERSION:-11.5.1}" \
10
+ GGML_HIP_ENABLE_UNIFIED_MEMORY="${GGML_HIP_ENABLE_UNIFIED_MEMORY:-1}" \
11
+ "$server" \
12
+ -m "$model" \
13
+ --mmproj "$mmproj" \
14
+ --alias qwopus3.6-27b-v2-chadrock \
15
+ --host "${HOST:-127.0.0.1}" \
16
+ --port "${PORT:-8080}" \
17
+ --jinja \
18
+ -c "${CTX:-262144}" \
19
+ -ngl 999 \
20
+ -fa on \
21
+ -dev "${DEVICE:-ROCm0}" \
22
+ -b 512 \
23
+ -ub 512 \
24
+ -t 16 \
25
+ -tb 32 \
26
+ -ctk q4_0 \
27
+ -ctv q4_0 \
28
+ --spec-type draft-mtp \
29
+ --spec-draft-device "${SPEC_DRAFT_DEVICE:-ROCm0}" \
30
+ --spec-draft-ngl all \
31
+ --spec-draft-type-k q4_0 \
32
+ --spec-draft-type-v q4_0 \
33
+ --spec-draft-n-max 4 \
34
+ --spec-draft-n-min 0 \
35
+ --spec-draft-p-min 0.0 \
36
+ --spec-draft-p-split 0.10 \
37
+ --parallel 1 \
38
+ --metrics \
39
+ --no-mmap