Repository navigation
fix(studio): use resolved public id in embeddings/completions monitor - #9346
danielhanchen merged 4 commits into
Conversation
|
@danielhanchen — split the monitor-id change out here per your #9306 feedback.
Dedupe-only work stays in #9306. |
bb4ccd4 to
da7f7f4
Compare
|
Confirmed the raw client model is still what lands in the monitor rows in studio/backend/routes/inference.py for /v1/completions and /v1/embeddings, and this puts the resolved id plus quant there instead; noted your sequencing request ahead of #9306. |
Prefer _monitor_active_model() for API monitor rows on /v1/embeddings and /v1/completions so the UI shows the loaded public id (with quant) instead of echoing a raw client alias like UNSLOTH-bge-m3.
f78c205 to
43932a0
Compare
|
Review record for #9346, carried over from the mirror it was reviewed on: danielhanchen/unsloth-staging-review#286. Findings are quoted as posted and attributed to the account that posted them. The reactions shown are the triage recorded on the mirror; none were re-applied here. Commits are named as the mirror's, with this PR's equivalent where one was found. Round 1: reviewed mirror
|
Summary
Split out from #9306 per review.
/v1/embeddingsand/v1/completionsAPI monitor rows now prefer_monitor_active_model()(resolved public id + quant when known) instead of echoing the raw clientmodelfield (e.g.UNSLOTH-bge-m3vsbge-m3:q8_0).Test plan
UNSLOTH-bge-m3while loaded public id isbge-m3:q8_0→ monitor row recordsbge-m3:q8_0Before / after
API monitor after calling
/v1/completionsasmy-completer(Qwen3-0.6B Q4_K_M loaded) and/v1/embeddingsasmy-embedder(Qwen3-Embedding-0.6B Q8_0 loaded). Merge basec0a60448evs head3837ed2ba, both requests return 200 on both sides. Before, the rows echo the client alias; after, they name the loaded model and quant.