Changyi Yang
Changyi Yang
## Description When a tensor's `element_space_size` (= `(lengths[i]-1) * strides[i]` summed across dimensions) exceeds `uint32_max`, `calculate_element_space_size_impl` overflows because `lengths` and `strides` are `index_t = int32_t`. This corrupts `buffer_size_` in `buffer_view`,...
### Checklist - [x] This is a bug report, not a general question. - [x] This report is in English. ### Summary `MambaRadixCache` can degrade a structurally valid prefix match...
## Summary The official cookbook page for **MiniMax-M3** recommends an **AMD Instinct (MI300X) MXFP8** deployment, but sglang hard-rejects `mxfp8` quantization on ROCm, so the documented MI300X command cannot start the...
### Problem The `load_weights` implementation shared by the MoE models (e.g. `sglang/srt/models/qwen3_moe.py::Qwen3MoeForCausalLM.load_weights`, same pattern in qwen2_moe / deepseek variants) does, for **every** incoming tensor: ```python for mapping in expert_params_mapping: #...
## Summary `pause_generation(mode="retract")` does not fully release KV cache memory. The retract path frees only the request-owned suffix: ```python kv_indices[cache_protected_len:] ``` The prefix range owned by `RadixCache`: ```text kv_indices[:cache_protected_len] ```...
[BUG] FSDP engine forward_step hardcodes bf16 autocast and ignores configured mixed-precision dtype
The new FSDP engine path hardcodes `torch.autocast(..., dtype=torch.bfloat16)` inside `forward_step()`, which makes the actual forward execution dtype diverge from the configured FSDP precision settings. This appears to be a separate...
### Context `get_per_tensor_param` exports FSDP2 weights with a per-parameter `.to(device).full_tensor()` — one independent all-gather per parameter (~340 for a 7B model), plus one pageable H2D per parameter when the model...
### Summary Training **Qwen3-30B-A3B** (`Qwen3MoeForCausalLM`) with the FSDP2 engine consistently fails in the **first `update_actor` backward**. The same config trains fine with FSDP1, and dense Qwen2.5 models (7B/32B/72B) train fine...
Tracking issue for the sharded delta weight sync (`delta_sharded` checkpoint-engine backend) merged in #6974, and the follow-up roadmap. ## Merged - #6974 — `[ckpt,rollout] feat: sharded delta weight sync over...