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
songlinfeng
container-toolkit
Commits
6b929d34
Commit
6b929d34
authored
Nov 11, 2025
by
songlinfeng
💬
Browse files
Update README.md
parent
9cd20184
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
README.md
README.md
+4
-4
No files found.
README.md
View file @
6b929d34
# D
TK
Container Toolkit
# D
CU
Container Toolkit
## 简介
D
TK
Container Toolkit 使用户能够构建和运行使用DCU设备的容器,该toolkit包括以下工具包。
D
CU
Container Toolkit 使用户能够构建和运行使用DCU设备的容器,该toolkit包括以下工具包。
-
```dcu-container-toolkit```
- DTK容器运行时
-
```dcu-ctk```
- DTK容器工具集命令行
...
...
@@ -32,7 +32,7 @@ $ sudo systemctl restart docker
```
sh
$
docker run
-it
--gpus
all ubuntu:18.04
# 添加所有HCU设备
$
docker run
-it
--gpus
1 ubuntu:18.04
# 添加一个HCU设备,HCU 0
$
docker run
-it
--gpus
"device=0,2"
ubuntu:18.04
#添加第0号和第2号GPU
$
docker run
-it
--gpus
'
"device=0,2"
'
ubuntu:18.04
#添加第0号和第2号GPU
```
#### 通过环境变量 `DCU_VISIBLE_DEVICES`
...
...
@@ -96,7 +96,7 @@ DCU Tracker 提供命令行来控制容器对DCU的访问,可以被设置为sh
```
sh
$
dcu-ctk dcu-tracker
-h
NAME:
C-3000 D
TK
Container Toolkit CLI dcu-tracker - DCU Tracker related commands
C-3000 D
CU
Container Toolkit CLI dcu-tracker - DCU Tracker related commands
USAGE:
dcu-ctk dcu-tracker
[
dcu-ids]
[
accessibility]
...
...
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