Commit eb6fedc3 authored by zhanggezhong's avatar zhanggezhong
Browse files

Update README.md

parent efaf48f7
...@@ -18,17 +18,16 @@ NNI 管理自动机器学习 (AutoML) 的 Experiment,**调度运行** 由调 ...@@ -18,17 +18,16 @@ NNI 管理自动机器学习 (AutoML) 的 Experiment,**调度运行** 由调
#### **使用源码编译方式安装** #### **使用源码编译方式安装**
编译之前,需要先安装对应版本python,安装相应的三方包依赖项,并配置DTK环境变量(以Centos7.x为例)。 编译之前,需要先安装对应版本python,安装相应的三方包依赖项,并配置DTK环境变量(ubuntu24.04为例)。
```bash ```bash
# 安装三方包的源 # 安装三方包的源
yum install epel-release -y sudo apt-get install install epel-release -y
# 安装相关依赖项 # 安装相关依赖项
yum install libffi-devel -y sudo apt-get install install libffi-devel -y
yum install openssl-devel openssl -y sudo apt-get installinstall openssl-devel openssl -y
yum -y install sqlite-devel sudo apt-get install -y install sqlite-devel
# 若python内未包含相关项,需基于上面安装的三方包重新源码编译python,再配置python环境 # 若python内未包含相关项,需基于上面安装的三方包重新源码编译python,再配置python环境
pip3 install protobuf==3.20 pip3 install protobuf==3.20
pip3 install wheel pip3 install wheel
...@@ -42,9 +41,10 @@ pip3 install astor ...@@ -42,9 +41,10 @@ pip3 install astor
pip3 install schema pip3 install schema
python3 -m pip install --upgrade pip setuptools python3 -m pip install --upgrade pip setuptools
# 下载DTK及hyhal并配置环境变量 # 下载DTK
# DTK tar包下载目录:光合社区/资源工具/DCU Toolkit/DTK23.10(https://cancon.hpccube.com:65024/1/main/DTK-23.10),根据系统选择对应DTK的tar包,并解压至/opt目录。 cd opt
# hyhal tar包下载目录: 光合社区/资源工具DCU Toolkit/DTK23.10(https://cancon.hpccube.com:65024/1/main/DTK-23.10),并解压至/opt目>录。 wget https://cancon.hpccube.com:65024/directlink/1/DTK-24.04/Ubuntu20.04.1/DTK-24.04-Ubuntu20.04.1-x86_64.tar.gz
tar -xvf *tar.gz 解压DTK
export ROCM_PATH=/opt/dtk-24.04 export ROCM_PATH=/opt/dtk-24.04
source /opt/dtk-24.04/env.sh source /opt/dtk-24.04/env.sh
``` ```
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment