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
torch-cluster
Commits
59a677a0
Commit
59a677a0
authored
May 10, 2023
by
quyuanhao123
Browse files
Update README_HIP.md
parent
7ac94cf2
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
26 additions
and
19 deletions
+26
-19
README_HIP.md
README_HIP.md
+26
-19
No files found.
README_HIP.md
View file @
59a677a0
**编译安装步骤**
-
1. 安装与dtk版本对应的pytorch torchvision whl(可在光合社区下载https://developer.hpccube.com/tool/)以及其他依赖库
例如:
pip install https://cancon.hpccube.com:65024/directlink/4/pytorch/dtk22.10/torch-1.10.0a0+git2040069.dtk2210-cp38-cp38-manylinux2014_x86_64.whl
...
...
@@ -14,11 +16,13 @@
-
2.1 激活对应的conda环境:
source ~/miniconda3/etc/profile.d/conda.sh
conda activate torch1.10_py39_dtk22.10
加载对应的module,包括dtk:
- 2.2 加载对应的module,包括dtk:
module purge
...
...
@@ -26,7 +30,8 @@
module list
- 2.2 加载所需的依赖库的环境变量(根据各集群实际路径调整):
- 2.3 加载所需的依赖库的环境变量(根据各集群实际路径调整):
export C_INCLUDE_PATH=/public/software/apps/DeepLearning/PyTorch_Lib/gflags-2.1.2-build/include:$C_INCLUDE_PATH
...
...
@@ -42,7 +47,8 @@
export LD_LIBRARY_PATH=$ROCM_PATH/rocrand/lib:$LD_LIBRARY_PATH
- 2.3 修改编译器环境变量:
- 2.4 修改编译器环境变量:
export FORCE_ONLY_HIP=1
...
...
@@ -52,4 +58,5 @@
-
3. 编译安装
python setup.py install
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