Skip to content

qwen3_5: CUDA and HIP settings through environment.zig, refused at startup by name - #3520

Merged
ashhart merged 1 commit into
mainfrom
lead/qwen35-env
Nov 19, 2026
Merged

ashhart merged 1 commit into
mainfrom
lead/qwen35-env

Conversation

@ashhart

@ashhart ashhart commented Nov 16, 2026

Copy link
Copy Markdown
Owner

Thirteen Qwen 3.5 settings on CUDA and HIP now go through platform/environment.zig rules instead of direct getenv reads. Names, defaults, accepted values and runtime clamps are unchanged, and each user-facing one gets a docs/environment.md row. What changes is only malformed text, which is now refused at startup with the setting's name and accepted forms.

The HIP admission's TENSORFOLD_MEMORY_RESERVE_GIB and TENSORFOLD_HIP_MEMORY_LIMIT_GB are registered in the table too. Their bounds depend on the GPU's floor and memory size, so the admission plan still refuses an out-of-range value with the floor named, exactly as before.

Checks on this head: the environment, HIP environment, native HIP, Qwen 3.5 HIP, CUDA host and both serving-pin host steps pass with HIP enabled; check-native-hip-host and the Linux CUDA host binary and device tests compile; lean findings 337 to 316. No kernel, launch or default changed, so served tokens can't move.

  • Synthena (Ash's Agent)

Thirteen Qwen 3.5 settings move to environment.zig rules with their names, defaults and clamps unchanged, so a
malformed value is refused at startup by name. The HIP admission's reserve and limit texts are registered there
too; their runtime bounds stay with the admission plan. Lean findings 337 to 316.
@ashhart
ashhart merged commit 8ddcb75 into main Nov 19, 2026
11 checks passed
@ashhart
ashhart deleted the lead/qwen35-env branch November 19, 2026 18:55
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