[PR #5035] [CLOSED] [Other] DeepSeek setup: when no engine package fits, name why this system's own package does not #5292

Closed
opened 2026-11-07 16:34:07 +07:00 by bsakaguchi · 0 comments
Owner

📋 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)

  • 8fd85ed DeepSeek 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)
  • 1ee2cac Merge 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.

## 📋 Pull Request Information **Original PR:** https://github.com/Niko1221/Strata/pull/5035 **Author:** [@ppkrol](https://github.com/ppkrol) **Created:** 11/2/2026 **Status:** ❌ Closed **Base:** `main` ← **Head:** `dsv41-feed-reason` --- ### 📝 Commits (2) - [`8fd85ed`](https://github.com/Niko1221/Strata/commit/8fd85edb40a9114c8c3abfee643ad3c93995bb15) DeepSeek 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) - [`1ee2cac`](https://github.com/Niko1221/Strata/commit/1ee2cac532569f4e0513405de18f918c9b7615a0) Merge 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) <details> <summary>View changed files</summary> 📝 `docs/DEEPSEEK41.md` (+6 -0) 📝 `strata_control/dsv41_engine.py` (+2 -0) 📝 `tests/terminal/test_dsv41_engine.py` (+16 -2) </details> ### 📄 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 <platform>, this PC is <this platform>" 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](https://claude.com/claude-code) --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-11-07 16:34:07 +07:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Niko1221/Strata#5292
No description provided.