Browse Source

fix typo change lazy_iniy to lazy_init (#5099)

pull/5114/head
digger yu 1 year ago committed by GitHub
parent
commit
2bdf76f1f2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      docs/source/en/features/lazy_init.md
  2. 2
      docs/source/en/features/pipeline_parallel.md
  3. 2
      docs/source/zh-Hans/features/lazy_init.md

2
docs/source/en/features/lazy_init.md

@ -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 -->

2
docs/source/en/features/pipeline_parallel.md

@ -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,

2
docs/source/zh-Hans/features/lazy_init.md

@ -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 -->

Loading…
Cancel
Save