alanhuangyoo
alanhuangyoo
### System Info ``` peft main @ 9c16ee66 transformers 5.16.1 ``` `peft` declares no upper bound on `transformers`, so `pip install -U` lands here. ### Who can help? Tensor parallel...
### Reminder - [X] I have read the above rules and searched the existing issues. ### System Info Not a runtime report from one machine — this is a version-boundary...
### Description With a Bedrock model and streaming on (`LLM(..., stream=True)`, or `Crew(stream=True)`), native tool calls are dropped. The tool never runs, and the task's answer becomes "I apologize, but...
Follow-up to #8367 / #8384, opened at @delock's suggestion so the layout question has its own place to be discussed. ## What is not covered today #8384 tags a projection...
## Summary Muon under ZeRO 1/2 with fp16 does not train. The first loss-scale overflow folds an overflowed gradient into Muon's momentum buffer, the buffer stays `NaN` for the rest...
## What happens With `autotp_size > 1`, Muon's Newton-Schulz runs on each rank's column-parallel shard of an attention projection. Orthogonalizing a block of rows is not the same computation as...
## Summary `gradient_clipping` defaults to `1.0` (`GRADIENT_CLIPPING_DEFAULT`), and under Muon the quantity it clips is not the gradient — it is the orthogonalized update, whose norm is a property of...
## Summary `{"optimizer": {"type": "Muon"}}` with no `zero_optimization` block trains with SGD. Newton-Schulz never runs. There is no error, no warning, and the loss goes down. `zero_optimization.stage` defaults to `0`...
## Summary Under ZeRO-3, Muon's Newton-Schulz runs once per **micro-batch** instead of once per optimizer step. With `gradient_accumulation_steps: n` the momentum buffer is advanced `n` times per step and the...
## Summary `Loading.is_load_module` decides whether AutoTP loads a module's weights from the checkpoint, and it decides by **class name against a hardcoded list of 26**. A norm class not on...