Repository navigation
qwen3_5: CUDA and HIP settings through environment.zig, refused at startup by name - #3520
Merged
Merged
Conversation
6 of 8 tasks
5 of 8 tasks
ashhart
force-pushed
the
lead/qwen35-env
branch
from
November 18, 2026 19:11
c6028eb to
e044188
Compare
This was referenced Nov 19, 2026
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
force-pushed
the
lead/qwen35-env
branch
from
November 19, 2026 18:55
e044188 to
04c60b6
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.
Thirteen Qwen 3.5 settings on CUDA and HIP now go through
platform/environment.zigrules instead of directgetenvreads. Names, defaults, accepted values and runtime clamps are unchanged, and each user-facing one gets adocs/environment.mdrow. 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_GIBandTENSORFOLD_HIP_MEMORY_LIMIT_GBare 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-hostand 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.