Repository navigation
Commit 98b2486
ravgupta
[ROCm][GLM-5.3-Flash][gfx942] MoRIIO READ: wait for all in-flight reads before each consumer forward
wait_for_layer_load returns early under FULL cudagraphs (replay as well as
capture) and only guards layers that call it, and the worker's start_load_kv
returns early on steps with no new reads. A transferred request's first
decode step could therefore read KV, indexer or Mamba/KDA state that was
still arriving (intermittent long-context recall misses under concurrency
once prefill got fast). Wait on the host in MoRIIOConnector.start_load_kv,
which runs before every forward in every cudagraph mode.1 parent df2427f commit 98b2486
1 file changed
Lines changed: 30 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
325 | 325 | | |
326 | 326 | | |
327 | 327 | | |
| 328 | + | |
328 | 329 | | |
329 | 330 | | |
330 | 331 | | |
| |||
2269 | 2270 | | |
2270 | 2271 | | |
2271 | 2272 | | |
| 2273 | + | |
| 2274 | + | |
| 2275 | + | |
| 2276 | + | |
| 2277 | + | |
| 2278 | + | |
| 2279 | + | |
| 2280 | + | |
| 2281 | + | |
| 2282 | + | |
| 2283 | + | |
| 2284 | + | |
| 2285 | + | |
| 2286 | + | |
| 2287 | + | |
| 2288 | + | |
| 2289 | + | |
| 2290 | + | |
| 2291 | + | |
| 2292 | + | |
| 2293 | + | |
| 2294 | + | |
| 2295 | + | |
| 2296 | + | |
| 2297 | + | |
| 2298 | + | |
| 2299 | + | |
| 2300 | + | |
| 2301 | + | |
2272 | 2302 | | |
2273 | 2303 | | |
2274 | 2304 | | |
| |||
0 commit comments