[Fix] ZeroRedundancyOptimizer ambiguous error with param groups when pytorch < 1.12.0 (#818)
* fix zero_optimizer error with param groups when pytorch < 1.12.0 * add docstring * fix docstring * add unittest * change ut to use a valid paramwise_cfg * modify ut * fix as comments
Loading
Please register or sign in to comment