Repository navigation
fix(strata): keep the all-resident verify path opt-in on every platform - #247
Merged
shuk777 merged 1 commit intoNov 17, 2026
Merged
Conversation
On 96GB card --expert-cache auto puts all 24576 experts in VRAM, the verifier then take the zero-doorbell path and the first decode window never finish (same "the GPU rang 0" stall as the RTX Spark N1X note in verify.cpp), watchdog kill the engine with exit -6. The opt-in was only for aarch64, now it is for every platform. STRATA_VERIFY_ALL_RESIDENT=1 still turn it on for debugging. Fixes Edge0-AI#200
akbarharyadi
force-pushed
the
fix/verify-all-resident-opt-in
branch
from
November 16, 2026 16:25
aadbe02 to
786fcc7
Compare
shuk777
approved these changes
Nov 17, 2026
shuk777
left a comment
Collaborator
There was a problem hiding this comment.
Thanks — LGTM. Merging.
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.
What & why
Follow up from #200. On my 96GB card
--expert-cache autofits all 24576 experts, then the verifier takes the all-resident (zero-doorbell) path and the first decode window never finish, the watchdog kill the engine with exit -6.The stall report is same with the RTX Spark N1X case that already written in
verify.cpp:For that case the path was made opt-in, but only under
STRATA_CPU_ARM64, so on x86-64 Linux it still taken by default. This change just make it opt-in for every platform and update the note inEDGE0.md.STRATA_VERIFY_ALL_RESIDENT=1still turn it on for debugging.I think 24GB card never reach this path because the experts don't all fit, that's why it not show before.
Fixes #200
Area
edge0-infer/)edge0-infer/tools/assets/)edge0-infer/examples/)docs/)edge0-strata/)How was it tested?
Same box as #200: RTX PRO 6000 Blackwell Server Edition 96GB (sm_120), KVM passthrough, 32 vCPU, 80GB RAM, Ubuntu 26.04, driver 595.99.02, CUDA 13.3, gcc 15.2. strata built from this branch with
-DCMAKE_CUDA_ARCHITECTURES=120, Edge0-145B-NVFP4,serve/server.py --engine strata,--expert-cache auto, 1 slot, 131K context (so all 24576 experts fit).STRATA_VERIFY_ALL_RESIDENT=1(the old default):expert cache 24576 slotsand(100% VRAM resident: zero-doorbell graph), the first "Say hi" request hang and after 63 s return 503, engine exit -6 with the samethe GPU rang 0stall report.expert cache 24576 slots(every expert in the GPU cache) but the verify line has no zero-doorbell, the same request answer in 1 s. Then 8 requests at once and the community benchmark below, no hang.Community benchmark (
tools/strata_bench.py):Agent session cache hit 65.5%. Medians over 3 runs, thinking off, temperature 0, 1 slot, 131K context.
More from the benchmark report
Agent session, run 1 (each turn add about 1500 words, 64 new tokens per turn):
Speed only, no correctness check in this suite.
Checklist
ctest --preset cpu -L "L0|L1"passes locally inedge0-infer/(engine changes): no change inedge0-infer/edge0-infer/docs/testing.md): run the model on the card aboveedge0-strata/EDGE0.md