Srivatsan6923
Srivatsan6923
Hi, I'd like to look into this issue. I'll start by reproducing the metadata mismatch and reviewing the related work in #30642 to avoid overlap, then share my findings and...
I can reproduce the missing gradient without GPUs. On main `43a2ef6d3` with your script, `BACKEND=gloo` and two CPU processes (PyTorch 2.14.1): - original gather: backward fails on both ranks with...
One more finding from checking the backward path: the zigzag context-parallel branch of `roll_tensor` also loses gradients at rank boundaries. `_exchange_cp_roll_boundaries` uses `batch_isend_irecv` with newly allocated receive buffers. The forward...
For triage: `sgl-model-gateway` was removed from main in #50732. Its replacement `sgl-router` splits the stream into SSE frames before matching the terminator (`sgl-router/src/protocol/sse.rs`, `payload == b"[DONE]"`), so a `[DONE]` inside...
Ran this on an RTX 4060 Laptop (SM89), CUDA 13.0 / torch 2.14.1+cu130, main `6018abff6`. The repro gives the same numbers as above on both paths (1024 / 24). There's...
Thanks for confirming. Yes, I'll fix it. I asked @Hiro208 earlier whether they planned to send a fix and haven't heard back, so I'll go ahead. I'll start with a...
Quick update: #7834 reworked this path, and on current main the SP-only case from this issue now gets the right gradient, so I'm dropping the SP-only fix. The zigzag CP...
Still reproduces on jax/jaxlib 0.12.1 (RTX 4060). Same pattern as the report: only GPU + donation + the `(ys, state)` order gives wrong values, and CPU is fine. I don't...
I'd like to pick this up if it's still wanted (cc @janpfeifer). What I see on current main: - The CPU backend has no thunk for `collective-broadcast`, and the in-process,...
Hi @yuki-97, is the "Additional loss/advantage capabilities" item still open? I'd like to take it. SingleController uses the same loss and advantage estimator classes as the legacy GRPO/PPO path, so...