refactor(load-snapshot): build LoadSnapshot directly, drop legacy get_loads IPC (#30525)

Co-authored-by: cctry <cctry@fb.com>
This commit is contained in:
cctry
2026-07-09 05:58:10 -07:00
committed by GitHub
co-authored by cctry
parent 7aab39a18b
commit 1959335997
8 changed files with 153 additions and 371 deletions
+1 -1
View File
@@ -751,7 +751,7 @@ async def server_info():
async def get_load():
"""Get load metrics (deprecated - use /v1/loads instead).
Legacy shim backed by /v1/loads. Projects GetLoadsReqOutput down to the
Legacy shim backed by /v1/loads. Projects the load snapshot down to the
historical field shape (dp_rank, num_reqs, num_waiting_reqs, num_tokens,
num_pending_tokens, ts_tic) so existing clients keep working.
"""