Repository navigation
environment: Metal Qwen paging, slot resume and slide checks refused by name (#2370) - #3018
Merged
Merged
Conversation
6 of 8 tasks
ashhart
force-pushed
the
lead/env-metal-qwen-slide
branch
from
November 13, 2026 15:27
aee84c3 to
3e8b24c
Compare
7 of 8 tasks
ashhart
added a commit
that referenced
this pull request
Nov 15, 2026
…2370) TF_QWEN27_SLOT_RESUME, TF_QWEN27_METAL_KV_PAGES, TF_QWEN35_METAL_KV_PAGES, TF_SLIDE_FIT_REDUCE, TF_SLIDE_TAKE_OUT_CHECK and TF_SLIDE_TAP_CHECK get rows in platform/environment and are read through it, so a malformed value is refused by name instead of read as a default. Unset or blank keeps today's defaults: resume on, pages off, the ordered fit reduction, both checks off. The two check switches move from on-when-set to exact 0 or 1. The two KV-page switches and the tree reduction get profile rows (arithmetic until a token-hash run says otherwise), and the docs list the six in the strict table. Host tests: each switch's forms, blank as unset and named refusals, valid-form coverage for the new rows, and profile-line reporting.
…rt (#2370) TF_SLIDE_FIT_REDUCE leaves this change: its only reader, fitDevice, takes living.pocket_fit.DeviceFit, which does not exist, so nothing compiles it. Its row, profile entry and reader go back to main, and it stays in the lenient list. TF_SLIDE_TAKE_OUT_CHECK is read once when the server starts with --slide and kept in the config, so a malformed value is refused there by name instead of being logged at every kept lesson. Host test: the start-up read with and without --slide, and its refusals.
…600 with slide_take_out_check Comment-only: Config keeps every field and default.
ashhart
force-pushed
the
lead/env-metal-qwen-slide
branch
from
November 16, 2026 00:41
3e8b24c to
12ffff1
Compare
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.
For #2370 (refuse a bad environment value by name instead of reading it as a default), this batch: Metal Qwen KV paging, slot resume, and the slide checks.
TF_QWEN27_METAL_KV_PAGES, the slot-resume switch,TF_SLIDE_TAKE_OUT_CHECKandTF_SLIDE_TAP_CHECK, with a valid and a refused case each. The KV-page rows are markedarithmeticuntil a main-against-branch token-hash run on a Mac without tensor units settles them.TF_SLIDE_TAKE_OUT_CHECKis read once when the server starts with--slide. A malformed value is refused by name and the server exits, instead of being logged on every lesson.TF_SLIDE_FIT_REDUCEis left out: its only reader,fitDevice(families/qwen3_5/cuda_train_more.zig), takes a type that doesn't exist and is called by nothing, so no build compiles it. It stays in the lenient list.Tests: 40/40 steps, including the environment, profile, profile-line, defaults, capability and report steps, plus
test-living-host.test-server-cpu1,311 pass (one new). Reverting the registry rows fails the profile-line and environment tests; swallowing the take-out error, as before, fails the new server test. Lean 0 new.