Unverified Commit 17f36f1b authored by Stas Bekman's avatar Stas Bekman Committed by GitHub
Browse files

[doc] typo fix and clarification (#563)

This PR:
* fixes a misspelled method name
* also `( () )` doesn't read too well, until one reads the code and understands that it's not a formatting bug. I proposed to simply say that it's a callable object.
parent c51fa65d
...@@ -28,14 +28,14 @@ model_engine, optimizer, _, _ = deepspeed.initialize(args=cmd_args, ...@@ -28,14 +28,14 @@ model_engine, optimizer, _, _ = deepspeed.initialize(args=cmd_args,
distributed data parallel or mixed precision training are done distributed data parallel or mixed precision training are done
appropriately under the hood. In addition to wrapping the model, DeepSpeed can appropriately under the hood. In addition to wrapping the model, DeepSpeed can
construct and manage the training optimizer, data loader, and the learning rate construct and manage the training optimizer, data loader, and the learning rate
scheduler based on the parameters passed to `deepspeed.initialze` and the scheduler based on the parameters passed to `deepspeed.initialize` and the
DeepSpeed [configuration file](#deepspeed-configuration). DeepSpeed [configuration file](#deepspeed-configuration).
### Training ### Training
Once the DeepSpeed engine has been initialized, it can be used to train the Once the DeepSpeed engine has been initialized, it can be used to train the
model using three simple APIs for forward propagation (`()`), backward model using three simple APIs for forward propagation (callable object), backward
propagation (`backward`), and weight updates (`step`). propagation (`backward`), and weight updates (`step`).
```python ```python
......
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