Merge pull request #4858 from Shawlleyw/main

[doc]: typo in document of booster low_level_zero plugin
pull/4887/head
ppt0011 1 year ago committed by GitHub
commit 81ee91f2ca
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -226,7 +226,7 @@ class LowLevelZeroPlugin(DPPluginBase):
``` ```
Args: Args:
strage (int, optional): ZeRO stage. Defaults to 1. stage (int, optional): ZeRO stage. Defaults to 1.
precision (str, optional): precision. Support 'fp16', 'bf16' and 'fp32'. Defaults to 'fp16'. precision (str, optional): precision. Support 'fp16', 'bf16' and 'fp32'. Defaults to 'fp16'.
initial_scale (float, optional): Initial scale used by DynamicGradScaler. Defaults to 2**32. initial_scale (float, optional): Initial scale used by DynamicGradScaler. Defaults to 2**32.
min_scale (float, optional): Min scale used by DynamicGradScaler. Defaults to 1. min_scale (float, optional): Min scale used by DynamicGradScaler. Defaults to 1.

Loading…
Cancel
Save