mirror of
https://github.com/Niko1221/Strata.git
synced 2026-12-03 19:03:30 +07:00
[PR #912] [CLOSED] setup: show the GPU's PCIe link in step 1, warn on fewer lanes than the card has #2913
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#2913
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/912
Author: @star1872
Created: 10/5/2026
Status: ❌ Closed
Base:
main← Head:setup-pcie-line📝 Commits (10+)
fa16567setup: an earlier config that does not parse is skipped, not a crash; configs are written atomically (#459)749d957setup (--backend hip): a system ROCm without the HIP development files falls back to the wheels (#446)5a30024calibrate: the engine's arguments come from the server's engine_args; a failed tuning says why (#447)9f60d13serve, setup: name the small split card that caps the prompt chunk; setup recommends the big card alone (#448)eb8da1d/metrics: each request's speculative draft counts, and their sums in the totals (#457)6a09387setup (--gguf-dir): GGUFs Strata cannot run are named as such, with the --family/--model to use (#444)d6a91e2docs: the Coder is weaker outside code, Chinese/CJK text included; the unpruned sizes for that (#438)d8d4ad3Merge branch 'f-135-eng' into rel-0.1.357b600d5Merge branch 'f-135-small' into rel-0.1.35d9ab843Engine 0.1.35: Windows AMD uses its bundled HIP runtime (#468 #461), the low-RAM resident mode on Windows 32 GB PCs (#467), fixes #460 #459 #446 #447 #457 #448 #444; setup requires it📊 Changes
2 files changed (+82 additions, -0 deletions)
View changed files
📝
setup.py(+39 -0)➕
tools/test_setup_pcie.py(+43 -0)📄 Description
Step 1 (and
--check) says the GPU's PCIe link, and warns when the card runs on fewer lanes than it has.On an X99 board with an RTX 4060 Ti (
--check, this branch):and with a card on fewer lanes than it has:
Why: the prompt path streams experts over the link, so its rate decides prompt speed (on this PC 714 tok/s for a
3,454-token prompt on Q2_0, against 2,650 at 32K on the RTX 5070), and a card in the wrong slot or sharing lanes is a
common and silent loss on older boards.
How:
nvidia-smi --query-gpu=pcie.link.gen.max,pcie.link.gen.gpumax,pcie.link.gen.hostmax,pcie.link.width.current, pcie.link.width.max. The current generation is not asked: an idle card drops to a lower one (this one reported gen 1at idle). NVIDIA only (AMD gets no line); nothing changes when nvidia-smi does not answer.
Tests:
tools/test_setup_pcie.py(4: parsing, an unparsable answer, a board-limited slow link, a fast link with noextra text, a card on 4 of 16 lanes). All
tools/test_setup_*.pypass.🤖 Generated with Claude Code
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.