Pretrain, finetune ANY AI model of ANY size on 1 or 10,000+ GPUs with zero code changes.
Allow `training_step` in manual optimization to return general mappings (#21011)
* change dict to mapping * add a bit of testing * changelog * use custom mapping * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * Update tests/tests_pytorch/trainer/optimization/test_manual_optimization.py Co-authored-by: Bhimraj Yadav <[email protected]> * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * update --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Bhimraj Yadav <[email protected]> Co-authored-by: Deependu Jha <[email protected]>
N
Nicki Skafte Detlefsen committed
791753b1c3ed0e434ee097564caceea2d8bc76ea
Parent: 8d847fd
Committed by GitHub <[email protected]>
on 8/6/2025, 9:17:32 AM