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
nni
Commits
eb6fedc3
"...resnet50_tensorflow.git" did not exist on "50cb0365dbe6cd503765a6dd2da87ed0aef01c30"
Commit
eb6fedc3
authored
Jul 02, 2024
by
zhanggezhong
Browse files
Update README.md
parent
efaf48f7
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
9 deletions
+9
-9
README.md
README.md
+9
-9
No files found.
README.md
View file @
eb6fedc3
...
@@ -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
```
```
...
...
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