Commit 08a5adb2 authored by Omkar Salpekar's avatar Omkar Salpekar Committed by Facebook GitHub Bot
Browse files

Back out "[audio][PR] [Nova] Moving Linux Wheels over to Nova" (#2718)

Summary:
Pull Request resolved: https://github.com/pytorch/audio/pull/2718

Original commit changeset: 7e222d80ca07

Original Phabricator Diff: D39756852 (https://github.com/pytorch/audio/commit/7ba7cf4d24a2967b8fa4aaff437116524281f8fd)

Reviewed By: weiwangmeta

Differential Revision: D39839899

fbshipit-source-id: f5605eb9882f7c7f0008e88338ab711131b29404
parent 539476e2
This diff is collapsed.
...@@ -241,6 +241,28 @@ jobs: ...@@ -241,6 +241,28 @@ jobs:
paths: paths:
- ffmpeg - ffmpeg
binary_linux_wheel:
<<: *binary_common
docker:
- image: << parameters.wheel_docker_image >>
resource_class: 2xlarge+
steps:
- checkout
- attach_workspace:
at: third_party
- run:
command: |
export FFMPEG_ROOT=${PWD}/third_party/ffmpeg
packaging/build_wheel.sh
environment:
USE_FFMPEG: true
- store_artifacts:
path: dist
- persist_to_workspace:
root: dist
paths:
- "*"
binary_linux_conda: binary_linux_conda:
<<: *binary_common <<: *binary_common
docker: docker:
......
...@@ -39,9 +39,6 @@ def build_workflows(prefix="", upload=False, filter_branch=None, indentation=6): ...@@ -39,9 +39,6 @@ def build_workflows(prefix="", upload=False, filter_branch=None, indentation=6):
w += build_ffmpeg_job(os_type, filter_branch) w += build_ffmpeg_job(os_type, filter_branch)
for btype in ["wheel", "conda"]: for btype in ["wheel", "conda"]:
for os_type in ["linux", "macos", "windows"]: for os_type in ["linux", "macos", "windows"]:
# linux wheel are no longer done in circleci
if os_type == "linux" and btype == "wheel":
continue
for python_version in PYTHON_VERSIONS: for python_version in PYTHON_VERSIONS:
for cu_version in CU_VERSIONS_DICT[os_type]: for cu_version in CU_VERSIONS_DICT[os_type]:
fb = filter_branch fb = filter_branch
...@@ -58,7 +55,7 @@ def build_workflows(prefix="", upload=False, filter_branch=None, indentation=6): ...@@ -58,7 +55,7 @@ def build_workflows(prefix="", upload=False, filter_branch=None, indentation=6):
# Build on every pull request, but upload only on nightly and tags # Build on every pull request, but upload only on nightly and tags
w += build_doc_job("/.*/") w += build_doc_job("/.*/")
w += upload_doc_job("nightly") w += upload_doc_job("nightly")
# w += docstring_parameters_sync_job(None) w += docstring_parameters_sync_job(None)
return indent(indentation, w) return indent(indentation, w)
......
name: Trigger Linux Wheels Build for Nightlies/Release
on:
push:
branches:
- nightly
workflow_dispatch:
jobs:
generate-matrix:
uses: pytorch/test-infra/.github/workflows/generate_binary_build_matrix.yml@main
with:
package-type: wheel
os: linux
test-infra-repository: pytorch/test-infra
test-infra-ref: main
build:
needs: generate-matrix
strategy:
fail-fast: false
matrix:
include:
- repository: pytorch/audio
pre-script: packaging/pre_build_script.sh
post-script: packaging/post_build_script.sh
package-name: torchaudio
uses: pytorch/test-infra/.github/workflows/build_wheels_linux.yml@main
name: ${{ matrix.repository }}
with:
repository: ${{ matrix.repository }}
ref: nightly
test-infra-repository: pytorch/test-infra
test-infra-ref: main
build-matrix: ${{ needs.generate-matrix.outputs.matrix }}
pre-script: ${{ matrix.pre-script }}
post-script: ${{ matrix.post-script }}
package-name: ${{ matrix.package-name }}
build-type: nightly
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