Commit ee23fc91 authored by mayp777's avatar mayp777
Browse files

[UPDATE] Update setup and README for torch2.3

parent 26451364
...@@ -34,11 +34,11 @@ torchaudio 的目标是将 PyTorch 应用于音频领域。通过支持 PyTorch ...@@ -34,11 +34,11 @@ torchaudio 的目标是将 PyTorch 应用于音频领域。通过支持 PyTorch
- Python==3.10 - Python==3.10
- PyTorch==2.1.0 DTK>=24.04 - PyTorch==2.3.0 DTK>=24.04
### 使用pip方式安装 ### 使用pip方式安装
torchaudio whl包下载目录:[torchaudio-2.1.2+das.opt1.dtk24042-cp310-cp310-linux_x86_64.whl](http://10.6.10.68:8000/debug/torchaudio/24.04/) torchaudio whl包下载目录:[torchaudio-2.1.2+das.opt2.dtk24042-cp310-cp310-linux_x86_64.whl](http://10.6.10.68:8000/debug/torchaudio/24.04/)
```shell ```shell
pip install torchaudio* # (请下载对应操作系统的torchaudio的whl包) pip install torchaudio* # (请下载对应操作系统的torchaudio的whl包)
...@@ -51,7 +51,7 @@ pip install torchaudio* # (请下载对应操作系统的torchaudio的whl包) ...@@ -51,7 +51,7 @@ pip install torchaudio* # (请下载对应操作系统的torchaudio的whl包)
- 拉取torchaudio代码 - 拉取torchaudio代码
```shell ```shell
git clone -b 2.1.2+das.opt1.dtk24042 http://developer.hpccube.com/codes/OpenDAS/torchaudio.git git clone -b 2.1.2+das.opt2.dtk24042 http://developer.hpccube.com/codes/OpenDAS/torchaudio.git
``` ```
- 导入环境变量以及安装必要依赖库 - 导入环境变量以及安装必要依赖库
......
...@@ -28,7 +28,7 @@ def _get_version(sha): ...@@ -28,7 +28,7 @@ def _get_version(sha):
if os.getenv("BUILD_VERSION"): if os.getenv("BUILD_VERSION"):
version = os.getenv("BUILD_VERSION") version = os.getenv("BUILD_VERSION")
elif sha is not None: elif sha is not None:
version += "+das" + "." + "opt1" version += "+das" + "." + "opt2"
return version return version
......
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