mirror of
https://github.com/Niko1221/Strata.git
synced 2026-12-03 19:03:30 +07:00
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#4118
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/2553
Author: @qiuzan2001
Created: 10/15/2026
Status: ❌ Closed
Base:
main← Head:chief-serve/paging-advice-family📝 Commits (1)
13d34e3setup: the low-RAM paging warning suggests the chosen family's smaller sizes, not Q2_0 for every one (#1919)📊 Changes
2 files changed (+36 additions, -6 deletions)
View changed files
📝
setup.py(+17 -6)📝
tools/test_setup_lowram.py(+19 -0)📄 Description
One item of #1919: "the low-RAM confirm_risk text ... 'A smaller size (Q2_0 or IQ2_XS) fits' and 'choose Q2_0 or
IQ2_XS' are printed for every family. But Q2_0 is offered only for family qwen".
What it changes.
confirm_paging()insetup.py(the warning when a size's experts do not fit this PC's RAM andthe low-RAM mode is off) now takes the family and names its own smaller sizes through a new
smaller_sizes(model, family, ram): the two smallest sizes of that family below the one asked for, preferring those that fit this RAM bythe warning's own margin (
ram >= ram_gb - 4), else the two smallest as before. With none it says "More RAM fixesit." and the hint "add RAM". Examples:
A smaller size (IQ2_XS) fits(wasQ2_0 or IQ2_XS; Swift has no Q2_0, and its IQ3_XXSwants 60 GB). On 57 GB:
IQ2_XS or IQ3_XXS.More RAM fixes it.(wasQ2_0 or IQ2_XS, neither of which the Coder has).What it leaves alone. The original model's IQ3_XXS and IQ3_S warnings: checked byte for byte against
upstream/main(stdout and stderr of 16 runs: 30/40/50/57 GB,--low-ram auto/off). Its IQ2_XS warning now saysQ2_0alone instead ofQ2_0 or IQ2_XS(it suggested the size being installed). When the warning appears, itsquestion, defaults and stops. The Unsloth sizes never reach this warning (they take a RAM budget first). The generic
"Q2_0 or IQ2_XS" in README.md, docs/TROUBLESHOOTING.md and docs/SECOND_GPU.md, which are about the original model.
The other #1919 items.
How it was checked.
tools/test_setup_lowram.pyPagingQuestion.test_the_smaller_sizes_are_the_family_s_own_1919(the originalmodel unchanged, Swift on 50 and 57 GB, the Coder, NVFP4). Fails on
main(nosmaller_sizes, no family).python3 tools/test_setup_lowram.py,tools/test_setup_risk.py,test_setup_choices.py,test_setup_menu.py,test_setup_unsloth.py,test_setup_nvfp4.py,test_setup_qwen36.py: OK.tools/test_setup_golden.py: the same8 failures (unsloth UD-Q4_K_XL rows) as on
upstream/mainwithout this change.🤖 Generated with Claude Code
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.