mirror of
https://github.com/Niko1221/Strata.git
synced 2026-12-03 19:03:30 +07:00
[PR #5035] [CLOSED] [Other] DeepSeek setup: when no engine package fits, name why this system's own package does not #5292
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#5292
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/5035
Author: @ppkrol
Created: 11/2/2026
Status: ❌ Closed
Base:
main← Head:dsv41-feed-reason📝 Commits (2)
8fd85edDeepSeek engine: when no package fits, say first why this system's own package does not (a card it has no code for), not the first two packages in the feed; docs: building the engine for an AMD card on Windows (gfx1100)1ee2cacMerge Niko1221/Strata main into dsv41-feed-reason: keep main's card_problem line for an AMD card, and sort the other reasons so this system's own packages come first📊 Changes
3 files changed (+24 additions, -2 deletions)
View changed files
📝
docs/DEEPSEEK41.md(+6 -0)📝
strata_control/dsv41_engine.py(+2 -0)📝
tests/terminal/test_dsv41_engine.py(+16 -2)📄 Description
Problem and result: on a PC with no fitting DeepSeek engine package, setup prints only the first two reasons
select_engine returns. The feed lists the Linux packages first, so a Windows RX 7900 XTX (gfx1100) gets
"0.1.55 linux-x86_64-cuda-cuda13 is for linux-x86_64, this PC is windows-x86_64; 0.1.55 linux-x86_64-hip-rx9070
is for linux-x86_64 ..." and never the reason that matters: the Windows rdna3 package has code for gfx1151 only.
After the change, this system's own packages' reasons come first: "... windows-x86_64-hip-rdna3 has code for
gfx1151, this PC's GPU is gfx1100".
Related discussion: Niko1221/Strata#4519 (the Windows gfx1100 package request).
Approach: strata_control/dsv41_engine.py install() sorts the reasons so that the "is for , this PC is
" lines go last (a stable sort; the line keeps its first two entries). docs/DEEPSEEK41.md
"Building the engine for your card" gets the AMD / Windows build (tools\dsv41\win\build_hip_win.bat,
STRATA_HIP_ARCHS) and where to put the result. A package that fits is chosen exactly as before.
Validation:
Passed: python -m pytest tests/terminal/test_dsv41_engine.py tests/terminal/test_dsv41_upgrade.py
(41 passed, Windows 11, Python 3.14). The new test publishes packages for the other two platforms
first and one for this platform whose arch does not fit, and checks the line names the arch.
Passed: python tools/test_setup_dsv41.py (105 tests OK).
Failed: the new test without the change (2 failed: its line named only the other platforms).
Not run: tests/terminal files that need rich / textual / psutil (not installed in this Python); no
engine code is touched, so no GPU build applies.
Limits: the text only; the Windows rdna3 package itself still lacks gfx1100 (#4519).
🤖 Generated with Claude Code
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.