mirror of
https://github.com/mw00/project-maya.git
synced 2026-12-03 21:08:26 +07:00
[GH-ISSUE #502] calibrate_ds4_tp: on a pair of equal GPUs the layer split (--tp 1) is never measured; on 2x 3090 it keeps ~22% more trunk experts in VRAM and reads prompts 1.55x faster #203
Labels
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
mw00/project-maya#203
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @noonghunna on GitHub (Oct 26, 2026).
Original GitHub issue: https://github.com/mw00/project-maya/issues/502
tools/calibrate_ds4_tp.py'stp_candidates()returns[2]for two equal GPUs: the layer split,--tp 1, is tried only when no two GPUs match. The thread sweep only goes below the config's own count. So on 2x RTX 3090--calibratehas nothing to compare against the setup's--tp 2. Measured by hand on v1.1.28, same pack, drafter and starting profile:--tp 2(setup's choice)--tp 1, both GPUs (layer split)I take the point in the tool's docstring that decode decides, since an agent's turns mostly reuse their cached conversation. Even so,
--tp 1deserves to be a candidate:--tp 2here.Measuring
--tp 1on equal pairs too would let the existing rule (decode decides, prompt speed abovePROMPT_FLOOR) choose on data. (All figures with the cards at a 230 W limit. At stock power the layer split read 6K prompts ~30% faster again, with decode unchanged; we didn't re-measure--tp 2at stock.)@mw00 commented on GitHub (Oct 27, 2026):
Thanks - agreed, and your table made the case. In v1.1.34
./maya.sh --calibratealso measures the layer split (--tp 1) on two to four equal GPUs, as its last start. The rule is the same as before: decode speed decides, and a setting whose long prompt reads below 60% of the config's own is not taken. On your 2x 3090 that means--tp 1is measured, and chosen only if it decodes more than 5% faster. (On more than four GPUs a layer split leaves too much of each card idle in decode to be worth the extra start.)Closing - please reopen if it comes back.
Released in v1.1.34: https://github.com/mw00/project-maya/releases/tag/v1.1.34