You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This commit was created on GitHub.com and signed with GitHub’s verified signature.
Fixed
wgpu, a stack the weight budget splits (an 8 GB Radeon RX Vega 56 under SenseNova-Loop-9B q4tp, reported
from Windows): every speculative round drafted its tokens and then had its verify refused (the whole stack
does not fit), so --greedy paid for drafts it could never check and reported "0 of 54 accepted". A verify
the budget refuses now turns the drafts off for the model, its drafts leave the count, and later prompts no
longer warm the head. Out of device memory outside an error scope (a long conversation in cortiq serve)
ended the process through wgpu's default handler; it now turns the GPU path off, ends that request with an
error and leaves the server running on the CPU. A split stack's K/V mirrors grow 1024 positions at a time
instead of to the next power of two, so they hold at most a block of unused room.
The engine's lib tests no longer switch each other's GPU backend. The backend is re-read from CMF_GPU on
every op, and on macOS CMF_GPU=1 selects Metal while CMF_GPU=wgpu selects wgpu; the Metal and wgpu
tests set it with no lock, so a Metal test running beside a MiMo bank test took wgpu away between the
bank's readiness check and the bank (hybrid_bank_epoch_advances_at_dynamic_boundary, "bank unavailable",
three master runs in a row on macos-latest). Every test that writes CMF_GPU — 16 Metal tests, 67 wgpu
tests, the four MTP tests that turn the GPU off — now holds one re-entrant guard (gpu::test_gpu_env) for
its whole body and gets the previous value back at the end; the bank tests hold it without writing
(gpu::test_gpu_env_hold), and a refused bank now panics with the placement's reason.