Uni-Core
Uni-Core copied to clipboard
replace the EMA implementation with pytorch-native AveragedModel
This PR replaces the custom EMA implementation with the one in PyTorch.
Note that this PR breaks backward compatibility: it cannot load old-format checkpoints that were generated with ema enabled.