mirror of
https://github.com/Niko1221/Strata.git
synced 2026-12-03 19:03:30 +07:00
[GH-ISSUE #2393] Improve heterogeneous-GPU --layer-split auto selection for prompt and decode #964
Labels
No labels
needs-format
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Niko1221/Strata#964
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 @MarsLuay on GitHub (Oct 14, 2026).
Original GitHub issue: https://github.com/Niko1221/Strata/issues/2393
Problem
On heterogeneous multi-GPU systems,
--layer-split autocan choose a placement that looks good for one phase of inference but is poor for another. Long prompt processing is pipelined across stages, so its throughput is dominated by the slowest stage. Decode windows, however, visit stages serially, so their cost is closer to the sum of the stage costs.The previous automatic ranking did not make that tradeoff explicit. A prompt-oriented choice can improve prefill while regressing interactive decode, while a decode-only choice can leave substantial prompt throughput on the table. Cache-hit percentage alone is also not a sufficient placement objective.
The problem is visible on mixed cards such as an RTX 3080 Ti plus Tesla V100. In version-scoped Strata 0.1.40 measurements, the automatic split took 228.6 seconds for a 259,841-token prompt (1,136.7 tok/s), while an explicit balanced
--layer-split 24took 169.2 seconds (1,535.4 tok/s). Those measurements motivated improving the planner rather than requiring users to hand-tune split points.Resolution
Implemented by PR #2385:
interactivethe default automatic objective.promptanddecodeobjectives for users who want a specific priority.The guard is model-based and prevents predicted regressions; it is not a universal hardware-performance guarantee.
Related work
@Niko1221 commented on GitHub (Oct 19, 2026):
Thanks for taking the time to report this.
We're resetting the tracker for 0.2.0-beta. There are more than 1,300 open issues and pull requests, too many for us to read properly, so we're closing everything that isn't being worked on right now. Closed here does not mean rejected.
To reopen it takes about two minutes:
/reopen. A check runs and either reopens the issue or lists what is still missing.The rules are in CONTRIBUTING.md.