"docs/vscode:/vscode.git/clone" did not exist on "01eda13c5841c62cc08cbe3c3191e37301d97145"
Commit eb6fedc3 authored by zhanggezhong's avatar zhanggezhong
Browse files

Update README.md

parent efaf48f7
......@@ -18,17 +18,16 @@ NNI 管理自动机器学习 (AutoML) 的 Experiment,**调度运行** 由调
#### **使用源码编译方式安装**
编译之前,需要先安装对应版本python,安装相应的三方包依赖项,并配置DTK环境变量(以Centos7.x为例)。
编译之前,需要先安装对应版本python,安装相应的三方包依赖项,并配置DTK环境变量(ubuntu24.04为例)。
```bash
# 安装三方包的源
yum install epel-release -y
sudo apt-get install install epel-release -y
# 安装相关依赖项
yum install libffi-devel -y
yum install openssl-devel openssl -y
yum -y install sqlite-devel
sudo apt-get install install libffi-devel -y
sudo apt-get installinstall openssl-devel openssl -y
sudo apt-get install -y install sqlite-devel
# 若python内未包含相关项,需基于上面安装的三方包重新源码编译python,再配置python环境
pip3 install protobuf==3.20
pip3 install wheel
......@@ -42,9 +41,10 @@ pip3 install astor
pip3 install schema
python3 -m pip install --upgrade pip setuptools
# 下载DTK及hyhal并配置环境变量
# DTK tar包下载目录:光合社区/资源工具/DCU Toolkit/DTK23.10(https://cancon.hpccube.com:65024/1/main/DTK-23.10),根据系统选择对应DTK的tar包,并解压至/opt目录。
# hyhal tar包下载目录: 光合社区/资源工具DCU Toolkit/DTK23.10(https://cancon.hpccube.com:65024/1/main/DTK-23.10),并解压至/opt目>录。
# 下载DTK
cd 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
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