mirror of
https://github.com/hpcaitech/ColossalAI.git
synced 2025-09-03 10:06:44 +00:00
[doc] add booster docstring and fix autodoc (#3789)
* [doc] add docstr for booster methods * [doc] fix autodoc
This commit is contained in:
@@ -25,24 +25,6 @@ Plugin is an important component that manages parallel configuration (eg: The ge
|
||||
|
||||
{{ autodoc:colossalai.booster.Booster }}
|
||||
|
||||
{{ autodoc:colossalai.booster.Booster.boost }}
|
||||
|
||||
{{ autodoc:colossalai.booster.Booster.backward }}
|
||||
|
||||
{{ autodoc:colossalai.booster.Booster.no_sync }}
|
||||
|
||||
{{ autodoc:colossalai.booster.Booster.save_model }}
|
||||
|
||||
{{ autodoc:colossalai.booster.Booster.load_model }}
|
||||
|
||||
{{ autodoc:colossalai.booster.Booster.save_optimizer }}
|
||||
|
||||
{{ autodoc:colossalai.booster.Booster.load_optimizer }}
|
||||
|
||||
{{ autodoc:colossalai.booster.Booster.save_lr_scheduler }}
|
||||
|
||||
{{ autodoc:colossalai.booster.Booster.load_lr_scheduler }}
|
||||
|
||||
## Usage
|
||||
In a typical workflow, you should launch distributed environment at the beginning of training script and create objects needed (such as models, optimizers, loss function, data loaders etc.) firstly, then call `colossalai.booster` to inject features into these objects, After that, you can use our booster APIs and these returned objects to continue the rest of your training processes.
|
||||
|
||||
|
Reference in New Issue
Block a user