mirror of
https://github.com/hpcaitech/ColossalAI.git
synced 2025-04-28 11:45:23 +00:00
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
This commit is contained in:
parent
9e767643dd
commit
3568df498a
@ -349,7 +349,7 @@ class LowLevelZeroPlugin(DPPluginBase):
|
|||||||
verbose: bool = False,
|
verbose: bool = False,
|
||||||
cast_inputs: bool = True,
|
cast_inputs: bool = True,
|
||||||
fp8_communication: bool = False,
|
fp8_communication: bool = False,
|
||||||
use_fp8: bool = False
|
use_fp8: bool = False,
|
||||||
) -> None:
|
) -> None:
|
||||||
super().__init__()
|
super().__init__()
|
||||||
assert stage in (1, 2), f"LowLevelZeroPlugin only supports stage 1/2 training"
|
assert stage in (1, 2), f"LowLevelZeroPlugin only supports stage 1/2 training"
|
||||||
|
Loading…
Reference in New Issue
Block a user