[GH-ISSUE #510] DeepSeek-V4.1-Flash Maya-S on Strix Halo + 2x RX 7900 XTX: prefill 155 → 1,291 tok/s (8.3x) on 130K prompts, decode 37.2 → 41.3 tok/s (+11 %), 512K context, nine opt-in PRs #213

Closed
opened 2026-10-29 21:22:40 +07:00 by bsakaguchi · 2 comments
Owner

Originally created by @pepuscz on GitHub (Oct 26, 2026).
Original GitHub issue: https://github.com/mw00/project-maya/issues/510

A follow-up to #410, on the same Strix Halo machine (Ryzen AI Max+ 395, Radeon 8060S) with 2x RX 7900 XTX, now at a 512K context window. A 130K-token prompt is read 8.3x faster than in #410 (155 → 1,291 tok/s), and decode with the prompt cached is 7.7 % faster (42.8 → 46.1 tok/s). The changes behind it are ported to v1.1.28 as nine opt-in pull requests.

Model

DeepSeek-V4.1-Flash-1017 Maya-S, Project Maya's default quant from peasantsmith/DeepSeek-V4.1-Flash-1017-Maya-GGUF (revision 26c6aeaf). Its experts are IQ2_XXS / IQ2_S with IQ3_XXS / IQ3_S down, in 4 shards. Also loaded:

  • unsloth's UD-Q8_K_XL Engram shard (8 of 9, revision c991b28e);
  • the DSpark drafter (revision 276e0bad).

Not the newer Maya-XS: every number in this issue is Maya-S.

Version

  • Measured: v1.1.28 + the nine PRs (A-H, listed at the end), 35 commits. The last branch, pr/ds4-up-h-draft-vram, is 739f651.
  • The build we run ourselves: the same changes on v1.1.21, tag maya-ds4-q3-dspark-512k-20261025. On the Strix Halo machine it measures the same as v1.1.28 + the nine PRs, run side by side, in every test in this issue.
  • Thank you for merging #408, #412 and #415: everything here builds on them.

Ansible. The whole setup is an Ansible recipe, maya-ds4-dual-xtx-512k.yml in strix-halo-llm (how to run it).

  • It builds the engine from the tag maya-ds4-q3-dspark-512k-20261025, and ROCm 7.2.4 and the patched rocBLAS in isolation.
  • The engine's settings are in maya-server.json.j2 and the build in build-maya-engine.j2.
  • It was installed from scratch, from public sources only, on the Strix Halo machine before these measurements.
  • Our own measurements are in benchmarks/results.json (systems/maya-ds4-dual-xtx), with the method in docs/BENCHMARKS.md.

Hardware

  • Strix Halo mini PC (a BOSGAME M5): Ryzen AI Max+ 395, 16C/32T, 128 GB, Radeon 8060S gfx1151, BIOS UMA 1 GB
  • 2x Radeon RX 7900 XTX 24 GB (gfx1100), each on M.2 -> OCuLink, PCIe 4.0 x4, default power limits
  • 1 TB NVMe in a USB4 enclosure. The model doesn't fit in RAM, so experts stream from it.

Environment

  • Ubuntu 26.04, kernel 7.0.0-38-generic, amd_iommu=off amdgpu.gttsize=126976, 120 W package limit
  • ROCm 7.2.4 userspace (AMD's runfile, isolated)
  • The engine built natively for both GPU types, CMAKE_HIP_ARCHITECTURES=gfx1100;gfx1151 (the XTX cards and the 8060S), as setup builds it. The v1.1.28 build in the comparison was built the same way.
  • rocBLAS rocm-7.2.4 with rocm-libraries#4781 backported (the mixed gfx1100 + gfx1151 problem from #309)

Setup

  • Context: 524,288 tokens (512K) for every number in this issue. Against 128K, each card keeps about 75 fewer experts in VRAM, which costs about 2.5 % of decode. We accept that loss for the 512K window.
  • --tp 2 over the two XTX with MAYA_DS4_TP_GGUF_UNEVEN=1. Maya-S's n_ff 2304 splits 5 + 4 blocks, the odd one rotating per layer. Each card holds its part of about 2,750 trunk experts.
  • The 8060S as the expert helper (MAYA_DS4_HELPER): a 95 GB pool of about 8,300 of the most-routed experts the cards can't hold. With C2 it serves the group's layers.
  • The DSpark drafter's first block on the second card (MAYA_DS4_DRAFT_DEV=1,0,0), each block's experts in VRAM capped at 96 / 48 / 32 (MAYA_DS4_DRAFT_VRAM, H).
  • Prompts in 32,768-token chunks, the cards lending their last expert slots to the prompt (F).
The full settings, as a config's env

Args: --tp 2 --threads on --mmap-experts on --prefill-chunk 32768 --max-context 524288 --dspark on

"DS4_TP_GGUF_UNEVEN": "1", "DS4_FLOW_TP": "1", "DS4_CHUNK_MIN": "512", "DS4_FLOW_PUMP_WAIT": "0",
"DS4_HELPER": "2", "DS4_HELPER_GB": "95", "DS4_WARM_CAP_GB": "14.9", "DS4_HELPER_RECENT": "8", "DS4_LANE_SPIN_US": "200",
"DS4_DRAFT_DEV": "1,0,0", "DS4_DRAFT_VRAM": "96,48,32",
"DS4_HC_FUSE": "2", "DS4_ROUTE_FUSE": "2", "DS4_DECODE_TRIM": "15", "DS4_AR2": "2", "DS4_AR2_DECODE": "1",
"DS4_FLOW_HELPER": "1", "DS4_FLOW_DOWN_SHARE": "1", "DS4_FLOW_DOWN_PART": "1", "DS4_YOCO_TP": "1", "DS4_TP_BORROW": "1",
"DS4_Q8_BATCH": "1", "DS4_ATTN_WMMA": "1", "DS4_ATTN_SLAB_MB": "64", "DS4_W16_MB": "128",
"DS4_HELPER_CHECK": "1", "DS4_Q8_CHECK": "1", "DS4_TP_CHECK": "1"

Result: a 130K-token prompt, against #410

The same 130,048-token prompt as #410, code: Project Maya's own src/ds4 sources plus docs/SETTINGS.md, as of v1.1.20. 768 tokens are written cold, then the same prompt is sent again with 130,047 tokens cached.

benchmark before: #410 (v1.1.21 + earlier changes, 128K context) after: v1.1.28 + the nine PRs (512K context) change
prefill, 130,048 tokens cold (experts streamed from the USB4 disk) 155.4 tok/s 1,291 tok/s 8.3x
decode, the prompt cached 42.8 tok/s 46.1 tok/s +7.7 %
decode after it, cold 37.1 tok/s 36.2 tok/s -2.4 % at 4x the window (about even at 128K, est.)

Note: the after column runs at a 512K context, 4x #410's 128K. At 512K each card keeps about 75 fewer experts in VRAM, which costs about 2.5 % of decode. That is the -2.4 % cold decode, and we accept it for the 4x window; at 128K the decode would be about 2.5 % higher.

Result: --bench against v1.1.28

Maya's --bench procedure (v1.1.28's): three 256-token answers, two code and one prose, and two prompts of 2K and 8K tokens cut from Maya's own docs. Both builds got the same token ids. v1.1.28's own maya.py --bench agrees within 1 %. One load each, with the fans held at full speed.

benchmark before: v1.1.28 as released after: v1.1.28 + the nine PRs change
decode, mean of the three answers 37.2 tok/s 41.3 tok/s +11 %
- a CSV-parsing Python function (code) 41.0 tok/s 45.4 tok/s +11 %
- how photosynthesis works (prose) 33.2 tok/s 35.9 tok/s +8 %
- an HTML canvas animation page (code) 37.4 tok/s 42.6 tok/s +14 %
prefill, 2K prompt 70 tok/s 180 tok/s 2.6x
prefill, 8K prompt 241 tok/s 482 tok/s 2.0x

Note: both columns run at a 512K context. Against 128K, that costs about 2.5 % of decode, because each card keeps about 75 fewer experts in VRAM.

Prose decodes slower than code here: the DSpark drafter guesses fewer of its tokens right.

The v1.1.28 column is the best v1.1.28 can do on 2x RX 7900 XTX + Radeon 8060S: --tp 2 with the helper.

  • Without MAYA_DS4_TP_GGUF_UNEVEN, --tp 2 falls back to one card a layer on Maya-S, and the helper serves those layers.
  • With it, the cards form a group, but the helper then holds nothing. C2 changes that.

Retrieval and quality on the same setup are in our BENCHMARKS: all 55 values at 11 prompt lengths from 2K to 480K at the 512K context, and 30/30 on the Lucebox coding / GSM8K / math cases.

Suggested README row

For the DeepSeek table, replacing the current 2x RX 7900 XTX row (from #410).

  • Decode is --bench's, like the other rows.
  • Prefill is the 130K-token prompt, like the current row; --bench's 8K follows in brackets.
  • The experts stream from the disk, so on this hardware prefill rises with the prompt's length.
Machine Model Decode Prefill By
2x RX 7900 XTX 24 GB (tensor parallel 2, PCIe 4.0 x4 each) + Radeon 8060S helper (Ryzen AI Max+ 395, 128 GB), the model on a USB4 NVMe Maya-S, 512K context 41.3 tokens/s (46.1 after a 130K-token prompt, cached) 1291 tokens/s (130K; 482 at 8K) @pepuscz (v1.1.28 + this series)

The pull requests

All are opt-in and off by default; with none of them set, the engine behaves as v1.1.28. Where the output should be bit for bit the same, the engine checks it at load against the old path, before it serves anything.

They're stacked in this order, A first, each on the previous one, and will be opened against main right after this issue. We'll rebase them as main moves.

Branch What it does Setting Output
A pr/ds4-up-a-decode-fuse decode: the HC split + pre-norm in one launch with the attention input's int8 rounding inside; the router stage in two launches instead of four MAYA_DS4_HC_FUSE, MAYA_DS4_ROUTE_FUSE bit for bit (checked at load)
B pr/ds4-up-b-decode-trim decode: four small trims (two int8 roundings where the values are made, the verify window's snapshot in one kernel, the drafter's hand-offs by kernel and flag) MAYA_DS4_DECODE_TRIM bit for bit (checked at load)
C pr/ds4-up-c-ar2 a two-card group's all-reduce in one pipelined launch with 16-byte loads, for prompts and decode MAYA_DS4_AR2, MAYA_DS4_AR2_DECODE =1 and decode bit for bit; =2 sends FP16 over the links (prompts only)
C2 pr/ds4-up-c2-helper-groups the helper (#415) serves an uneven tensor-parallel group's layers, on the group's first card MAYA_DS4_HELPER + MAYA_DS4_TP_GGUF_UNEVEN (today the helper is idle there) the helper's own rounding (checked at load)
D pr/ds4-up-d-flow-helper a prompt's experts the helper holds are copied from its pool, not read from disk MAYA_DS4_FLOW_HELPER the same bytes (_CHECK compares with the files)
E pr/ds4-up-e-flow-down each card of an uneven split receives only its own columns of a streamed expert's down projection; the cards share one disk read MAYA_DS4_FLOW_DOWN_PART, MAYA_DS4_FLOW_DOWN_SHARE bit for bit (checked at load)
F pr/ds4-up-f-tp-prompt the exact long-prompt skip on a tensor-parallel group (answers #328); the group's cards lend their last expert slots to the prompt MAYA_DS4_YOCO_TP, MAYA_DS4_TP_BORROW bit for bit; lent slots re-checked before decode
G pr/ds4-up-g-helper-recent the helper keeps the CPU lane's repeated experts in reserved slots of its pool; the lane's idle spin as a setting MAYA_DS4_HELPER_RECENT, MAYA_DS4_LANE_SPIN_US the helper's own rounding
H pr/ds4-up-h-draft-vram a cap on each DSpark block's experts in VRAM, its hottest kept MAYA_DS4_DRAFT_VRAM the same kernels

Tested:

  • Each PR's head builds on its own, in order.
  • The full series passes its load checks on HIP gfx1100 + gfx1151.
  • Not built or run on CUDA. Results there would be very welcome.

I can measure on the Strix Halo machine: HIP gfx1100 + gfx1151, one, two or three GPUs.

🤖 Generated with Claude Code

Originally created by @pepuscz on GitHub (Oct 26, 2026). Original GitHub issue: https://github.com/mw00/project-maya/issues/510 A follow-up to [#410](https://github.com/mw00/project-maya/issues/410), on the same Strix Halo machine (Ryzen AI Max+ 395, Radeon 8060S) with 2x RX 7900 XTX, now at a 512K context window. A 130K-token prompt is read **8.3x faster than in #410** (155 → 1,291 tok/s), and decode with the prompt cached is **7.7 % faster** (42.8 → 46.1 tok/s). The changes behind it are ported to v1.1.28 as nine opt-in pull requests. ## Model DeepSeek-V4.1-Flash-1017 **Maya-S**, Project Maya's default quant from [peasantsmith/DeepSeek-V4.1-Flash-1017-Maya-GGUF](https://huggingface.co/peasantsmith/DeepSeek-V4.1-Flash-1017-Maya-GGUF) (revision `26c6aeaf`). Its experts are IQ2_XXS / IQ2_S with IQ3_XXS / IQ3_S down, in 4 shards. Also loaded: - unsloth's UD-Q8_K_XL Engram shard (8 of 9, revision `c991b28e`); - the DSpark drafter (revision `276e0bad`). Not the newer Maya-XS: every number in this issue is Maya-S. ## Version - **Measured:** v1.1.28 + the nine PRs (A-H, listed at the end), 35 commits. The last branch, [`pr/ds4-up-h-draft-vram`](https://github.com/pepuscz/project-maya/tree/pr/ds4-up-h-draft-vram), is `739f651`. - **The build we run ourselves:** the same changes on v1.1.21, tag [`maya-ds4-q3-dspark-512k-20261025`](https://github.com/pepuscz/project-maya/tree/maya-ds4-q3-dspark-512k-20261025). On the Strix Halo machine it measures the same as v1.1.28 + the nine PRs, run side by side, in every test in this issue. - Thank you for merging [#408](https://github.com/mw00/project-maya/pull/408), [#412](https://github.com/mw00/project-maya/pull/412) and [#415](https://github.com/mw00/project-maya/pull/415): everything here builds on them. **Ansible.** The whole setup is an Ansible recipe, [`maya-ds4-dual-xtx-512k.yml`](https://github.com/pepuscz/strix-halo-llm/blob/1bd8f561f8a6a860d8eaf06f60eff305f9382ba9/ansible/releases/maya-ds4-dual-xtx-512k.yml) in [strix-halo-llm](https://github.com/pepuscz/strix-halo-llm) ([how to run it](https://github.com/pepuscz/strix-halo-llm/blob/1bd8f561f8a6a860d8eaf06f60eff305f9382ba9/README.md#dual-rx-7900-xtx-setup)). - It builds the engine from the tag `maya-ds4-q3-dspark-512k-20261025`, and ROCm 7.2.4 and the patched rocBLAS in isolation. - The engine's settings are in [`maya-server.json.j2`](https://github.com/pepuscz/strix-halo-llm/blob/1bd8f561f8a6a860d8eaf06f60eff305f9382ba9/ansible/roles/service/templates/maya-server.json.j2) and the build in [`build-maya-engine.j2`](https://github.com/pepuscz/strix-halo-llm/blob/1bd8f561f8a6a860d8eaf06f60eff305f9382ba9/ansible/roles/maya_runtime/templates/build-maya-engine.j2). - It was installed from scratch, from public sources only, on the Strix Halo machine before these measurements. - Our own measurements are in [`benchmarks/results.json`](https://github.com/pepuscz/strix-halo-llm/blob/1bd8f561f8a6a860d8eaf06f60eff305f9382ba9/benchmarks/results.json) (`systems/maya-ds4-dual-xtx`), with the method in [`docs/BENCHMARKS.md`](https://github.com/pepuscz/strix-halo-llm/blob/1bd8f561f8a6a860d8eaf06f60eff305f9382ba9/docs/BENCHMARKS.md#dual-rx-7900-xtx-deepseek-v41-flash-1017). ## Hardware - Strix Halo mini PC (a BOSGAME M5): Ryzen AI Max+ 395, 16C/32T, 128 GB, Radeon 8060S gfx1151, BIOS UMA 1 GB - 2x Radeon RX 7900 XTX 24 GB (gfx1100), each on M.2 -> OCuLink, PCIe 4.0 x4, default power limits - 1 TB NVMe in a USB4 enclosure. The model doesn't fit in RAM, so experts stream from it. ## Environment - Ubuntu 26.04, kernel 7.0.0-38-generic, `amd_iommu=off amdgpu.gttsize=126976`, 120 W package limit - ROCm 7.2.4 userspace (AMD's runfile, isolated) - The engine built natively for both GPU types, `CMAKE_HIP_ARCHITECTURES=gfx1100;gfx1151` (the XTX cards and the 8060S), as `setup` builds it. The v1.1.28 build in the comparison was built the same way. - rocBLAS rocm-7.2.4 with [rocm-libraries#4781](https://github.com/ROCm/rocm-libraries/pull/4781) backported (the mixed gfx1100 + gfx1151 problem from [#309](https://github.com/mw00/project-maya/issues/309)) ## Setup - **Context: 524,288 tokens (512K)** for every number in this issue. Against 128K, each card keeps about 75 fewer experts in VRAM, which costs about 2.5 % of decode. We accept that loss for the 512K window. - `--tp 2` over the two XTX with `MAYA_DS4_TP_GGUF_UNEVEN=1`. Maya-S's n_ff 2304 splits 5 + 4 blocks, the odd one rotating per layer. Each card holds its part of about 2,750 trunk experts. - The 8060S as the expert helper (`MAYA_DS4_HELPER`): a 95 GB pool of about 8,300 of the most-routed experts the cards can't hold. With C2 it serves the group's layers. - The DSpark drafter's first block on the second card (`MAYA_DS4_DRAFT_DEV=1,0,0`), each block's experts in VRAM capped at 96 / 48 / 32 (`MAYA_DS4_DRAFT_VRAM`, H). - Prompts in 32,768-token chunks, the cards lending their last expert slots to the prompt (F). <details><summary>The full settings, as a config's <code>env</code></summary> Args: `--tp 2 --threads on --mmap-experts on --prefill-chunk 32768 --max-context 524288 --dspark on` ```json "DS4_TP_GGUF_UNEVEN": "1", "DS4_FLOW_TP": "1", "DS4_CHUNK_MIN": "512", "DS4_FLOW_PUMP_WAIT": "0", "DS4_HELPER": "2", "DS4_HELPER_GB": "95", "DS4_WARM_CAP_GB": "14.9", "DS4_HELPER_RECENT": "8", "DS4_LANE_SPIN_US": "200", "DS4_DRAFT_DEV": "1,0,0", "DS4_DRAFT_VRAM": "96,48,32", "DS4_HC_FUSE": "2", "DS4_ROUTE_FUSE": "2", "DS4_DECODE_TRIM": "15", "DS4_AR2": "2", "DS4_AR2_DECODE": "1", "DS4_FLOW_HELPER": "1", "DS4_FLOW_DOWN_SHARE": "1", "DS4_FLOW_DOWN_PART": "1", "DS4_YOCO_TP": "1", "DS4_TP_BORROW": "1", "DS4_Q8_BATCH": "1", "DS4_ATTN_WMMA": "1", "DS4_ATTN_SLAB_MB": "64", "DS4_W16_MB": "128", "DS4_HELPER_CHECK": "1", "DS4_Q8_CHECK": "1", "DS4_TP_CHECK": "1" ``` </details> ## Result: a 130K-token prompt, against #410 The same 130,048-token prompt as #410, **code**: Project Maya's own `src/ds4` sources plus `docs/SETTINGS.md`, as of v1.1.20. 768 tokens are written cold, then the same prompt is sent again with 130,047 tokens cached. | benchmark | before: #410 (v1.1.21 + earlier changes, 128K context) | after: v1.1.28 + the nine PRs (512K context) | change | |--|--:|--:|--:| | prefill, 130,048 tokens cold (experts streamed from the USB4 disk) | 155.4 tok/s | **1,291 tok/s** | **8.3x** | | decode, the prompt cached | 42.8 tok/s | **46.1 tok/s** | **+7.7 %** | | decode after it, cold | 37.1 tok/s | 36.2 tok/s | -2.4 % at 4x the window (about even at 128K, est.) | > **Note:** the after column runs at a 512K context, 4x #410's 128K. At 512K each card keeps about 75 fewer experts in VRAM, which costs about 2.5 % of decode. That is the -2.4 % cold decode, and we accept it for the 4x window; at 128K the decode would be about 2.5 % higher. ## Result: `--bench` against v1.1.28 Maya's `--bench` procedure (v1.1.28's): three 256-token answers, two code and one prose, and two prompts of 2K and 8K tokens cut from Maya's own docs. Both builds got the same token ids. v1.1.28's own `maya.py --bench` agrees within 1 %. One load each, with the fans held at full speed. | benchmark | before: v1.1.28 as released | after: v1.1.28 + the nine PRs | change | |--|--:|--:|--:| | decode, mean of the three answers | 37.2 tok/s | **41.3 tok/s** | +11 % | | - a CSV-parsing Python function (code) | 41.0 tok/s | 45.4 tok/s | +11 % | | - how photosynthesis works (prose) | 33.2 tok/s | 35.9 tok/s | +8 % | | - an HTML canvas animation page (code) | 37.4 tok/s | 42.6 tok/s | +14 % | | prefill, 2K prompt | 70 tok/s | **180 tok/s** | 2.6x | | prefill, 8K prompt | 241 tok/s | **482 tok/s** | 2.0x | > **Note:** both columns run at a 512K context. Against 128K, that costs about 2.5 % of decode, because each card keeps about 75 fewer experts in VRAM. Prose decodes slower than code here: the DSpark drafter guesses fewer of its tokens right. The v1.1.28 column is the best v1.1.28 can do on 2x RX 7900 XTX + Radeon 8060S: `--tp 2` with the helper. - Without `MAYA_DS4_TP_GGUF_UNEVEN`, `--tp 2` falls back to one card a layer on Maya-S, and the helper serves those layers. - With it, the cards form a group, but the helper then holds nothing. C2 changes that. Retrieval and quality on the same setup are in our [BENCHMARKS](https://github.com/pepuscz/strix-halo-llm/blob/1bd8f561f8a6a860d8eaf06f60eff305f9382ba9/docs/BENCHMARKS.md#dual-rx-7900-xtx-deepseek-v41-flash-1017): all 55 values at 11 prompt lengths from 2K to 480K at the 512K context, and 30/30 on the Lucebox coding / GSM8K / math cases. ## Suggested README row For the DeepSeek table, replacing the current 2x RX 7900 XTX row (from #410). - Decode is `--bench`'s, like the other rows. - Prefill is the 130K-token prompt, like the current row; `--bench`'s 8K follows in brackets. - The experts stream from the disk, so on this hardware prefill rises with the prompt's length. | Machine | Model | Decode | Prefill | By | | --- | --- | ---: | ---: | --- | | **2x RX 7900 XTX 24 GB** (tensor parallel 2, PCIe 4.0 x4 each) + **Radeon 8060S** helper (Ryzen AI Max+ 395, 128 GB), the model on a USB4 NVMe | Maya-S, 512K context | 41.3 tokens/s (46.1 after a 130K-token prompt, cached) | 1291 tokens/s (130K; 482 at 8K) | @pepuscz (v1.1.28 + this series) | ## The pull requests All are opt-in and off by default; with none of them set, the engine behaves as v1.1.28. Where the output should be bit for bit the same, the engine checks it at load against the old path, before it serves anything. They're stacked in this order, A first, each on the previous one, and will be opened against `main` right after this issue. We'll rebase them as `main` moves. | | Branch | What it does | Setting | Output | |--|--|--|--|--| | A | [`pr/ds4-up-a-decode-fuse`](https://github.com/pepuscz/project-maya/tree/pr/ds4-up-a-decode-fuse) | decode: the HC split + pre-norm in one launch with the attention input's int8 rounding inside; the router stage in two launches instead of four | `MAYA_DS4_HC_FUSE`, `MAYA_DS4_ROUTE_FUSE` | bit for bit (checked at load) | | B | [`pr/ds4-up-b-decode-trim`](https://github.com/pepuscz/project-maya/tree/pr/ds4-up-b-decode-trim) | decode: four small trims (two int8 roundings where the values are made, the verify window's snapshot in one kernel, the drafter's hand-offs by kernel and flag) | `MAYA_DS4_DECODE_TRIM` | bit for bit (checked at load) | | C | [`pr/ds4-up-c-ar2`](https://github.com/pepuscz/project-maya/tree/pr/ds4-up-c-ar2) | a two-card group's all-reduce in one pipelined launch with 16-byte loads, for prompts and decode | `MAYA_DS4_AR2`, `MAYA_DS4_AR2_DECODE` | `=1` and decode bit for bit; `=2` sends FP16 over the links (prompts only) | | C2 | [`pr/ds4-up-c2-helper-groups`](https://github.com/pepuscz/project-maya/tree/pr/ds4-up-c2-helper-groups) | the helper (#415) serves an uneven tensor-parallel group's layers, on the group's first card | `MAYA_DS4_HELPER` + `MAYA_DS4_TP_GGUF_UNEVEN` (today the helper is idle there) | the helper's own rounding (checked at load) | | D | [`pr/ds4-up-d-flow-helper`](https://github.com/pepuscz/project-maya/tree/pr/ds4-up-d-flow-helper) | a prompt's experts the helper holds are copied from its pool, not read from disk | `MAYA_DS4_FLOW_HELPER` | the same bytes (`_CHECK` compares with the files) | | E | [`pr/ds4-up-e-flow-down`](https://github.com/pepuscz/project-maya/tree/pr/ds4-up-e-flow-down) | each card of an uneven split receives only its own columns of a streamed expert's down projection; the cards share one disk read | `MAYA_DS4_FLOW_DOWN_PART`, `MAYA_DS4_FLOW_DOWN_SHARE` | bit for bit (checked at load) | | F | [`pr/ds4-up-f-tp-prompt`](https://github.com/pepuscz/project-maya/tree/pr/ds4-up-f-tp-prompt) | the exact long-prompt skip on a tensor-parallel group (answers [#328](https://github.com/mw00/project-maya/issues/328)); the group's cards lend their last expert slots to the prompt | `MAYA_DS4_YOCO_TP`, `MAYA_DS4_TP_BORROW` | bit for bit; lent slots re-checked before decode | | G | [`pr/ds4-up-g-helper-recent`](https://github.com/pepuscz/project-maya/tree/pr/ds4-up-g-helper-recent) | the helper keeps the CPU lane's repeated experts in reserved slots of its pool; the lane's idle spin as a setting | `MAYA_DS4_HELPER_RECENT`, `MAYA_DS4_LANE_SPIN_US` | the helper's own rounding | | H | [`pr/ds4-up-h-draft-vram`](https://github.com/pepuscz/project-maya/tree/pr/ds4-up-h-draft-vram) | a cap on each DSpark block's experts in VRAM, its hottest kept | `MAYA_DS4_DRAFT_VRAM` | the same kernels | **Tested:** - Each PR's head builds on its own, in order. - The full series passes its load checks on HIP gfx1100 + gfx1151. - Not built or run on CUDA. Results there would be very welcome. I can measure on the Strix Halo machine: HIP gfx1100 + gfx1151, one, two or three GPUs. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
Author
Owner

@pepuscz commented on GitHub (Oct 26, 2026):

The nine pull requests are open, stacked in this order. Each builds on the one before it; until that one merges, a PR also shows its commits.

PR Setting
A #511 MAYA_DS4_HC_FUSE, MAYA_DS4_ROUTE_FUSE
B #512 MAYA_DS4_DECODE_TRIM
C #513 MAYA_DS4_AR2, MAYA_DS4_AR2_DECODE
C2 #514 the helper on an uneven tensor-parallel group
D #515 MAYA_DS4_FLOW_HELPER
E #516 MAYA_DS4_FLOW_DOWN_PART, MAYA_DS4_FLOW_DOWN_SHARE
F #517 MAYA_DS4_YOCO_TP, MAYA_DS4_TP_BORROW
G #518 MAYA_DS4_HELPER_RECENT, MAYA_DS4_LANE_SPIN_US
H #519 MAYA_DS4_DRAFT_VRAM

We'll rebase them as main moves, and can measure anything you'd like on the Strix Halo + 2x RX 7900 XTX machine.

<!-- gh-comment-id:6421072394 --> @pepuscz commented on GitHub (Oct 26, 2026): The nine pull requests are open, stacked in this order. Each builds on the one before it; until that one merges, a PR also shows its commits. | | PR | Setting | |--|--|--| | A | #511 | `MAYA_DS4_HC_FUSE`, `MAYA_DS4_ROUTE_FUSE` | | B | #512 | `MAYA_DS4_DECODE_TRIM` | | C | #513 | `MAYA_DS4_AR2`, `MAYA_DS4_AR2_DECODE` | | C2 | #514 | the helper on an uneven tensor-parallel group | | D | #515 | `MAYA_DS4_FLOW_HELPER` | | E | #516 | `MAYA_DS4_FLOW_DOWN_PART`, `MAYA_DS4_FLOW_DOWN_SHARE` | | F | #517 | `MAYA_DS4_YOCO_TP`, `MAYA_DS4_TP_BORROW` | | G | #518 | `MAYA_DS4_HELPER_RECENT`, `MAYA_DS4_LANE_SPIN_US` | | H | #519 | `MAYA_DS4_DRAFT_VRAM` | We'll rebase them as `main` moves, and can measure anything you'd like on the Strix Halo + 2x RX 7900 XTX machine.
Author
Owner

@mw00 commented on GitHub (Oct 27, 2026):

Thank you for the series and this write-up. #511-#519 shipped in v1.1.31, and your row now replaces the #410 one in the DeepSeek speed table for the next release: Maya-S at 512K, 41.3 tokens/s (46.1 with the prompt cached), 1,291 tokens/s on a 130K prompt. If you rerun on v1.1.31 itself, we'll update the version on the row. Closing as done.

<!-- gh-comment-id:6446354778 --> @mw00 commented on GitHub (Oct 27, 2026): Thank you for the series and this write-up. #511-#519 shipped in v1.1.31, and your row now replaces the #410 one in the DeepSeek speed table for the next release: Maya-S at 512K, 41.3 tokens/s (46.1 with the prompt cached), 1,291 tokens/s on a 130K prompt. If you rerun on v1.1.31 itself, we'll update the version on the row. Closing as done.
Sign in to join this conversation.
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
mw00/project-maya#213
No description provided.