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
ModelZoo
GPT2_migraphx
Commits
ecb819a2
"vscode:/vscode.git/clone" did not exist on "ed239b8a90b740f8158baf09a60cc15b6bef965e"
Commit
ecb819a2
authored
Sep 26, 2023
by
liucong
Browse files
修改readme
parent
9a6a11a4
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletion
+4
-1
README.md
README.md
+4
-1
No files found.
README.md
View file @
ecb819a2
...
...
@@ -26,7 +26,7 @@ GPT-2中使用了掩模自注意力(masked self-attention),通过屏蔽当前
docker pull sugonhub/migraphx:3.2.1-centos7.6-dtk-23.04.1-py38
```
创建并启动容器:
创建并启动容器
,安装相关依赖
:
```
docker run --shm-size 16g --network=host --name=gpt2_migraphx --privileged --device=/dev/kfd --device=/dev/dri --group-add video --cap-add=SYS_PTRACE --security-opt seccomp=unconfined -v $PWD/gpt2_migraphx:/home/gpt2_migraphx -it <Your Image ID> /bin/bash
...
...
@@ -34,6 +34,9 @@ docker run --shm-size 16g --network=host --name=gpt2_migraphx --privileged --dev
# 安装依赖
pip uninstall urllib3
pip install urllib3==1.23 -i https://pypi.tuna.tsinghua.edu.cn/simple
# 激活dtk
source /opt/dtk/env.sh
```
### Dockerfile(方法二)
...
...
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