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
86aeec10
Unverified
Commit
86aeec10
authored
Oct 04, 2021
by
Caroline Chen
Committed by
GitHub
Oct 04, 2021
Browse files
Set release and base PyTorch version (#1816)
parent
d98c8847
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
16 additions
and
16 deletions
+16
-16
.circleci/config.yml
.circleci/config.yml
+8
-8
.circleci/config.yml.in
.circleci/config.yml.in
+8
-8
No files found.
.circleci/config.yml
View file @
86aeec10
...
@@ -32,12 +32,8 @@ commands:
...
@@ -32,12 +32,8 @@ commands:
-
run
:
-
run
:
name
:
adding UPLOAD_CHANNEL to BASH_ENV
name
:
adding UPLOAD_CHANNEL to BASH_ENV
command
:
|
command
:
|
our_upload_channel=nightly
# Hardcoded for release branch
# On tags upload to test instead
echo "export UPLOAD_CHANNEL=test" >> ${BASH_ENV}
if [[ -n "${CIRCLE_TAG}" ]] || [[ ${CIRCLE_BRANCH} =~ release/* ]]; then
our_upload_channel=test
fi
echo "export UPLOAD_CHANNEL=${our_upload_channel}" >> ${BASH_ENV}
install_build_tools_macos
:
install_build_tools_macos
:
description
:
"
installs
tools
required
to
build
torchaudio"
description
:
"
installs
tools
required
to
build
torchaudio"
steps
:
steps
:
...
@@ -67,11 +63,11 @@ binary_common: &binary_common
...
@@ -67,11 +63,11 @@ binary_common: &binary_common
build_version
:
build_version
:
description
:
"
version
number
of
release
binary;
by
default,
build
a
nightly"
description
:
"
version
number
of
release
binary;
by
default,
build
a
nightly"
type
:
string
type
:
string
default
:
"
"
default
:
"
0.10.0
"
pytorch_version
:
pytorch_version
:
description
:
"
PyTorch
version
to
build
against;
by
default,
use
a
nightly"
description
:
"
PyTorch
version
to
build
against;
by
default,
use
a
nightly"
type
:
string
type
:
string
default
:
"
"
default
:
"
1.10.0
"
# Don't edit these
# Don't edit these
python_version
:
python_version
:
description
:
"
Python
version
to
build
against
(e.g.,
3.8)"
description
:
"
Python
version
to
build
against
(e.g.,
3.8)"
...
@@ -148,6 +144,7 @@ jobs:
...
@@ -148,6 +144,7 @@ jobs:
resource_class
:
2xlarge+
resource_class
:
2xlarge+
steps
:
steps
:
-
checkout
-
checkout
-
designate_upload_channel
-
attach_workspace
:
-
attach_workspace
:
at
:
third_party
at
:
third_party
-
run
:
packaging/build_wheel.sh
-
run
:
packaging/build_wheel.sh
...
@@ -183,6 +180,7 @@ jobs:
...
@@ -183,6 +180,7 @@ jobs:
steps
:
steps
:
-
checkout
-
checkout
-
install_build_tools_macos
-
install_build_tools_macos
-
designate_upload_channel
-
load_conda_channel_flags
-
load_conda_channel_flags
-
attach_workspace
:
-
attach_workspace
:
at
:
third_party
at
:
third_party
...
@@ -232,6 +230,7 @@ jobs:
...
@@ -232,6 +230,7 @@ jobs:
name
:
windows-cpu
name
:
windows-cpu
steps
:
steps
:
-
checkout
-
checkout
-
designate_upload_channel
-
load_conda_channel_flags
-
load_conda_channel_flags
-
windows_install_cuda
-
windows_install_cuda
-
run
:
-
run
:
...
@@ -594,6 +593,7 @@ jobs:
...
@@ -594,6 +593,7 @@ jobs:
-
attach_workspace
:
-
attach_workspace
:
at
:
~/workspace
at
:
~/workspace
-
checkout
-
checkout
-
designate_upload_channel
-
load_conda_channel_flags
-
load_conda_channel_flags
-
run
:
-
run
:
name
:
Install pytorch-audio
name
:
Install pytorch-audio
...
...
.circleci/config.yml.in
View file @
86aeec10
...
@@ -32,12 +32,8 @@ commands:
...
@@ -32,12 +32,8 @@ commands:
- run:
- run:
name: adding UPLOAD_CHANNEL to BASH_ENV
name: adding UPLOAD_CHANNEL to BASH_ENV
command: |
command: |
our_upload_channel=nightly
# Hardcoded for release branch
# On tags upload to test instead
echo "export UPLOAD_CHANNEL=test" >> ${BASH_ENV}
if [[ -n "${CIRCLE_TAG}" ]] || [[ ${CIRCLE_BRANCH} =~ release/* ]]; then
our_upload_channel=test
fi
echo "export UPLOAD_CHANNEL=${our_upload_channel}" >> ${BASH_ENV}
install_build_tools_macos:
install_build_tools_macos:
description: "installs tools required to build torchaudio"
description: "installs tools required to build torchaudio"
steps:
steps:
...
@@ -67,11 +63,11 @@ binary_common: &binary_common
...
@@ -67,11 +63,11 @@ binary_common: &binary_common
build_version:
build_version:
description: "version number of release binary; by default, build a nightly"
description: "version number of release binary; by default, build a nightly"
type: string
type: string
default: ""
default: "
0.10.0
"
pytorch_version:
pytorch_version:
description: "PyTorch version to build against; by default, use a nightly"
description: "PyTorch version to build against; by default, use a nightly"
type: string
type: string
default: ""
default: "
1.10.0
"
# Don't edit these
# Don't edit these
python_version:
python_version:
description: "Python version to build against (e.g., 3.8)"
description: "Python version to build against (e.g., 3.8)"
...
@@ -148,6 +144,7 @@ jobs:
...
@@ -148,6 +144,7 @@ jobs:
resource_class: 2xlarge+
resource_class: 2xlarge+
steps:
steps:
- checkout
- checkout
- designate_upload_channel
- attach_workspace:
- attach_workspace:
at: third_party
at: third_party
- run: packaging/build_wheel.sh
- run: packaging/build_wheel.sh
...
@@ -183,6 +180,7 @@ jobs:
...
@@ -183,6 +180,7 @@ jobs:
steps:
steps:
- checkout
- checkout
- install_build_tools_macos
- install_build_tools_macos
- designate_upload_channel
- load_conda_channel_flags
- load_conda_channel_flags
- attach_workspace:
- attach_workspace:
at: third_party
at: third_party
...
@@ -232,6 +230,7 @@ jobs:
...
@@ -232,6 +230,7 @@ jobs:
name: windows-cpu
name: windows-cpu
steps:
steps:
- checkout
- checkout
- designate_upload_channel
- load_conda_channel_flags
- load_conda_channel_flags
- windows_install_cuda
- windows_install_cuda
- run:
- run:
...
@@ -594,6 +593,7 @@ jobs:
...
@@ -594,6 +593,7 @@ jobs:
- attach_workspace:
- attach_workspace:
at: ~/workspace
at: ~/workspace
- checkout
- checkout
- designate_upload_channel
- load_conda_channel_flags
- load_conda_channel_flags
- run:
- run:
name: Install pytorch-audio
name: Install pytorch-audio
...
...
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