mirror of
https://github.com/Niko1221/Strata.git
synced 2026-12-03 19:03:30 +07:00
[PR #687] [CLOSED] populate '/models' also in lazy mode #2765
Labels
No labels
needs-format
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Niko1221/Strata#2765
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/Niko1221/Strata/pull/687
Author: @vehystrix
Created: 10/3/2026
Status: ❌ Closed
Base:
main← Head:lazy-models-populate📝 Commits (10+)
f4e96d5tests: gdn_rec_head also compares the PP (variant 4) and two-column (variant 5) recurrence kernels, bitwise16bc95aprefill: STRATA_HCD_EXACT=1 - the HC down projection by a WMMA kernel with hipBLASLt solution 1176/1177 k order (StaggerU included), bitwise502fcef#606: the fused SwiGLU q8_1 quantizers keep the block's scale and sum finite too64d0136cache: preserve checkpoints when split allocation failsa0d0056prefill: fused-expert exact wins (table16 via direct selector, float4 moe_combine, LDS alias + occupancy)5f5452bserve: park_current's try covers the checkpoint split too (#752): a host OOM skips parking8b19a38Layer split: --vram-reserve-later-mib, a separate reserve for the later cardsea83d0dResident RAM mode with a layer splitd2d981fsetup: the low-RAM mode's resident variant on several GPUs (#642)cd62e5eserve: a split's stage-0 GPU profile line keeps its text (#848); later stages say which stage📊 Changes
1 file changed (+1 additions, -1 deletions)
View changed files
📝
serve/server.py(+1 -1)📄 Description
Currently starting the server in lazy mode (
--lazy) shows no models on the/modelsendpoint. It only gets populated as soon as the model actually gets loaded, and stays populated even when a model gets unloaded after.With this surgical fix, the endpoint is populated even before the first load:
StrataEngine; it already lists as loaded via the no-alive path - unchanged.MockEngine, is aStrataEngine-> listed as "unloaded".StrataEngine, same branch.alive()true ->svc.loaded()true -> falls through, listed as "loaded" - unchanged.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.