Skip to content

Qwen3.8-27B on Metal: TF_PROMPT_ROWS below 128 gets the prompt floor's message again - #2527

Merged
ashhart merged 1 commit into
mainfrom
lead/prompt-floor-message
Nov 8, 2026
Merged

ashhart merged 1 commit into
mainfrom
lead/prompt-floor-message

Conversation

@ashhart

@ashhart ashhart commented Nov 8, 2026

Copy link
Copy Markdown
Owner

test-qwen27-prompt-floor-host fails on main. Its TF_PROMPT_ROWS=16 case expects the floor's message: "native Qwen prompt serving needs at least 128 prompt rows; TF_PROMPT_ROWS supplied 16. Set TF_PROMPT_ROWS to at least 128 (a multiple of 16), or unset it to use the device default."

#2405 (named environment checks at startup) routed every malformed TF_PROMPT_ROWS through the environment table's generic refusal (TF_PROMPT_ROWS="16": expected a multiple of 16 from 128 to 2048), so the floor's explanation was lost. The step isn't in CI, so main stayed green. Found while testing #2526.

  • A whole count below 128 goes through admit with the floor's message again, still as PromptRowsTooSmall.
  • Any other bad text (not a number, not a multiple of 16, above 2048) keeps the table's generic refusal as InvalidEnvironment.
  • Valid values are unchanged.

test-qwen27-prompt-floor-host passes again: 2/2, the 16-row case and the lane constructor case. test-environment-host passes.

generic refusal, so a count under 128 lost the floor's explanation and
test-qwen27-prompt-floor-host (not in CI) failed on main. A whole count
below the floor is admitted through the floor's message; any other bad
text keeps the table's.
@ashhart
ashhart force-pushed the lead/prompt-floor-message branch from ce9cab0 to e0e37d3 Compare November 8, 2026 08:09
@ashhart
ashhart merged commit 199a02c into main Nov 8, 2026
3 of 7 checks passed
ashhart added a commit that referenced this pull request Nov 8, 2026
…s message

6a1feb2 (#2405) wrote two expectations here that main has since changed on purpose:

- 19e9062 (environment: empty or whitespace-only values mean unset again) made blank text unset
  for every setting. "" now reaches the loader, and expecting InvalidEnvironment for it stopped the
  malformed-value loop at its first value. "" leaves that loop, and a new test pins "", " " and
  "\t\n" as unset: the loader is called and why is untouched.
- 199a02c (#2527) gave a whole count below 128 the prompt floor's own message again. The
  below-floor test expected the generic table message, so it failed as soon as #2527 landed. It
  now expects the floor's text, origin and remedy, as test-qwen27-prompt-floor-host does.

test-qwen27-prompt-rows-host: 14 of 14.
@ashhart
ashhart deleted the lead/prompt-floor-message branch November 10, 2026 16:34
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