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
d69bd87c
Commit
d69bd87c
authored
Dec 11, 2025
by
songlinfeng
💬
Browse files
Update README.md
parent
db9622b1
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
README.md
README.md
+1
-1
No files found.
README.md
View file @
d69bd87c
...
@@ -57,7 +57,7 @@ $ docker run -it -e DCU_VISIBLE_DEVICES=0,1 ubuntu:18.04 # 添加HCU设备0、1
...
@@ -57,7 +57,7 @@ $ docker run -it -e DCU_VISIBLE_DEVICES=0,1 ubuntu:18.04 # 添加HCU设备0、1
#### 通过CDI方式
#### 通过CDI方式
-
首先,生成CDI spec文件
-
首先,生成CDI spec文件
```
sh
```
sh
$
dcu-ctk cdi generate
--output
=
/etc/cdi/d
tk
.json
$
dcu-ctk cdi generate
--output
=
/etc/cdi/d
cu
.json
```
```
-
配置docker开启CDI
-
配置docker开启CDI
```
sh
```
sh
...
...
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