"docs/source/en/optimization/torch2.0.md" did not exist on "7a32b6beeb0cfdefed645253dce23d9b0a78597f"
Commit ad596b37 authored by DanilBaibak's avatar DanilBaibak Committed by Facebook GitHub Bot
Browse files

Switch to nova Linux Wheel build (#2896)

Summary:
Switch to Nova Linux Wheel build.

- [x] Disable the CircleCI builds for Linux Wheel.
- [x] Enable the Nova workflow for Linux Wheel.

~The Linux Wheel Python3.8 build has been kept because it is a dependency for the `docstring_parameters_sync` job.~ As Omkar pointed out, Docstring Parameters Sync also runs on GHA (https://github.com/pytorch/audio/actions/runs/3638187635/jobs/6140090209). So, we completely switched to the Nova Linux Wheel build.

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

Reviewed By: mthrok

Differential Revision: D41994993

Pulled By: DanilBaibak

fbshipit-source-id: 2bafdbe1b62ef8fa194ce96f4d4667a3ed3dc44f
parent cbd35438
......@@ -929,274 +929,6 @@ workflows:
python_version: foo
requires:
- download_third_parties
- binary_linux_wheel:
cuda_version: cpu
name: binary_linux_wheel_py3.7_cpu
python_version: '3.7'
requires:
- build_ffmpeg_linux
- smoke_test_linux_pip:
cuda_version: cpu
name: binary_linux_wheel_py3.7_cpu_smoke_test_pip
python_version: '3.7'
requires:
- binary_linux_wheel_py3.7_cpu
- binary_linux_wheel:
cuda_version: cu116
name: binary_linux_wheel_py3.7_cu116
python_version: '3.7'
requires:
- build_ffmpeg_linux
wheel_docker_image: pytorch/manylinux-cuda116
- smoke_test_linux_pip:
cuda_version: cu116
name: binary_linux_wheel_py3.7_cu116_smoke_test_pip
python_version: '3.7'
requires:
- binary_linux_wheel_py3.7_cu116
- binary_linux_wheel:
cuda_version: cu117
name: binary_linux_wheel_py3.7_cu117
python_version: '3.7'
requires:
- build_ffmpeg_linux
wheel_docker_image: pytorch/manylinux-cuda117
- smoke_test_linux_pip:
cuda_version: cu117
name: binary_linux_wheel_py3.7_cu117_smoke_test_pip
python_version: '3.7'
requires:
- binary_linux_wheel_py3.7_cu117
- binary_linux_wheel:
cuda_version: rocm5.2
name: binary_linux_wheel_py3.7_rocm5.2
python_version: '3.7'
requires:
- build_ffmpeg_linux
wheel_docker_image: pytorch/manylinux-rocm:5.2
- smoke_test_linux_pip:
cuda_version: rocm5.2
name: binary_linux_wheel_py3.7_rocm5.2_smoke_test_pip
python_version: '3.7'
requires:
- binary_linux_wheel_py3.7_rocm5.2
- binary_linux_wheel:
cuda_version: rocm5.3
name: binary_linux_wheel_py3.7_rocm5.3
python_version: '3.7'
requires:
- build_ffmpeg_linux
wheel_docker_image: pytorch/manylinux-rocm:5.3
- smoke_test_linux_pip:
cuda_version: rocm5.3
name: binary_linux_wheel_py3.7_rocm5.3_smoke_test_pip
python_version: '3.7'
requires:
- binary_linux_wheel_py3.7_rocm5.3
- binary_linux_wheel:
cuda_version: cpu
filters:
branches:
only:
- /.*/
tags:
only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
name: binary_linux_wheel_py3.8_cpu
python_version: '3.8'
requires:
- build_ffmpeg_linux
- smoke_test_linux_pip:
cuda_version: cpu
filters:
branches:
only:
- /.*/
tags:
only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
name: binary_linux_wheel_py3.8_cpu_smoke_test_pip
python_version: '3.8'
requires:
- binary_linux_wheel_py3.8_cpu
- binary_linux_wheel:
cuda_version: cu116
name: binary_linux_wheel_py3.8_cu116
python_version: '3.8'
requires:
- build_ffmpeg_linux
wheel_docker_image: pytorch/manylinux-cuda116
- smoke_test_linux_pip:
cuda_version: cu116
name: binary_linux_wheel_py3.8_cu116_smoke_test_pip
python_version: '3.8'
requires:
- binary_linux_wheel_py3.8_cu116
- binary_linux_wheel:
cuda_version: cu117
name: binary_linux_wheel_py3.8_cu117
python_version: '3.8'
requires:
- build_ffmpeg_linux
wheel_docker_image: pytorch/manylinux-cuda117
- smoke_test_linux_pip:
cuda_version: cu117
name: binary_linux_wheel_py3.8_cu117_smoke_test_pip
python_version: '3.8'
requires:
- binary_linux_wheel_py3.8_cu117
- binary_linux_wheel:
cuda_version: rocm5.2
name: binary_linux_wheel_py3.8_rocm5.2
python_version: '3.8'
requires:
- build_ffmpeg_linux
wheel_docker_image: pytorch/manylinux-rocm:5.2
- smoke_test_linux_pip:
cuda_version: rocm5.2
name: binary_linux_wheel_py3.8_rocm5.2_smoke_test_pip
python_version: '3.8'
requires:
- binary_linux_wheel_py3.8_rocm5.2
- binary_linux_wheel:
cuda_version: rocm5.3
name: binary_linux_wheel_py3.8_rocm5.3
python_version: '3.8'
requires:
- build_ffmpeg_linux
wheel_docker_image: pytorch/manylinux-rocm:5.3
- smoke_test_linux_pip:
cuda_version: rocm5.3
name: binary_linux_wheel_py3.8_rocm5.3_smoke_test_pip
python_version: '3.8'
requires:
- binary_linux_wheel_py3.8_rocm5.3
- binary_linux_wheel:
cuda_version: cpu
name: binary_linux_wheel_py3.9_cpu
python_version: '3.9'
requires:
- build_ffmpeg_linux
- smoke_test_linux_pip:
cuda_version: cpu
name: binary_linux_wheel_py3.9_cpu_smoke_test_pip
python_version: '3.9'
requires:
- binary_linux_wheel_py3.9_cpu
- binary_linux_wheel:
cuda_version: cu116
name: binary_linux_wheel_py3.9_cu116
python_version: '3.9'
requires:
- build_ffmpeg_linux
wheel_docker_image: pytorch/manylinux-cuda116
- smoke_test_linux_pip:
cuda_version: cu116
name: binary_linux_wheel_py3.9_cu116_smoke_test_pip
python_version: '3.9'
requires:
- binary_linux_wheel_py3.9_cu116
- binary_linux_wheel:
cuda_version: cu117
name: binary_linux_wheel_py3.9_cu117
python_version: '3.9'
requires:
- build_ffmpeg_linux
wheel_docker_image: pytorch/manylinux-cuda117
- smoke_test_linux_pip:
cuda_version: cu117
name: binary_linux_wheel_py3.9_cu117_smoke_test_pip
python_version: '3.9'
requires:
- binary_linux_wheel_py3.9_cu117
- binary_linux_wheel:
cuda_version: rocm5.2
name: binary_linux_wheel_py3.9_rocm5.2
python_version: '3.9'
requires:
- build_ffmpeg_linux
wheel_docker_image: pytorch/manylinux-rocm:5.2
- smoke_test_linux_pip:
cuda_version: rocm5.2
name: binary_linux_wheel_py3.9_rocm5.2_smoke_test_pip
python_version: '3.9'
requires:
- binary_linux_wheel_py3.9_rocm5.2
- binary_linux_wheel:
cuda_version: rocm5.3
name: binary_linux_wheel_py3.9_rocm5.3
python_version: '3.9'
requires:
- build_ffmpeg_linux
wheel_docker_image: pytorch/manylinux-rocm:5.3
- smoke_test_linux_pip:
cuda_version: rocm5.3
name: binary_linux_wheel_py3.9_rocm5.3_smoke_test_pip
python_version: '3.9'
requires:
- binary_linux_wheel_py3.9_rocm5.3
- binary_linux_wheel:
cuda_version: cpu
name: binary_linux_wheel_py3.10_cpu
python_version: '3.10'
requires:
- build_ffmpeg_linux
- smoke_test_linux_pip:
cuda_version: cpu
name: binary_linux_wheel_py3.10_cpu_smoke_test_pip
python_version: '3.10'
requires:
- binary_linux_wheel_py3.10_cpu
- binary_linux_wheel:
cuda_version: cu116
name: binary_linux_wheel_py3.10_cu116
python_version: '3.10'
requires:
- build_ffmpeg_linux
wheel_docker_image: pytorch/manylinux-cuda116
- smoke_test_linux_pip:
cuda_version: cu116
name: binary_linux_wheel_py3.10_cu116_smoke_test_pip
python_version: '3.10'
requires:
- binary_linux_wheel_py3.10_cu116
- binary_linux_wheel:
cuda_version: cu117
name: binary_linux_wheel_py3.10_cu117
python_version: '3.10'
requires:
- build_ffmpeg_linux
wheel_docker_image: pytorch/manylinux-cuda117
- smoke_test_linux_pip:
cuda_version: cu117
name: binary_linux_wheel_py3.10_cu117_smoke_test_pip
python_version: '3.10'
requires:
- binary_linux_wheel_py3.10_cu117
- binary_linux_wheel:
cuda_version: rocm5.2
name: binary_linux_wheel_py3.10_rocm5.2
python_version: '3.10'
requires:
- build_ffmpeg_linux
wheel_docker_image: pytorch/manylinux-rocm:5.2
- smoke_test_linux_pip:
cuda_version: rocm5.2
name: binary_linux_wheel_py3.10_rocm5.2_smoke_test_pip
python_version: '3.10'
requires:
- binary_linux_wheel_py3.10_rocm5.2
- binary_linux_wheel:
cuda_version: rocm5.3
name: binary_linux_wheel_py3.10_rocm5.3
python_version: '3.10'
requires:
- build_ffmpeg_linux
wheel_docker_image: pytorch/manylinux-rocm:5.3
- smoke_test_linux_pip:
cuda_version: rocm5.3
name: binary_linux_wheel_py3.10_rocm5.3_smoke_test_pip
python_version: '3.10'
requires:
- binary_linux_wheel_py3.10_rocm5.3
- binary_macos_wheel:
cuda_version: cpu
name: binary_macos_wheel_py3.7_cpu
......@@ -1737,11 +1469,6 @@ workflows:
python_version: '3.8'
requires:
- build_docs
- docstring_parameters_sync:
name: docstring_parameters_sync
python_version: '3.8'
requires:
- binary_linux_wheel_py3.8_cpu
unittest:
jobs:
- download_third_parties:
......@@ -1863,742 +1590,6 @@ workflows:
python_version: foo
requires:
- download_third_parties
- binary_linux_wheel:
cuda_version: cpu
filters:
branches:
only:
- nightly
tags:
only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
name: nightly_binary_linux_wheel_py3.7_cpu
python_version: '3.7'
requires:
- build_ffmpeg_linux
- binary_wheel_upload:
context: org-member
filters:
branches:
only:
- nightly
tags:
only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
name: nightly_binary_linux_wheel_py3.7_cpu_upload
requires:
- nightly_binary_linux_wheel_py3.7_cpu
subfolder: cpu/
- smoke_test_linux_pip:
cuda_version: cpu
filters:
branches:
only:
- nightly
tags:
only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
name: nightly_binary_linux_wheel_py3.7_cpu_smoke_test_pip
python_version: '3.7'
requires:
- nightly_binary_linux_wheel_py3.7_cpu
- binary_linux_wheel:
cuda_version: cu116
filters:
branches:
only:
- nightly
tags:
only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
name: nightly_binary_linux_wheel_py3.7_cu116
python_version: '3.7'
requires:
- build_ffmpeg_linux
wheel_docker_image: pytorch/manylinux-cuda116
- binary_wheel_upload:
context: org-member
filters:
branches:
only:
- nightly
tags:
only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
name: nightly_binary_linux_wheel_py3.7_cu116_upload
requires:
- nightly_binary_linux_wheel_py3.7_cu116
subfolder: cu116/
- smoke_test_linux_pip:
cuda_version: cu116
filters:
branches:
only:
- nightly
tags:
only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
name: nightly_binary_linux_wheel_py3.7_cu116_smoke_test_pip
python_version: '3.7'
requires:
- nightly_binary_linux_wheel_py3.7_cu116
- binary_linux_wheel:
cuda_version: cu117
filters:
branches:
only:
- nightly
tags:
only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
name: nightly_binary_linux_wheel_py3.7_cu117
python_version: '3.7'
requires:
- build_ffmpeg_linux
wheel_docker_image: pytorch/manylinux-cuda117
- binary_wheel_upload:
context: org-member
filters:
branches:
only:
- nightly
tags:
only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
name: nightly_binary_linux_wheel_py3.7_cu117_upload
requires:
- nightly_binary_linux_wheel_py3.7_cu117
subfolder: cu117/
- smoke_test_linux_pip:
cuda_version: cu117
filters:
branches:
only:
- nightly
tags:
only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
name: nightly_binary_linux_wheel_py3.7_cu117_smoke_test_pip
python_version: '3.7'
requires:
- nightly_binary_linux_wheel_py3.7_cu117
- binary_linux_wheel:
cuda_version: rocm5.2
filters:
branches:
only:
- nightly
tags:
only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
name: nightly_binary_linux_wheel_py3.7_rocm5.2
python_version: '3.7'
requires:
- build_ffmpeg_linux
wheel_docker_image: pytorch/manylinux-rocm:5.2
- binary_wheel_upload:
context: org-member
filters:
branches:
only:
- nightly
tags:
only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
name: nightly_binary_linux_wheel_py3.7_rocm5.2_upload
requires:
- nightly_binary_linux_wheel_py3.7_rocm5.2
subfolder: rocm5.2/
- smoke_test_linux_pip:
cuda_version: rocm5.2
filters:
branches:
only:
- nightly
tags:
only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
name: nightly_binary_linux_wheel_py3.7_rocm5.2_smoke_test_pip
python_version: '3.7'
requires:
- nightly_binary_linux_wheel_py3.7_rocm5.2
- binary_linux_wheel:
cuda_version: rocm5.3
filters:
branches:
only:
- nightly
tags:
only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
name: nightly_binary_linux_wheel_py3.7_rocm5.3
python_version: '3.7'
requires:
- build_ffmpeg_linux
wheel_docker_image: pytorch/manylinux-rocm:5.3
- binary_wheel_upload:
context: org-member
filters:
branches:
only:
- nightly
tags:
only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
name: nightly_binary_linux_wheel_py3.7_rocm5.3_upload
requires:
- nightly_binary_linux_wheel_py3.7_rocm5.3
subfolder: rocm5.3/
- smoke_test_linux_pip:
cuda_version: rocm5.3
filters:
branches:
only:
- nightly
tags:
only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
name: nightly_binary_linux_wheel_py3.7_rocm5.3_smoke_test_pip
python_version: '3.7'
requires:
- nightly_binary_linux_wheel_py3.7_rocm5.3
- binary_linux_wheel:
cuda_version: cpu
filters:
branches:
only:
- nightly
tags:
only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
name: nightly_binary_linux_wheel_py3.8_cpu
python_version: '3.8'
requires:
- build_ffmpeg_linux
- binary_wheel_upload:
context: org-member
filters:
branches:
only:
- nightly
tags:
only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
name: nightly_binary_linux_wheel_py3.8_cpu_upload
requires:
- nightly_binary_linux_wheel_py3.8_cpu
subfolder: cpu/
- smoke_test_linux_pip:
cuda_version: cpu
filters:
branches:
only:
- nightly
tags:
only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
name: nightly_binary_linux_wheel_py3.8_cpu_smoke_test_pip
python_version: '3.8'
requires:
- nightly_binary_linux_wheel_py3.8_cpu
- binary_linux_wheel:
cuda_version: cu116
filters:
branches:
only:
- nightly
tags:
only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
name: nightly_binary_linux_wheel_py3.8_cu116
python_version: '3.8'
requires:
- build_ffmpeg_linux
wheel_docker_image: pytorch/manylinux-cuda116
- binary_wheel_upload:
context: org-member
filters:
branches:
only:
- nightly
tags:
only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
name: nightly_binary_linux_wheel_py3.8_cu116_upload
requires:
- nightly_binary_linux_wheel_py3.8_cu116
subfolder: cu116/
- smoke_test_linux_pip:
cuda_version: cu116
filters:
branches:
only:
- nightly
tags:
only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
name: nightly_binary_linux_wheel_py3.8_cu116_smoke_test_pip
python_version: '3.8'
requires:
- nightly_binary_linux_wheel_py3.8_cu116
- binary_linux_wheel:
cuda_version: cu117
filters:
branches:
only:
- nightly
tags:
only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
name: nightly_binary_linux_wheel_py3.8_cu117
python_version: '3.8'
requires:
- build_ffmpeg_linux
wheel_docker_image: pytorch/manylinux-cuda117
- binary_wheel_upload:
context: org-member
filters:
branches:
only:
- nightly
tags:
only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
name: nightly_binary_linux_wheel_py3.8_cu117_upload
requires:
- nightly_binary_linux_wheel_py3.8_cu117
subfolder: cu117/
- smoke_test_linux_pip:
cuda_version: cu117
filters:
branches:
only:
- nightly
tags:
only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
name: nightly_binary_linux_wheel_py3.8_cu117_smoke_test_pip
python_version: '3.8'
requires:
- nightly_binary_linux_wheel_py3.8_cu117
- binary_linux_wheel:
cuda_version: rocm5.2
filters:
branches:
only:
- nightly
tags:
only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
name: nightly_binary_linux_wheel_py3.8_rocm5.2
python_version: '3.8'
requires:
- build_ffmpeg_linux
wheel_docker_image: pytorch/manylinux-rocm:5.2
- binary_wheel_upload:
context: org-member
filters:
branches:
only:
- nightly
tags:
only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
name: nightly_binary_linux_wheel_py3.8_rocm5.2_upload
requires:
- nightly_binary_linux_wheel_py3.8_rocm5.2
subfolder: rocm5.2/
- smoke_test_linux_pip:
cuda_version: rocm5.2
filters:
branches:
only:
- nightly
tags:
only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
name: nightly_binary_linux_wheel_py3.8_rocm5.2_smoke_test_pip
python_version: '3.8'
requires:
- nightly_binary_linux_wheel_py3.8_rocm5.2
- binary_linux_wheel:
cuda_version: rocm5.3
filters:
branches:
only:
- nightly
tags:
only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
name: nightly_binary_linux_wheel_py3.8_rocm5.3
python_version: '3.8'
requires:
- build_ffmpeg_linux
wheel_docker_image: pytorch/manylinux-rocm:5.3
- binary_wheel_upload:
context: org-member
filters:
branches:
only:
- nightly
tags:
only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
name: nightly_binary_linux_wheel_py3.8_rocm5.3_upload
requires:
- nightly_binary_linux_wheel_py3.8_rocm5.3
subfolder: rocm5.3/
- smoke_test_linux_pip:
cuda_version: rocm5.3
filters:
branches:
only:
- nightly
tags:
only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
name: nightly_binary_linux_wheel_py3.8_rocm5.3_smoke_test_pip
python_version: '3.8'
requires:
- nightly_binary_linux_wheel_py3.8_rocm5.3
- binary_linux_wheel:
cuda_version: cpu
filters:
branches:
only:
- nightly
tags:
only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
name: nightly_binary_linux_wheel_py3.9_cpu
python_version: '3.9'
requires:
- build_ffmpeg_linux
- binary_wheel_upload:
context: org-member
filters:
branches:
only:
- nightly
tags:
only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
name: nightly_binary_linux_wheel_py3.9_cpu_upload
requires:
- nightly_binary_linux_wheel_py3.9_cpu
subfolder: cpu/
- smoke_test_linux_pip:
cuda_version: cpu
filters:
branches:
only:
- nightly
tags:
only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
name: nightly_binary_linux_wheel_py3.9_cpu_smoke_test_pip
python_version: '3.9'
requires:
- nightly_binary_linux_wheel_py3.9_cpu
- binary_linux_wheel:
cuda_version: cu116
filters:
branches:
only:
- nightly
tags:
only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
name: nightly_binary_linux_wheel_py3.9_cu116
python_version: '3.9'
requires:
- build_ffmpeg_linux
wheel_docker_image: pytorch/manylinux-cuda116
- binary_wheel_upload:
context: org-member
filters:
branches:
only:
- nightly
tags:
only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
name: nightly_binary_linux_wheel_py3.9_cu116_upload
requires:
- nightly_binary_linux_wheel_py3.9_cu116
subfolder: cu116/
- smoke_test_linux_pip:
cuda_version: cu116
filters:
branches:
only:
- nightly
tags:
only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
name: nightly_binary_linux_wheel_py3.9_cu116_smoke_test_pip
python_version: '3.9'
requires:
- nightly_binary_linux_wheel_py3.9_cu116
- binary_linux_wheel:
cuda_version: cu117
filters:
branches:
only:
- nightly
tags:
only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
name: nightly_binary_linux_wheel_py3.9_cu117
python_version: '3.9'
requires:
- build_ffmpeg_linux
wheel_docker_image: pytorch/manylinux-cuda117
- binary_wheel_upload:
context: org-member
filters:
branches:
only:
- nightly
tags:
only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
name: nightly_binary_linux_wheel_py3.9_cu117_upload
requires:
- nightly_binary_linux_wheel_py3.9_cu117
subfolder: cu117/
- smoke_test_linux_pip:
cuda_version: cu117
filters:
branches:
only:
- nightly
tags:
only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
name: nightly_binary_linux_wheel_py3.9_cu117_smoke_test_pip
python_version: '3.9'
requires:
- nightly_binary_linux_wheel_py3.9_cu117
- binary_linux_wheel:
cuda_version: rocm5.2
filters:
branches:
only:
- nightly
tags:
only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
name: nightly_binary_linux_wheel_py3.9_rocm5.2
python_version: '3.9'
requires:
- build_ffmpeg_linux
wheel_docker_image: pytorch/manylinux-rocm:5.2
- binary_wheel_upload:
context: org-member
filters:
branches:
only:
- nightly
tags:
only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
name: nightly_binary_linux_wheel_py3.9_rocm5.2_upload
requires:
- nightly_binary_linux_wheel_py3.9_rocm5.2
subfolder: rocm5.2/
- smoke_test_linux_pip:
cuda_version: rocm5.2
filters:
branches:
only:
- nightly
tags:
only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
name: nightly_binary_linux_wheel_py3.9_rocm5.2_smoke_test_pip
python_version: '3.9'
requires:
- nightly_binary_linux_wheel_py3.9_rocm5.2
- binary_linux_wheel:
cuda_version: rocm5.3
filters:
branches:
only:
- nightly
tags:
only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
name: nightly_binary_linux_wheel_py3.9_rocm5.3
python_version: '3.9'
requires:
- build_ffmpeg_linux
wheel_docker_image: pytorch/manylinux-rocm:5.3
- binary_wheel_upload:
context: org-member
filters:
branches:
only:
- nightly
tags:
only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
name: nightly_binary_linux_wheel_py3.9_rocm5.3_upload
requires:
- nightly_binary_linux_wheel_py3.9_rocm5.3
subfolder: rocm5.3/
- smoke_test_linux_pip:
cuda_version: rocm5.3
filters:
branches:
only:
- nightly
tags:
only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
name: nightly_binary_linux_wheel_py3.9_rocm5.3_smoke_test_pip
python_version: '3.9'
requires:
- nightly_binary_linux_wheel_py3.9_rocm5.3
- binary_linux_wheel:
cuda_version: cpu
filters:
branches:
only:
- nightly
tags:
only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
name: nightly_binary_linux_wheel_py3.10_cpu
python_version: '3.10'
requires:
- build_ffmpeg_linux
- binary_wheel_upload:
context: org-member
filters:
branches:
only:
- nightly
tags:
only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
name: nightly_binary_linux_wheel_py3.10_cpu_upload
requires:
- nightly_binary_linux_wheel_py3.10_cpu
subfolder: cpu/
- smoke_test_linux_pip:
cuda_version: cpu
filters:
branches:
only:
- nightly
tags:
only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
name: nightly_binary_linux_wheel_py3.10_cpu_smoke_test_pip
python_version: '3.10'
requires:
- nightly_binary_linux_wheel_py3.10_cpu
- binary_linux_wheel:
cuda_version: cu116
filters:
branches:
only:
- nightly
tags:
only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
name: nightly_binary_linux_wheel_py3.10_cu116
python_version: '3.10'
requires:
- build_ffmpeg_linux
wheel_docker_image: pytorch/manylinux-cuda116
- binary_wheel_upload:
context: org-member
filters:
branches:
only:
- nightly
tags:
only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
name: nightly_binary_linux_wheel_py3.10_cu116_upload
requires:
- nightly_binary_linux_wheel_py3.10_cu116
subfolder: cu116/
- smoke_test_linux_pip:
cuda_version: cu116
filters:
branches:
only:
- nightly
tags:
only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
name: nightly_binary_linux_wheel_py3.10_cu116_smoke_test_pip
python_version: '3.10'
requires:
- nightly_binary_linux_wheel_py3.10_cu116
- binary_linux_wheel:
cuda_version: cu117
filters:
branches:
only:
- nightly
tags:
only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
name: nightly_binary_linux_wheel_py3.10_cu117
python_version: '3.10'
requires:
- build_ffmpeg_linux
wheel_docker_image: pytorch/manylinux-cuda117
- binary_wheel_upload:
context: org-member
filters:
branches:
only:
- nightly
tags:
only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
name: nightly_binary_linux_wheel_py3.10_cu117_upload
requires:
- nightly_binary_linux_wheel_py3.10_cu117
subfolder: cu117/
- smoke_test_linux_pip:
cuda_version: cu117
filters:
branches:
only:
- nightly
tags:
only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
name: nightly_binary_linux_wheel_py3.10_cu117_smoke_test_pip
python_version: '3.10'
requires:
- nightly_binary_linux_wheel_py3.10_cu117
- binary_linux_wheel:
cuda_version: rocm5.2
filters:
branches:
only:
- nightly
tags:
only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
name: nightly_binary_linux_wheel_py3.10_rocm5.2
python_version: '3.10'
requires:
- build_ffmpeg_linux
wheel_docker_image: pytorch/manylinux-rocm:5.2
- binary_wheel_upload:
context: org-member
filters:
branches:
only:
- nightly
tags:
only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
name: nightly_binary_linux_wheel_py3.10_rocm5.2_upload
requires:
- nightly_binary_linux_wheel_py3.10_rocm5.2
subfolder: rocm5.2/
- smoke_test_linux_pip:
cuda_version: rocm5.2
filters:
branches:
only:
- nightly
tags:
only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
name: nightly_binary_linux_wheel_py3.10_rocm5.2_smoke_test_pip
python_version: '3.10'
requires:
- nightly_binary_linux_wheel_py3.10_rocm5.2
- binary_linux_wheel:
cuda_version: rocm5.3
filters:
branches:
only:
- nightly
tags:
only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
name: nightly_binary_linux_wheel_py3.10_rocm5.3
python_version: '3.10'
requires:
- build_ffmpeg_linux
wheel_docker_image: pytorch/manylinux-rocm:5.3
- binary_wheel_upload:
context: org-member
filters:
branches:
only:
- nightly
tags:
only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
name: nightly_binary_linux_wheel_py3.10_rocm5.3_upload
requires:
- nightly_binary_linux_wheel_py3.10_rocm5.3
subfolder: rocm5.3/
- smoke_test_linux_pip:
cuda_version: rocm5.3
filters:
branches:
only:
- nightly
tags:
only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
name: nightly_binary_linux_wheel_py3.10_rocm5.3_smoke_test_pip
python_version: '3.10'
requires:
- nightly_binary_linux_wheel_py3.10_rocm5.3
- binary_macos_wheel:
cuda_version: cpu
filters:
......
......@@ -42,20 +42,22 @@ def build_workflows(prefix="", upload=False, filter_branch=None, indentation=6):
for python_version in PYTHON_VERSIONS:
for cu_version in CU_VERSIONS_DICT[os_type]:
fb = filter_branch
if cu_version.startswith("rocm") and btype == "conda":
if (cu_version.startswith("rocm") and btype == "conda") or (
os_type == "linux" and btype == "wheel"
):
continue
if not fb and (
os_type == "linux" and btype == "wheel" and python_version == "3.8" and cu_version == "cpu"
):
# the fields must match the build_docs "requires" dependency
fb = "/.*/"
w += build_workflow_pair(btype, os_type, python_version, cu_version, fb, prefix, upload)
if not filter_branch:
# Build on every pull request, but upload only on nightly and tags
w += build_doc_job("/.*/")
w += upload_doc_job("nightly")
w += docstring_parameters_sync_job(None)
return indent(indentation, w)
......@@ -89,7 +91,6 @@ def build_workflow_pair(btype, os_type, python_version, cu_version, filter_branc
w.append(generate_base_workflow(base_workflow_name, python_version, cu_version, filter_branch, os_type, btype))
if upload:
w.append(generate_upload_workflow(base_workflow_name, filter_branch, os_type, btype, cu_version))
if os_type != "macos":
......
......@@ -24,21 +24,21 @@ jobs:
- repository: pytorch/audio
pre-script: packaging/pre_build_script.sh
post-script: packaging/post_build_script.sh
smoke-test-script: test/smoke_test/smoke_test.py
package-name: torchaudio
name: ${{ matrix.repository }}
uses: pytorch/test-infra/.github/workflows/build_wheels_linux.yml@main
with:
repository: ${{ matrix.repository }}
ref: nightly
ref: ""
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 }}
smoke-test-script: ${{ matrix.smoke-test-script }}
package-name: ${{ matrix.package-name }}
# Using "development" as trigger event so these binaries are not uploaded
# to official channels yet
trigger-event: development
trigger-event: ${{ github.event_name }}
secrets:
AWS_PYTORCH_UPLOADER_ACCESS_KEY_ID: ${{ secrets.AWS_PYTORCH_UPLOADER_ACCESS_KEY_ID }}
AWS_PYTORCH_UPLOADER_SECRET_ACCESS_KEY: ${{ secrets.AWS_PYTORCH_UPLOADER_SECRET_ACCESS_KEY }}
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