Inkling-2-Mini or Qwen3.8-27B for Hermes on an RX 6800
Since 2026-11-23, I’ve been running Hermes on my RX 6800 with Inkling-2-Mini, replacing Strata. A post on r/hermesagent recommended Qwen3.8-27B with a LoRA adapter trained for Hermes. I compared the models on three suites of tasks, then checked their code and how much context each could fit in VRAM.
The two models
The RX 6800 has 16 GB of VRAM and sits in an OCuLink dock on a Ryzen 7 8845HS PC with 32 GB of RAM. Both models run in the same llama.cpp build, compiled for ROCm 6.4 and gfx1030 from ggml-org/llama.cpp#32695, the pull request that adds Inkling support. It was unmerged when I built it. I added a two-line patch that copies two tensors into contiguous memory before a scale operation in Inkling’s expert layers; without it, the Vulkan build ran those operations on the CPU.
Inkling-2-Mini is a mixture-of-experts model. Its model card lists 26.4 billion parameters in total and 3.4 billion active, without specifying whether the total includes the vision encoder.
The middle 12 of its 24 layers run three times, reusing the same weights. Each token therefore passes through 48 layers, with 8 of 128 experts selected at each layer. Counting about 1 billion effective active parameters for each extra pass, the card gives a total of 5.4 billion per token.
I use Unsloth’s UD-IQ4_XS file (15.7 GB) at 64K context and a reasoning effort of 0.1. The vision projector stays in system RAM.
For the 27B I downloaded ISTA-DASLab’s GSQ-RCO IQ3_S quantization with the multi-token prediction (MTP) head, 12.1 GB. My earlier 27B setup used Unsloth’s UD-Q3_K_XL with llama.cpp’s Vulkan backend.
For the HIP runs, I used the repair prompt from my tower-defense benchmark. It comes to 15,553 tokens with Qwen’s tokenizer and 17,876 with Inkling’s. I measured decode speed over a 1,500-token answer.
| Setup | Prompt processing | Decode |
|---|---|---|
| Qwen3.8-27B UD-Q3_K_XL, Vulkan (October) | 99–155 tok/s | 19–22 tok/s |
| Qwen3.8-27B ISTA IQ3_S, HIP | 353 tok/s | 27.4 tok/s |
| Inkling-2-Mini UD-IQ4_XS, HIP | 339 tok/s | 36 tok/s |
The October Vulkan figures come from prompts of 14,000 to 48,500 tokens, so they are only roughly comparable. The Inkling decode figure is from a run at 32K context.
MTP drafting and the Hermes LoRA
MTP lets the model draft the next few tokens with an extra layer, then check them in one pass. On this card it made decode slower even though most drafts were right.
| 27B decode setting | Decode | Drafts accepted |
|---|---|---|
| No drafting | 27.4 tok/s | |
| MTP, 3 draft tokens | 16.4 tok/s | 85% |
| MTP, 1 draft token | 17.6 tok/s | 95% |
The same thing happened with Vulkan in October, when MTP held decode at about 7 tokens per second.
The LoRA is harness-hub/Qwen3.8-27B-hermes-adapted, a rank-32 adapter for the attention and MLP projections. I converted it to a 319 MB GGUF with llama.cpp’s convert_lora_to_gguf.py and loaded it through --lora. Prompt processing fell to 276 tokens per second and decode to 24.2. The adapter was trained on the full-precision model; I used it on a 3-bit quantization.
I initially missed the README’s recommendation to turn thinking off and sample at temperature 0.8 with top-p 1.0. I later reran the harder suites with those settings.
Three suites of Hermes tasks
Each task runs as a fresh hermes chat --oneshot session in a new sandbox folder, and a script grades the result afterwards. Hermes sends no reasoning setting, so each server’s default applies. Qwen3.8’s chat template accepts low, medium and xhigh and defaults to xhigh. For the runs at low and medium I set the server default through LLAMA_ARG_CHAT_TEMPLATE_KWARGS.
The first suite has five short tasks: read a file, search a folder, write and run a script, fix a small bug, and total a CSV column. Every setup passed all five.
| Setup | Time |
|---|---|
| Inkling-2-Mini | 193 s |
Qwen3.8-27B, xhigh | 266 s |
Qwen3.8-27B with the LoRA, xhigh | 327 s |
The LoRA run took place while the RX 6800’s ComfyUI server held 1.6 GB of VRAM; the 27B without the LoRA took 232 seconds under the same condition. The 27B fits beside ComfyUI at 64K, and Inkling does not. In the first Inkling run, prompt processing spilled into system memory and fell to 18 tokens per second, and the read-a-file task took 1,161 seconds. The Inkling figure in the table comes from a rerun with ComfyUI stopped. This LoRA run used thinking at xhigh and temperature 0.6, and the five tasks were too easy to show a difference.
The second suite has six tasks that need several tool calls each. h1 fixes bugs spread over three modules until the tests and some hidden tests pass. h2 answers questions about a 24,000-line log. h3 adds command-line options to a script and is checked against sales data the model never saw. h4 lists the functions reachable from main in 30 modules whose comments and strings mention calls that never run. h5 joins three files whose IDs have stray spaces and mixed case, and h6 fixes a parser to follow a written format with escape sequences.
| Task | Inkling | 27B xhigh | 27B low | 27B medium |
|---|---|---|---|---|
| h1 multi-module bugs | 94 s | 152 s | 185 s | 151 s |
| h2 log analysis | 102 s | 121 s | 119 s | 132 s |
| h3 CLI options | 176 s | 199 s | 196 s | 151 s |
| h4 call graph | 224 s | 502 s | 200 s | 341 s |
| h5 data join | 203 s | 237 s | 226 s | 217 s |
| h6 parser | 130 s | 260 s | 194 s | 133 s |
| Total | 929 s | 1,471 s | 1,120 s | 1,125 s |
All four runs passed all six tasks.
The third suite scores each task by the share of hidden tests passed. d1 implements a calculator language from a two-page specification, with right-associative **, a unary minus that binds more loosely than **, exact decimal arithmetic and exact error messages. d2 has eight independent bugs in a TTL cache and only one failing test. d3 implements banking date rules: modified following, end-of-month handling, 30/360 with its February rules, and act/act ISDA. d4 is weighted interval scheduling over 200,000 intervals in under five seconds, where zero-length intervals conflict with nothing and some weights are negative. Before the runs, each checker scored zero or partial on the untouched files and full marks on my reference solutions.
| Task | Inkling | Time | 27B low | Time |
|---|---|---|---|---|
| d1 calculator | 68/69 | 292 s | 69/69 | 1,599 s |
| d2 cache bugs | 15/15 | 108 s | 15/15 | 399 s |
| d3 date rules | 99/99 | 278 s | 99/99 | 1,823 s |
| d4 scheduling | 7/7 | 1,171 s | 7/7 | 505 s |
| Total | 1,849 s | 4,326 s |
Inkling’s one failure was the unclosed input (1 + 2, which raised Python’s IndexError instead of the specified syntax error. The 27B’s d3 run took 1,823 seconds against the 1,800-second budget I gave Hermes; the finished file passed every test.
Reading the code
I read both models’ solutions and tried extra inputs to check what the hidden tests had missed.
Inkling’s calculator reads past the end of its token list on any unfinished input. let x = 1 without the closing ; crashes the same way as (1 + 2. It floors a division after rounding the quotient to 28 digits, so 29999999999999999999999999999.5 // 10 returns 3000000000000000000000000000 instead of 2999999999999999999999999999. My reference solution makes the same mistake, which is why the checker could not see it. The file also keeps an unused token table. The 27B’s version checks for the end of input and turns every malformed case I tried into syntax error. It computes floor division with integer division and a sign correction, and leaves a test file behind. It also sets the decimal precision for the whole Python process instead of a local context, which would change the result of any other decimal code in the same program.
In d2 both models fixed all eight bugs. Inkling’s cache removes expired entries on every insert of a new key, scanning the whole cache each time. Filling a cache with 20,000 keys took 17.1 seconds, against 0.01 seconds for the 27B’s version, which follows the README and purges only when the cache is full. With maxsize=0, Inkling’s cache raises KeyError. The hidden tests used caches of one to five entries.
The d3 solutions use the same logic. The 27B wrote one stepping loop where Inkling wrote two, and left a test file built on hand-checked weekdays. In d4 both solutions sort by end time and search the earlier intervals with bisect; on a fresh 200,000-interval input they took 0.59 and 0.63 seconds and returned the same total.
The LoRA with thinking off
The adapter’s authors report scores of 43.1% on SWE-bench Pro and 58.8% on Terminal-Bench 2.1 with thinking off. The base model at xhigh scored 45.1% and 58.8%, using 3.5 to 4.4 times as many tokens as the adapter. Their Hermes runs used a 131,072-token context, temperature 0.8 and top-p 1.0.
I repeated the second and third suites with enable_thinking set to false through LLAMA_ARG_CHAT_TEMPLATE_KWARGS and the README’s sampling, once with the adapter and once without it. The context stayed at 64K, because 128K only fits with the slower q4_0 value cache.
| Task | 27B with the LoRA, thinking off | 27B, thinking off |
|---|---|---|
| Second suite (6 tasks) | 4/6, 874 s | 6/6, 914 s |
| d1 calculator | 68/69, 545 s | 66/69, 1,801 s |
| d2 cache bugs | 15/15, 201 s | 13/15, 214 s |
| d3 date rules | 99/99, 613 s | 99/99, 339 s |
| d4 scheduling | 7/7, 1,462 s | 4/7, 1,552 s |
| Third suite time | 2,821 s | 3,906 s |
With the adapter, h4 treated every function in m00 as a starting point instead of only main, which added 26 functions that never run. Its h6 parser split fields on ; before handling the \; escape, though its own summary said it handled escapes. Its one d1 miss printed 0.0000000001 * 3 as 3E-10.
Without the adapter, the model’s d1 parser accepted leftover tokens, so 3 4 returned 4, and the session ran into the 1,800-second budget. Its d2 cache did not mark an updated key as recently used, and its memoize wrapper kept serving a result after its TTL ran out. In d4 its docstring stated that a zero-length interval conflicts with nothing, but the code put those intervals through the same search as the others. That search treats a zero-length interval inside a longer one as a conflict, so it dropped weight in three of the seven groups.
How much context fits
I raised the context on each server and checked dedicated and shared GPU memory, then timed the repair prompt (15,553 tokens for Qwen, 17,876 for Inkling). When a setting does not fit, llama.cpp puts part of its buffers in shared memory and prompt processing drops to about 16 tokens per second. For the largest settings that fit, I repeated the repair prompt until it filled most of the context, separated the copies with a marker line, and asked for the number of markers and the name of the first function in script.js.
| Model and cache | Largest context without spilling | Filled-context test |
|---|---|---|
| 27B, q8_0 cache | 96K | 93K tokens: 239 tok/s prompt, 20 tok/s decode |
| 27B, q8_0 keys and q4_0 values | 128K | 124K tokens: 211 tok/s prompt, 9.6 tok/s decode |
Inkling, q8_0 cache, -ub 64 | 96K | 89K tokens: 150 tok/s prompt, 26 tok/s decode |
Inkling, q8_0 keys and q4_0 values, -ub 64 | 112K | 107K tokens: 137 tok/s prompt, 14.9 tok/s decode |
All four runs named the function correctly, and all four got the marker count wrong.
Inkling needs a physical batch of 64 tokens for 96K, because its compute buffer grows with context times batch size. At that batch size Inkling processes the 17,876-token prompt at 281 tokens per second instead of 339. The 27B runs at 96K with no change to its normal prompt speed, and 112K spilled slightly.
A q4_0 cache for both keys and values fits much more: 176K on the 27B. Both models returned garbage with it in this build, a string of ? from Inkling and / from the 27B, already at 47,000 to 54,000 tokens. I have not looked for the cause.
What Hermes uses now
Hermes stays on Inkling-2-Mini at 64K. Hermes compresses a conversation when it passes 75% of the context, and its log shows that it has done so once, on 2026-10-02, during a 100-minute game build. When ComfyUI is running on the card, I switch to the 27B at low reasoning and 64K context.