Declare the served-rig stub's real (weightless) memory footprint - #13
Closed
Parad0x-Labs wants to merge 1 commit into
Closed
Parad0x-Labs wants to merge 1 commit into
Parad0x-Labs wants to merge 1 commit into
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Root cause (the macOS CI stub-lane drop-out)
The reader/media served rigs register their loopback scripted provider with only
input_modalitiesin manifest metadata. The capability truth then derives the stub's memory budget from its NAME:estimated_local_model_resident_gb('reader-drive:stub')falls back to the 8B default — 7.5 GB for a stub that carries no weights at all.The router's ranking pass runs with
enforce_hardware_fit=True(core/memory_first_router.py:5224), so on smaller-RAM hosts every pinned stub turn is hard-excluded asmodel_exceeds_hardware_budget— strict pass empty, relaxed pass empty (qwen3:4balso over budget),ranked_candidates: [], and the runtime answersselected_provider_excluded_before_invocation("its provider lane is not available right now"). On a 24 GB dev Mac the bogus 7.5 GB still fits, which is why every local replica passed and only the runner failed.Evidence chain (all on the runner, branch debug/macos-stub-lanes2)
eligible— but the fit-enforced ranking recomputation returned[];is_textandturn_local_onlyboth fine.estimated_local_model_resident_gb('reader-drive:stub')= 7.5 GB locally; declaredram_budget_gb: 0.5fits even a simulated 6 GB mps host.Repair
tests/_reader_served_rig.py(the one seam behind artifact-readers m1/m2 and media-product-served): the registered manifest declaresram_budget_gb/vram_budget_gbof 0.5 — the truth for a weightless loopback stub — with a comment naming the estimator default and the measured runner loss. Local: the three suites 38 passed; ruff clean.Contributed by sls_0x.