[GH-ISSUE #3834] [Engine] RFE: allow --peer-device alongside a layer split (small 4th GPU as a silent expert-cache tier) #1624

Closed
opened 2026-11-04 01:52:43 +07:00 by bsakaguchi · 3 comments
Owner

Originally created by @wernervonfortran on GitHub (Oct 23, 2026).
Original GitHub issue: https://github.com/Niko1221/Strata/issues/3834

The setup

Qwen3.8-Flash-Next GSQ-RCO IQ3_S (23.3 GB) on a 3x RTX 3090 + spare RTX 3060 box, 32 GB RAM, serve mode, "gpu": [2,1,3], layer split auto, --expert-cache auto (RAM tier, ~15 GiB plateau). Vision encoder is happily parked on the 3060 via "vision": {"gpu": true, "cuda_device": 0} — thank you for #408.

What I want

Use the 3060's remaining ~10 GB VRAM as a cold expert tier so the auto RAM cache can shrink (RAM is the scarce resource here, VRAM on the 3060 is idle).

Why the existing knobs don't reach it

  • --peer-device is exactly the right mode (and --peer-prefill-rows 0 the right silence dial), but per #665 it refuses to combine with --layer-split — and IQ3_S only lives because of the split across the three 3090s. A single 24 GB window cannot hold model + KV.
  • --remote-expert-opt / --expert-cache-device1..3 are inert on a plain layer split (#1447), and CUDA1..3 number the fleet's own 3090s, not the spare card.

So on a split fleet the spare card has no way to serve as an expert tier today.

Why the traffic profile says "quiet"

Our own telemetry over a full working day (chat + 254K-context agent runs), decode expert cache:

expert cache 100.0% hit (+0.1% of the routed experts over PCIe)
expert cache 100.0% hit (+0.0% of the routed experts over PCIe)
8 more read by the GPU over PCIe (0.0% of 102750)
55 more read by the GPU over PCIe (0.0% of 128250)

The hot working set fits the RAM tier; a peer-GPU cold tier would be read only on adaptation swaps (rare, bursty) — a card that idles silently and breathes for a second now and then. Which is exactly what a user with a small spare GPU and a fan-noise budget wants.

Proposed shape

Allow --peer-device N when the remaining cards form the split (perhaps initially gated on --expert-cache auto/resident-RAM modes), the peer numbered outside the split. --peer-reserve-mib already reserves room for whatever else lives on that card (our vision tower case). Docs/SECOND_GPU.md frames the peer as "a second GPU" with one primary — extending the sentence to "one primary block (split or not) plus a peer tier" would cover it.

Second, smaller ask (same silence argument)

The conversation cache parks KV blocks of finished sessions in RAM and (measured today) refuses to park when physical RAM admission gets tight — skip parking ... 0 still parked. Being able to park the sleeping KV on a peer GPU (zero traffic while parked, one burst on resume) would give the parking lot a real home on exactly this kind of box.

Happy to re-run any measurement on request; numbers above come from our own fleet logs (2026-10-23), engine 0.1.47 / serve 0.2.2-dev.

Originally created by @wernervonfortran on GitHub (Oct 23, 2026). Original GitHub issue: https://github.com/Niko1221/Strata/issues/3834 ## The setup Qwen3.8-Flash-Next GSQ-RCO IQ3_S (23.3 GB) on a 3x RTX 3090 + spare RTX 3060 box, 32 GB RAM, serve mode, `"gpu": [2,1,3]`, layer split `auto`, `--expert-cache auto` (RAM tier, ~15 GiB plateau). Vision encoder is happily parked on the 3060 via `"vision": {"gpu": true, "cuda_device": 0}` — thank you for #408. ## What I want Use the 3060's remaining ~10 GB VRAM as a **cold expert tier** so the auto RAM cache can shrink (RAM is the scarce resource here, VRAM on the 3060 is idle). ## Why the existing knobs don't reach it - `--peer-device` is exactly the right mode (and `--peer-prefill-rows 0` the right silence dial), but per #665 it refuses to combine with `--layer-split` — and IQ3_S only lives *because* of the split across the three 3090s. A single 24 GB window cannot hold model + KV. - `--remote-expert-opt` / `--expert-cache-device1..3` are inert on a plain layer split (#1447), and CUDA1..3 number the fleet's own 3090s, not the spare card. So on a split fleet the spare card has no way to serve as an expert tier today. ## Why the traffic profile says "quiet" Our own telemetry over a full working day (chat + 254K-context agent runs), decode expert cache: ``` expert cache 100.0% hit (+0.1% of the routed experts over PCIe) expert cache 100.0% hit (+0.0% of the routed experts over PCIe) 8 more read by the GPU over PCIe (0.0% of 102750) 55 more read by the GPU over PCIe (0.0% of 128250) ``` The hot working set fits the RAM tier; a peer-GPU cold tier would be read only on adaptation swaps (rare, bursty) — a card that idles silently and breathes for a second now and then. Which is exactly what a user with a small spare GPU and a fan-noise budget wants. ## Proposed shape Allow `--peer-device N` when the remaining cards form the split (perhaps initially gated on `--expert-cache auto`/resident-RAM modes), the peer numbered outside the split. `--peer-reserve-mib` already reserves room for whatever else lives on that card (our vision tower case). Docs/SECOND_GPU.md frames the peer as "a second GPU" with one primary — extending the sentence to "one primary block (split or not) plus a peer tier" would cover it. ## Second, smaller ask (same silence argument) The conversation cache parks KV blocks of finished sessions in RAM and (measured today) *refuses* to park when `physical RAM admission` gets tight — `skip parking ... 0 still parked`. Being able to park the *sleeping* KV on a peer GPU (zero traffic while parked, one burst on resume) would give the parking lot a real home on exactly this kind of box. Happy to re-run any measurement on request; numbers above come from our own fleet logs (2026-10-23), engine 0.1.47 / serve 0.2.2-dev.
Author
Owner

@github-actions[bot] commented on GitHub (Oct 23, 2026):

Thanks for the issue. To keep the tracker readable, every item needs an area prefix in the title and the parts of the issue form filled in. This one is missing:

  • Start the title with its area: [Engine], [GUI], [TUI], [Benchmark], [Docs] or [Other], then a short description. Example: "[Engine] decode stops after 2 minutes".

Edit the issue (title and description) and this note goes away on its own. If it is still missing parts in 5 days it will be closed, which is not a rejection: fix it and comment /reopen.

Details: CONTRIBUTING.md

<!-- gh-comment-id:6365331331 --> @github-actions[bot] commented on GitHub (Oct 23, 2026): Thanks for the issue. To keep the tracker readable, every item needs an area prefix in the title and the parts of the issue form filled in. This one is missing: - [ ] Start the title with its area: [Engine], [GUI], [TUI], [Benchmark], [Docs] or [Other], then a short description. Example: "[Engine] decode stops after 2 minutes". Edit the issue (title and description) and this note goes away on its own. If it is still missing parts in 5 days it will be closed, which is not a rejection: fix it and comment `/reopen`. Details: [CONTRIBUTING.md](https://github.com/Niko1221/Strata/blob/main/CONTRIBUTING.md)
Author
Owner

@github-actions[bot] commented on GitHub (Oct 24, 2026):

Thanks, this follows the format now.

<!-- gh-comment-id:6380604698 --> @github-actions[bot] commented on GitHub (Oct 24, 2026): Thanks, this follows the format now.
Author
Owner

@Niko1221 commented on GitHub (Nov 5, 2026):

Thanks for taking the time to report this.

Strata has changed a lot since this was opened, and 0.2.11 is out now, so many older reports no longer apply. We're closing issues older than a week that have had no new reports in the last week. Closed here does not mean rejected.

To reopen it takes about two minutes:

  1. Re-test on 0.2.11. It may already be fixed. Write down what you see.
  2. Start the title with its area: [Engine], [GUI], [TUI], [Benchmark], [Docs] or [Other].
  3. Fill in the parts of the issue form: what happened, the Strata version, your graphics card, memory and system.
  4. Comment /reopen. A check runs and either reopens the issue or lists what is still missing.

The rules are in CONTRIBUTING.md.

<!-- gh-comment-id:6659754387 --> @Niko1221 commented on GitHub (Nov 5, 2026): Thanks for taking the time to report this. Strata has changed a lot since this was opened, and 0.2.11 is out now, so many older reports no longer apply. We're closing issues older than a week that have had no new reports in the last week. Closed here does not mean rejected. To reopen it takes about two minutes: 1. Re-test on 0.2.11. It may already be fixed. Write down what you see. 2. Start the title with its area: [Engine], [GUI], [TUI], [Benchmark], [Docs] or [Other]. 3. Fill in the parts of the issue form: what happened, the Strata version, your graphics card, memory and system. 4. Comment `/reopen`. A check runs and either reopens the issue or lists what is still missing. The rules are in [CONTRIBUTING.md](https://github.com/Niko1221/Strata/blob/main/CONTRIBUTING.md).
Sign in to join this conversation.
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
Niko1221/Strata#1624
No description provided.