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
9d3124ac
Unverified
Commit
9d3124ac
authored
Nov 08, 2022
by
binmakeswell
Committed by
GitHub
Nov 08, 2022
Browse files
[doc] remove obsolete API demo (#1833)
parent
fba34efb
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
61 deletions
+0
-61
README-zh-Hans.md
README-zh-Hans.md
+0
-30
README.md
README.md
+0
-31
No files found.
README-zh-Hans.md
View file @
9d3124ac
...
@@ -70,11 +70,6 @@
...
@@ -70,11 +70,6 @@
<li><a
href=
"#使用-Docker"
>
使用 Docker
</a></li>
<li><a
href=
"#使用-Docker"
>
使用 Docker
</a></li>
<li><a
href=
"#社区"
>
社区
</a></li>
<li><a
href=
"#社区"
>
社区
</a></li>
<li><a
href=
"#做出贡献"
>
做出贡献
</a></li>
<li><a
href=
"#做出贡献"
>
做出贡献
</a></li>
<li><a
href=
"#快速预览"
>
快速预览
</a></li>
<ul>
<li><a
href=
"#几行代码开启分布式训练"
>
几行代码开启分布式训练
</a></li>
<li><a
href=
"#构建一个简单的2维并行模型"
>
构建一个简单的2维并行模型
</a></li>
</ul>
<li><a
href=
"#引用我们"
>
引用我们
</a></li>
<li><a
href=
"#引用我们"
>
引用我们
</a></li>
</ul>
</ul>
...
@@ -306,31 +301,6 @@ docker run -ti --gpus all --rm --ipc=host colossalai bash
...
@@ -306,31 +301,6 @@ docker run -ti --gpus all --rm --ipc=host colossalai bash
<p
align=
"right"
>
(
<a
href=
"#top"
>
返回顶端
</a>
)
</p>
<p
align=
"right"
>
(
<a
href=
"#top"
>
返回顶端
</a>
)
</p>
## 快速预览
### 几行代码开启分布式训练
```
python
parallel
=
dict
(
pipeline
=
2
,
tensor
=
dict
(
mode
=
'2.5d'
,
depth
=
1
,
size
=
4
)
)
```
### 几行代码开启异构训练
```
python
zero
=
dict
(
model_config
=
dict
(
tensor_placement_policy
=
'auto'
,
shard_strategy
=
TensorShardStrategy
(),
reuse_fp16_shard
=
True
),
optimizer_config
=
dict
(
initial_scale
=
2
**
5
,
gpu_margin_mem_ratio
=
0.2
)
)
```
<p
align=
"right"
>
(
<a
href=
"#top"
>
返回顶端
</a>
)
</p>
## 引用我们
## 引用我们
...
...
README.md
View file @
9d3124ac
...
@@ -70,11 +70,6 @@
...
@@ -70,11 +70,6 @@
<li><a
href=
"#Use-Docker"
>
Use Docker
</a></li>
<li><a
href=
"#Use-Docker"
>
Use Docker
</a></li>
<li><a
href=
"#Community"
>
Community
</a></li>
<li><a
href=
"#Community"
>
Community
</a></li>
<li><a
href=
"#contributing"
>
Contributing
</a></li>
<li><a
href=
"#contributing"
>
Contributing
</a></li>
<li><a
href=
"#Quick-View"
>
Quick View
</a></li>
<ul>
<li><a
href=
"#Start-Distributed-Training-in-Lines"
>
Start Distributed Training in Lines
</a></li>
<li><a
href=
"#Write-a-Simple-2D-Parallel-Model"
>
Write a Simple 2D Parallel Model
</a></li>
</ul>
<li><a
href=
"#Cite-Us"
>
Cite Us
</a></li>
<li><a
href=
"#Cite-Us"
>
Cite Us
</a></li>
</ul>
</ul>
...
@@ -311,32 +306,6 @@ Thanks so much to all of our amazing contributors!
...
@@ -311,32 +306,6 @@ Thanks so much to all of our amazing contributors!
<p
align=
"right"
>
(
<a
href=
"#top"
>
back to top
</a>
)
</p>
<p
align=
"right"
>
(
<a
href=
"#top"
>
back to top
</a>
)
</p>
## Quick View
### Start Distributed Training in Lines
```
python
parallel
=
dict
(
pipeline
=
2
,
tensor
=
dict
(
mode
=
'2.5d'
,
depth
=
1
,
size
=
4
)
)
```
### Start Heterogeneous Training in Lines
```
python
zero
=
dict
(
model_config
=
dict
(
tensor_placement_policy
=
'auto'
,
shard_strategy
=
TensorShardStrategy
(),
reuse_fp16_shard
=
True
),
optimizer_config
=
dict
(
initial_scale
=
2
**
5
,
gpu_margin_mem_ratio
=
0.2
)
)
```
<p
align=
"right"
>
(
<a
href=
"#top"
>
back to top
</a>
)
</p>
## Cite Us
## Cite Us
...
...
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