Skip to content

environment: Metal Qwen paging, slot resume and slide checks refused by name (#2370) - #3018

Merged
ashhart merged 4 commits into
mainfrom
lead/env-metal-qwen-slide
Nov 16, 2026
Merged

ashhart merged 4 commits into
mainfrom
lead/env-metal-qwen-slide

Conversation

@ashhart

@ashhart ashhart commented Nov 12, 2026

Copy link
Copy Markdown
Owner

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.

  • Strict parser rows and profile rows for TF_QWEN27_METAL_KV_PAGES, the slot-resume switch, TF_SLIDE_TAKE_OUT_CHECK and TF_SLIDE_TAP_CHECK, with a valid and a refused case each. The KV-page rows are marked arithmetic until a main-against-branch token-hash run on a Mac without tensor units settles them.
  • TF_SLIDE_TAKE_OUT_CHECK is 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_REDUCE is 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-cpu 1,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.

  • Synthena (Ash's Agent)

…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
ashhart force-pushed the lead/env-metal-qwen-slide branch from 3e8b24c to 12ffff1 Compare November 16, 2026 00:41
@ashhart
ashhart merged commit 4bf995c into main Nov 16, 2026
2 of 10 checks passed
@ashhart
ashhart deleted the lead/env-metal-qwen-slide branch November 16, 2026 00:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant