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
Studio: expose gpu_ids / gguf_memory_mode in load+status responses and wire the frontend so they round-trip #7210
Follow-up from #7188 (which adds GGUF gpu_ids and gguf_memory_mode on /load + /validate).
Gap
The new placement settings are accepted on /load but are not exposed on LoadResponse or the inference status response, and the Studio frontend does not send or remember them. Two coupled halves:
Response round-trip (backend):LoadResponse and the status builders do not include gpu_ids / gguf_memory_mode. A client that hydrates an Apply/reload from the current status therefore omits them; because _request_matches_loaded_settings treats omitted values as auto/None, the follow-up reloads the model and drops the explicit GPU pin or memory mode.
Frontend wiring:LoadModelRequest/ValidateModelRequest types and the settings sheet do not carry gpu_ids / gguf_memory_mode, so normal Studio users cannot set them; only manually constructed API calls can.
Reachability
Currently latent: with no consumer sending these fields (the frontend is not wired and the fields are new in #7188), no client performs a status-hydrated re-Apply that carries them, so nothing drops today. It becomes reachable as soon as the settings are consumed. Fixing it belongs with wiring the frontend, hence tracked here rather than in #7188 (which keeps to backend load-path correctness).
Suggested scope
Add gpu_ids and gguf_memory_mode to LoadResponse and the inference status response, populated from LlamaCppBackend.gpu_ids / .memory_mode.
Add the fields to the frontend request types + settings sheet, and include them in dirty-state / reset / remembered-load handling so an Apply preserves them.
Activity