Skip to content

Commit 7c940ab

Browse files
authored
Update weight_averaging.py
1 parent 314c5d8 commit 7c940ab

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lightning/pytorch/callbacks/weight_averaging.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
from typing import Any, Optional, Union
2222

2323
import torch
24-
from torch.optim.swa_utils import AveragedModel
24+
from torch.optim.swa_utils import AveragedModel, get_ema_avg_fn
2525
from typing_extensions import override
2626

2727
import lightning.pytorch as pl

0 commit comments

Comments
 (0)