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
deepspeed
Commits
ac5fbab4
Commit
ac5fbab4
authored
May 11, 2023
by
aiss
Browse files
update readme_hip
parent
141ff533
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
4 deletions
+6
-4
README_HIP.md
README_HIP.md
+6
-4
hipify_20230511113250.png
hipify_20230511113250.png
+0
-0
No files found.
README_HIP.md
View file @
ac5fbab4
...
@@ -41,15 +41,17 @@ ls -l
...
@@ -41,15 +41,17 @@ ls -l
python3
-m
pip
install
--upgrade
pip setuptools
python3
-m
pip
install
--upgrade
pip setuptools
pip3
install
wheel
-i
https://pypi.tuna.tsinghua.edu.cn/simple
pip3
install
wheel
-i
https://pypi.tuna.tsinghua.edu.cn/simple
pip3
install
ninja
-i
https://pypi.tuna.tsinghua.edu.cn/simple
pip3
install
ninja
-i
https://pypi.tuna.tsinghua.edu.cn/simple
```
下载DTK并配置环境变量:
```
bash
# 下载DTK并配置环境变量
# DTK tar包下载目录:光合社区/资源工具/DCU Toolkit/DTK23.04(https://cancon.hpccube.com:65024/1/main/DTK-23.04),根据系统选择对应DTK的tar包,并解压至/opt目录。
# DTK tar包下载目录:光合社区/资源工具/DCU Toolkit/DTK23.04(https://cancon.hpccube.com:65024/1/main/DTK-23.04),根据系统选择对应DTK的tar包,并解压至/opt目录。
# 如果使用的是dtk23.04前的版本,可以参考以下方式修改torch中的hipify文件
(http://10.0.50.24/dcutoolkit/deeplearing/pytorch/-/commit/badafea7f4a06111d8d8b5b36859bc89f3cda305)
# 如果使用的是dtk23.04前的版本,可以参考以
图片
下方式修改torch中的hipify文件
export
ROCM_PATH
=
/opt/dtk-23.04
export
ROCM_PATH
=
/opt/dtk-23.04
source
/opt/dtk-23.04/env.sh
source
/opt/dtk-23.04/env.sh
```
```

编译deepspeed
编译deepspeed
...
...
hipify_20230511113250.png
0 → 100755
View file @
ac5fbab4
33.4 KB
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