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
Torchaudio
Commits
ee23fc91
You need to sign in or sign up before continuing.
Commit
ee23fc91
authored
Sep 18, 2024
by
mayp777
Browse files
[UPDATE] Update setup and README for torch2.3
parent
26451364
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
README.md
README.md
+3
-3
setup.py
setup.py
+1
-1
No files found.
README.md
View file @
ee23fc91
...
@@ -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.opt
1
.dtk24042-cp310-cp310-linux_x86_64.whl
](
http://10.6.10.68:8000/debug/torchaudio/24.04/
)
torchaudio whl包下载目录:
[
torchaudio-2.1.2+das.opt
2
.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.opt
1
.dtk24042 http://developer.hpccube.com/codes/OpenDAS/torchaudio.git
git clone
-b
2.1.2+das.opt
2
.dtk24042 http://developer.hpccube.com/codes/OpenDAS/torchaudio.git
```
```
-
导入环境变量以及安装必要依赖库
-
导入环境变量以及安装必要依赖库
...
...
setup.py
View file @
ee23fc91
...
@@ -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"
+
"."
+
"opt
1
"
version
+=
"+das"
+
"."
+
"opt
2
"
return
version
return
version
...
...
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