mirror of https://github.com/hpcaitech/ColossalAI
Update low_level_zero_plugin.py
parent
3b0df30362
commit
9e767643dd
|
@ -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