Unverified Commit 2bdf76f1 authored by digger yu's avatar digger yu Committed by GitHub
Browse files

fix typo change lazy_iniy to lazy_init (#5099)

parent 68fcaa22
......@@ -73,4 +73,4 @@ And some models are not supported at all which will raise an error. We tested mo
| Blip2Model | transformers |
| Blip2ForConditionalGeneration | transformers |
<!-- doc-test-command: torchrun --standalone --nproc_per_node=2 lazy_iniy.py -->
<!-- doc-test-command: torchrun --standalone --nproc_per_node=2 lazy_init.py -->
......@@ -167,7 +167,7 @@ plugin = HybridParallelPlugin(tp_size=1,
booster = Booster(plugin=plugin)
```
Boost these train componts with the booster created.
Boost these train components with the booster created.
```python
model, optimizer, _criterion, _, lr_scheduler = booster.boost(model,
optimizer,
......
......@@ -73,4 +73,4 @@ model, *_ = booster.boost(model)
| Blip2Model | transformers |
| Blip2ForConditionalGeneration | transformers |
<!-- doc-test-command: torchrun --standalone --nproc_per_node=2 lazy_iniy.py -->
<!-- doc-test-command: torchrun --standalone --nproc_per_node=2 lazy_init.py -->
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment