You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Bug] [STUDIO] Context Length & KV Cache Dtype settings ignored on initial model loading #7346
Bug Report
When setting custom parameters for Context Length and KV Cache Dtype in the Chat sidebar before loading the model, these values are ignored during the initial load. The model starts with default values instead of the ones specified.
Steps to Reproduce
Ensure no models are loaded.
Open the Chat sidebar in Unsloth Studio.
Highlight a model in the dropdown list and click on the "Configure run settings before loading a model" small "gear" icon. The sidebar will open.
Change the Context Length to a specific custom value (e.g., 262144).
Change the KV Cache Dtype to a specific custom value (e.g., q8_0).
Click the "Load model" button.
Observe the loaded settings.
Actual Behavior The model loads with the default values instead of the ones specified above.
Context Length defaults to 4096 (in my case)
KV Cache Dtype defaults to fp16. (in my case)
Workaround To apply the custom settings, the user must wait for the model to load, change the settings again after loading, and then click "Apply".
Expected Behavior The model should initialize using the Context Length and KV Cache Dtype values specified in the sidebar immediately upon clicking "Load model".
changed the title [-][Bug] Please fill in your issue title here.[/-][+][Bug] [STUDIO] Context Length & KV Cache Dtype settings ignored on initial model loading[/+]on Jul 23, 2026
Activity
[-][Bug] Please fill in your issue title here.[/-][+][Bug] [STUDIO] Context Length & KV Cache Dtype settings ignored on initial model loading[/+]test(studio): pin NumericValueInput Auto/dirty contracts for unslotha…
fix(studio): keep same-click context draft after blur (unslothai#7346)
fix(studio): honor run settings on initial model load (#7346) (#7351)