mirror of
https://github.com/hpcaitech/ColossalAI.git
synced 2025-04-28 03:43:01 +00:00
[NFC] Fix format for mixed precision (#4253)
* [NFC] polish colossalai/booster/mixed_precision/mixed_precision_base.py code style
This commit is contained in:
parent
02192a632e
commit
b366f1d99f
@ -13,7 +13,8 @@ class MixedPrecision(ABC):
|
||||
"""
|
||||
|
||||
@abstractmethod
|
||||
def configure(self,
|
||||
def configure(
|
||||
self,
|
||||
model: nn.Module,
|
||||
optimizer: Optional[Optimizer] = None,
|
||||
criterion: Optional[Callable] = None,
|
||||
|
Loading…
Reference in New Issue
Block a user