Repository navigation
[TUI] fix case-sensitive model folder path in test_setup_qwen4 hardlink test - #461
Closed
NightRain233 wants to merge 1 commit into
Closed
NightRain233 wants to merge 1 commit into
NightRain233 wants to merge 1 commit into
Conversation
VecSzn
added a commit
that referenced
this pull request
Dec 6, 2026
…p_qwen4 casing (#461), and Qwen4 poly.10 docs Zero-engine-touch setup/docs hotfix on top of v0.2.20-poly.10 (df2c3ff); preserves prebuilt binary hashes (ENGINE+VISION ba2ae79b8a871167, ENGINE_ONLY da0e075dee237a14). - Fix #471: repin unsloth/Qwen4-35B-A3B-GGUF to 85a51187d937d87d799be9a10fa30732ee31432c (all 16 pinned files match LFS SHA-256 and byte sizes) and LiquidAI/LFM2.5-24B-A2B-GGUF to d790f111166905bfb36a81e12a403701ac23a1ca (LFM2.5-24B-A2B-QAD-Q4_0.gguf matches LFS SHA-256 and size); update docs/models/qwen4.md commit pin; add offline HF_REVISIONS/docs sync guard with opt-in live API check (STRATA_LIVE_HF_CHECK=1) in test_setup_qwen4.py. - Fold in PR #461: fix case-sensitive model folder path casing in test_setup_qwen4.py hardlink reuse test and assert exact directory casing. - Fix #493: add opt-in "groot" (qwen35moe) to POLY_BASINKV in setup.py and docs/BASINKV.md (default path unchanged; engine already supports qwen35moe BasinKV in v0.2.20-poly.10) with unit and poly_setup tests. - Sync docs/models/qwen4.md with verified v0.2.20-poly.10 (df2c3ff) RTX 4090 D, RTX 5060 Laptop (short + 8K-256K BasinKV 10/10 NIAH PASS), and Apple M5 Ultra (--no-draft 8K-256K NIAH) measurements. Closes #471 Closes #493 Incorporates PR #461 (NightRain233) Co-authored-by: shoudi zheng <434782114@qq.com>
Collaborator
|
Integrated on |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Problem and result
terminal/tools/test_setup_qwen4.py::InstallQwen4OnStrataPoly::test_mtp_off_passes_no_draft_and_shard2_hardlink_reuses_ple_across_tiersfails deterministically on case-sensitive filesystems (Linux CIChecks / Linux / Python terminal/tools/) with:setup.install_qwen4()creates the model directory using case-preservingPath(a.models_dir) / tag(models/qwen4-UD-Q4_K_XL, matchingsetup.py:11213,setup.py:12819, andsetup_mac.py:916). Lines 304 and 320 oftest_setup_qwen4.pyused lowercase"qwen4-ud-iq2_xs"and"qwen4-ud-q4_k_xl"(unlike lines 355 and 409 in the same file, which already use"qwen4-UD-IQ2_XS"and"qwen4-UD-Q4_K_XL"), so the test only passed on case-insensitive macOS/Windows filesystems and failed on Linux ext4.After this fix,
test_mtp_off_passes_no_draft_and_shard2_hardlink_reuses_ple_across_tiersuses"qwen4-UD-IQ2_XS"and"qwen4-UD-Q4_K_XL"and explicitly asserts the exact directory entry name via(t / "models").iterdir()so a casing mismatch would fail even on case-insensitive macOS/Windows filesystems.Related discussion
none (focused CI test bug fix; observed failing on Linux
py-toolsacross #457, #458, and #459; verified no open PR fixestest_setup_qwen4.py).Approach
terminal/tools/test_setup_qwen4.pylines 304 and 320 to use"qwen4-UD-IQ2_XS"and"qwen4-UD-Q4_K_XL", matchinginstall_qwen4()and lines 355/409 of the same test file.self.assertIn(s2.parent.name, {p.name for p in (t / "models").iterdir()})so exact directory casing is verified even on case-insensitive filesystems.terminal/setup.pyor any engine code.Validation
Passed:
PolyStratamaindf2c3ff+ fix commit):PYTHONPATH=terminal python terminal/tools/test_setup_qwen4.py->Ran 8 tests — OK(including the exact-caseiterdir()assertion).Failed:
Not run:
47479724313job145547604976py-tools.log, and Linux CI will verify on this PR directly).Limits
terminal/tools/test_setup_qwen4.py;install_qwen4()'s existingPath(a.models_dir) / tagdirectory convention is intentionally kept unchanged for consistency with all other families insetup.pyandsetup_mac.py.