Browse Source

[pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci
flybird11111-patch-1
pre-commit-ci[bot] 3 months ago
parent
commit
3568df498a
  1. 2
      colossalai/booster/plugin/low_level_zero_plugin.py

2
colossalai/booster/plugin/low_level_zero_plugin.py

@ -349,7 +349,7 @@ class LowLevelZeroPlugin(DPPluginBase):
verbose: bool = False,
cast_inputs: bool = True,
fp8_communication: bool = False,
use_fp8: bool = False
use_fp8: bool = False,
) -> None:
super().__init__()
assert stage in (1, 2), f"LowLevelZeroPlugin only supports stage 1/2 training"

Loading…
Cancel
Save