Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
ColossalAI
Commits
2bdf76f1
Unverified
Commit
2bdf76f1
authored
Nov 24, 2023
by
digger yu
Committed by
GitHub
Nov 24, 2023
Browse files
fix typo change lazy_iniy to lazy_init (#5099)
parent
68fcaa22
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
3 deletions
+3
-3
docs/source/en/features/lazy_init.md
docs/source/en/features/lazy_init.md
+1
-1
docs/source/en/features/pipeline_parallel.md
docs/source/en/features/pipeline_parallel.md
+1
-1
docs/source/zh-Hans/features/lazy_init.md
docs/source/zh-Hans/features/lazy_init.md
+1
-1
No files found.
docs/source/en/features/lazy_init.md
View file @
2bdf76f1
...
@@ -73,4 +73,4 @@ And some models are not supported at all which will raise an error. We tested mo
...
@@ -73,4 +73,4 @@ And some models are not supported at all which will raise an error. We tested mo
| Blip2Model | transformers |
| Blip2Model | transformers |
| Blip2ForConditionalGeneration | transformers |
| Blip2ForConditionalGeneration | transformers |
<!-- doc-test-command: torchrun --standalone --nproc_per_node=2 lazy_ini
y
.py -->
<!-- doc-test-command: torchrun --standalone --nproc_per_node=2 lazy_ini
t
.py -->
docs/source/en/features/pipeline_parallel.md
View file @
2bdf76f1
...
@@ -167,7 +167,7 @@ plugin = HybridParallelPlugin(tp_size=1,
...
@@ -167,7 +167,7 @@ plugin = HybridParallelPlugin(tp_size=1,
booster
=
Booster
(
plugin
=
plugin
)
booster
=
Booster
(
plugin
=
plugin
)
```
```
Boost these train componts with the booster created.
Boost these train compon
en
ts with the booster created.
```
python
```
python
model
,
optimizer
,
_criterion
,
_
,
lr_scheduler
=
booster
.
boost
(
model
,
model
,
optimizer
,
_criterion
,
_
,
lr_scheduler
=
booster
.
boost
(
model
,
optimizer
,
optimizer
,
...
...
docs/source/zh-Hans/features/lazy_init.md
View file @
2bdf76f1
...
@@ -73,4 +73,4 @@ model, *_ = booster.boost(model)
...
@@ -73,4 +73,4 @@ model, *_ = booster.boost(model)
| Blip2Model | transformers |
| Blip2Model | transformers |
| Blip2ForConditionalGeneration | transformers |
| Blip2ForConditionalGeneration | transformers |
<!-- doc-test-command: torchrun --standalone --nproc_per_node=2 lazy_ini
y
.py -->
<!-- doc-test-command: torchrun --standalone --nproc_per_node=2 lazy_ini
t
.py -->
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment