mirror of
https://github.com/Niko1221/Strata.git
synced 2026-12-03 19:03:30 +07:00
[PR #2056] [CLOSED] hip: gfx103x creates the MTP drafter's side stream again (RX 6800, Windows: 7.9K prompt 584–596 → 798–808 tok/s) #3832
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#3832
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?
📋 Pull Request Information
Original PR: https://github.com/Niko1221/Strata/pull/2056
Author: @did-technomancer
Created: 10/12/2026
Status: ❌ Closed
Base:
main← Head:hip/gfx103x-mtp-side-stream📝 Commits (1)
1775578hip: gfx103x creates the MTP drafter's side stream again (#2055)📊 Changes
2 files changed (+26 additions, -1 deletions)
View changed files
📝
docs/AMD_HIP.md(+8 -0)📝
src/core/mtp.cpp(+18 -1)📄 Description
Fixes the prompt-read regression on gfx103x since 0.1.40.2 (#2055): on those cards the engine creates the MTP
drafter's
side_stream again. Other HIP cards stay as they are.What changes
MtpDrafter::load(src/core/mtp.cpp): on HIP theside_stream is created when the card's architecture starts withgfx103;STRATA_MTP_SIDE_STREAM=1/=0turns it on or off on any HIP card. The two events (sh_fork_,sh_join_)are not created on HIP, as after #1240. CUDA is unchanged. Plus a paragraph in
docs/AMD_HIP.md.Why
#1240 (
ac52c2c7) dropped the stream and the two events on HIP, because nothing uses them and on an R9700 they slowedprompts. On an RX 6800 under Windows it is the other way round: the stream's existence alone speeds prompts up, the
events change nothing, and all of the difference is in the
wait copyphase (the bisect, the 0.1.40–0.1.43 table andthe phase breakdown are in #2055).
Measurements
One binary, one server per row, the arms alternating; the prompts are
serve/server.py's code, temperature 0:STRATA_MTP_SIDE_STREAM=0STRATA_MTP_SIDE_STREAM=0The 7.9K prompt reads 35–37% faster and the 30.4K one 43–56% faster. Decode is within the run-to-run spread.
Not checked
showed the opposite sign for
STRATA_SH_STREAM, so a number from there is needed;STRATA_MTP_SIDE_STREAM=0gives0.1.43's behaviour back.
ctest) were not run: the build here isstrataandstrata-deviceonly.wait copy: I don't know.🤖 Generated with Claude Code
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.