Commit dc133cd9 authored by fengzch-das's avatar fengzch-das
Browse files

update Readme

parent 3ba58c6e
...@@ -59,13 +59,16 @@ git clone http://developer.sourcefind.cn/codes/OpenDAS/torch-harmonics.git # 根 ...@@ -59,13 +59,16 @@ git clone http://developer.sourcefind.cn/codes/OpenDAS/torch-harmonics.git # 根
``` ```
1. 设置不转码编译环境变量 1. 设置不转码编译环境变量
export FORCE_CUDA_EXTENSION=1
source /usr/local/bin/fastpt -C source /usr/local/bin/fastpt -C
2. 编译whl包并安装 2. 编译whl包并安装
export FORCE_CUDA_EXTENSION=1
python3 setup.py bdist_wheel python3 setup.py bdist_wheel
pip install dist/torch-harmonics* --no-deps pip install dist/torch-harmonics* --no-deps
3. 源码编译安装 3. 源码编译安装
export FORCE_CUDA_EXTENSION=1
python3 setup.py install --no-deps python3 setup.py install --no-deps
``` ```
......
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