Repository navigation
placement: BLOOMERY_KV_FLOOR plans Qwen3.8's experts at a KV floor; Room::fit past the card's bytes is refused by name - #1185
Merged
Merged
Conversation
…uError::NoRoom); BLOOMERY_KV_FLOOR plans Qwen3.8's expert spread at a KV floor below ctx_max (unset: the plan as before) R1 and R2 of the context-growth plan. The rooms keep their range and rows at ctx_max. With the lever set, a sequence that grows past the floor's bytes ends in the named NoRoom until the residency machine can free bytes (the next round). At ctx 262144, place bp on the A6000 + 3090, the floor 4096 puts 11,627 experts on the card against 9,497 unset. cuMemGetInfo has one owner (current_mem_info), which brings the gpu crate's unsafe blocks to 3097. The card-filling refusal test runs alone (hw_held_). plan38's schema carries kv_floor. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01XgzWzhZmMb7Ec2SohqrR1A
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.
Qwen3.8가 KV floor(BLOOMERY_KV_FLOOR)에서 전문가를 펼쳐 256k에서 카드 전문가 9,497 → 11,627; room fit OOM은 이름 붙은 에러로.
What and why
The first two steps toward a context that grows on demand.
Room::fitpast the card's free bytes now ends inGpuError::NoRoom. The error names the store, the positions, the bytes asked, the page and the device's free bytes. Before, it was a raw driver OOM.BLOOMERY_KV_FLOORplans Qwen3.8's expert spread at a KV floor belowctx_max. The rooms still reserve the range and rows atctx_max, so the experts the cap's KV would take stay on the card until a sequence grows. Unset, the plan is the one made before the lever.cuMemGetInfonow has one owner (current_mem_info).Release notes: Added —
BLOOMERY_KV_FLOOR(Qwen3.8): plan the card's experts at a smaller context and keep the full context's room reserved; a fit past the card's memory is a named error.Code shape
cuMemGetInfohad copies inGpu::mem_infoand the xstream ring. The new code would have added two more, so all of them now callcurrent_mem_info.PlanLeversterm in the common planner. Qwen3.8's seat only parses it.PlacementError::KvFloor. A fit past the free bytes isNoRoom.just remote-static origin/main: ok).Duplication found or removed:
crates/gpu/src/lib.rsGpu::mem_infoandcrates/gpu/src/host/xstream.rscard_memnow callcurrent_mem_info.What I ran
just affected(tools/narrow-scan.sh origin/main), fixture tier on the box:DONE total=216 red=0 tier=fixture skipped=1 wall=2396s deferred=270DONE total=3 red=0 tier=real.mutants/ctxfloor-room-raw.patch→room::tests::hw_held_a_fit_past_the_free_bytes_is_refused_by_name ... FAILED, and every otherhw_held_test ok.bloomery-serve-qwen38 --plan --place bp --ctx-size 262144(A6000 + 3090): unsetcard_experts=9497 host_experts=7843;BLOOMERY_KV_FLOOR=4096giveskv_floor=4096 card_experts=11627 host_experts=5713.Hardware
Box: RTX A6000 + RTX 3090 (250 W cap).
🤖 Generated with Claude Code
https://claude.ai/code/session_01XgzWzhZmMb7Ec2SohqrR1A