You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This folder groups AutoTP training examples at different complexity levels.
3
4
4
5
## Contents
5
-
-`basic_example/`: minimal AutoTP + ZeRO-2 example with synthetic tokens. It also shows that AutoTP recognizes typical parameter patterns and automatically applies proper partitioning.
6
-
-`hf_integration/`: Hugging Face Trainer example (adapted from Stanford Alpaca).
7
-
-`custom_patterns/`: AutoTP example with custom layer patterns and a simple
6
+
-[Basic example](basic_example): minimal AutoTP + ZeRO-2 example with synthetic tokens. It also shows that AutoTP recognizes typical parameter patterns and automatically applies proper partitioning.
7
+
-[HuggingFace integration](hf_integration): Hugging Face Trainer example (adapted from Stanford Alpaca).
8
+
-[Custom partitioning patterns](custom_patterns): AutoTP example with custom layer patterns and a simple
8
9
text dataset that uses a DP-rank random sampler. It shows how to define
9
10
parameter partitioning easily for custom models with non-standard parameter
10
11
definitions.
11
12
12
13
## Related references
13
-
- AutoTP training docs: https://github.com/deepspeedai/DeepSpeed/blob/master/docs/code-docs/source/training.rst
14
-
- AutoTP training tutorial: https://github.com/deepspeedai/DeepSpeed/blob/master/docs/_tutorials/autotp-training.md
14
+
-[AutoTP training docs](https://deepspeed.readthedocs.io/en/latest/training.html)
15
+
-[AutoTP training tutorial](https://github.com/deepspeedai/DeepSpeed/blob/master/docs/_tutorials/autotp-training.md)
0 commit comments