We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 314c5d8 commit 7c940abCopy full SHA for 7c940ab
src/lightning/pytorch/callbacks/weight_averaging.py
@@ -21,7 +21,7 @@
21
from typing import Any, Optional, Union
22
23
import torch
24
-from torch.optim.swa_utils import AveragedModel
+from torch.optim.swa_utils import AveragedModel, get_ema_avg_fn
25
from typing_extensions import override
26
27
import lightning.pytorch as pl
0 commit comments