"src/git@developer.sourcefind.cn:renzhc/diffusers_dcu.git" did not exist on "85eff637aad1106f593d7535ec41cdb736b0b2ea"
Unverified Commit a718345a authored by Omkar Salpekar's avatar Omkar Salpekar Committed by GitHub
Browse files

[Nova] Disable Macos Wheels from CircleCI (#6987)

parent 647b32ab
...@@ -1130,30 +1130,6 @@ workflows: ...@@ -1130,30 +1130,6 @@ workflows:
name: binary_linux_wheel_py3.7_rocm5.2 name: binary_linux_wheel_py3.7_rocm5.2
python_version: '3.7' python_version: '3.7'
wheel_docker_image: pytorch/manylinux-rocm:5.2 wheel_docker_image: pytorch/manylinux-rocm:5.2
- binary_macos_wheel:
conda_docker_image: pytorch/conda-builder:cpu
cu_version: cpu
name: binary_macos_wheel_py3.7_cpu
python_version: '3.7'
wheel_docker_image: pytorch/manylinux-cpu
- binary_macos_wheel:
conda_docker_image: pytorch/conda-builder:cpu
cu_version: cpu
name: binary_macos_wheel_py3.8_cpu
python_version: '3.8'
wheel_docker_image: pytorch/manylinux-cpu
- binary_macos_wheel:
conda_docker_image: pytorch/conda-builder:cpu
cu_version: cpu
name: binary_macos_wheel_py3.9_cpu
python_version: '3.9'
wheel_docker_image: pytorch/manylinux-cpu
- binary_macos_wheel:
conda_docker_image: pytorch/conda-builder:cpu
cu_version: cpu
name: binary_macos_wheel_py3.10_cpu
python_version: '3.10'
wheel_docker_image: pytorch/manylinux-cpu
- binary_win_wheel: - binary_win_wheel:
cu_version: cpu cu_version: cpu
filters: filters:
...@@ -1698,94 +1674,6 @@ workflows: ...@@ -1698,94 +1674,6 @@ workflows:
name: nightly_binary_linux_wheel_py3.7_rocm5.2 name: nightly_binary_linux_wheel_py3.7_rocm5.2
python_version: '3.7' python_version: '3.7'
wheel_docker_image: pytorch/manylinux-rocm:5.2 wheel_docker_image: pytorch/manylinux-rocm:5.2
- binary_macos_wheel:
conda_docker_image: pytorch/conda-builder:cpu
cu_version: cpu
filters:
branches:
only: nightly
tags:
only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
name: nightly_binary_macos_wheel_py3.7_cpu
python_version: '3.7'
wheel_docker_image: pytorch/manylinux-cpu
- binary_wheel_upload:
context: org-member
filters:
branches:
only: nightly
tags:
only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
name: nightly_binary_macos_wheel_py3.7_cpu_upload
requires:
- nightly_binary_macos_wheel_py3.7_cpu
subfolder: ''
- binary_macos_wheel:
conda_docker_image: pytorch/conda-builder:cpu
cu_version: cpu
filters:
branches:
only: nightly
tags:
only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
name: nightly_binary_macos_wheel_py3.8_cpu
python_version: '3.8'
wheel_docker_image: pytorch/manylinux-cpu
- binary_wheel_upload:
context: org-member
filters:
branches:
only: nightly
tags:
only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
name: nightly_binary_macos_wheel_py3.8_cpu_upload
requires:
- nightly_binary_macos_wheel_py3.8_cpu
subfolder: ''
- binary_macos_wheel:
conda_docker_image: pytorch/conda-builder:cpu
cu_version: cpu
filters:
branches:
only: nightly
tags:
only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
name: nightly_binary_macos_wheel_py3.9_cpu
python_version: '3.9'
wheel_docker_image: pytorch/manylinux-cpu
- binary_wheel_upload:
context: org-member
filters:
branches:
only: nightly
tags:
only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
name: nightly_binary_macos_wheel_py3.9_cpu_upload
requires:
- nightly_binary_macos_wheel_py3.9_cpu
subfolder: ''
- binary_macos_wheel:
conda_docker_image: pytorch/conda-builder:cpu
cu_version: cpu
filters:
branches:
only: nightly
tags:
only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
name: nightly_binary_macos_wheel_py3.10_cpu
python_version: '3.10'
wheel_docker_image: pytorch/manylinux-cpu
- binary_wheel_upload:
context: org-member
filters:
branches:
only: nightly
tags:
only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
name: nightly_binary_macos_wheel_py3.10_cpu_upload
requires:
- nightly_binary_macos_wheel_py3.10_cpu
subfolder: ''
- binary_win_wheel: - binary_win_wheel:
cu_version: cpu cu_version: cpu
filters: filters:
......
...@@ -67,6 +67,10 @@ def build_workflows(prefix="", filter_branch=None, upload=False, indentation=6, ...@@ -67,6 +67,10 @@ def build_workflows(prefix="", filter_branch=None, upload=False, indentation=6,
if os_type == "linux" and btype == "wheel" and python_version != "3.7": if os_type == "linux" and btype == "wheel" and python_version != "3.7":
continue continue
# Disable all Macos Wheels Workflows from CircleCI.
if os_type == "macos" and btype == "wheel":
continue
w += workflow_pair( w += workflow_pair(
btype, os_type, python_version, cu_version, unicode, prefix, upload, filter_branch=fb btype, os_type, python_version, cu_version, unicode, prefix, upload, filter_branch=fb
) )
......
...@@ -81,16 +81,6 @@ jobs: ...@@ -81,16 +81,6 @@ jobs:
with: with:
name: torchvision-py${{ matrix.py_vers }}-macos11-m1 name: torchvision-py${{ matrix.py_vers }}-macos11-m1
path: dist/ path: dist/
- name: Upload wheel to S3
if: ${{ github.event_name == 'push' && (github.event.ref == 'refs/heads/nightly' || startsWith(github.event.ref, 'refs/tags/')) }}
shell: arch -arch arm64 bash {0}
env:
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_PYTORCH_UPLOADER_ACCESS_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_PYTORCH_UPLOADER_SECRET_ACCESS_KEY }}
run: |
for pkg in dist/*; do
aws s3 cp "$pkg" "s3://pytorch/whl/${CHANNEL}/cpu/" --acl public-read
done
build_conda: build_conda:
name: "Build TorchVision M1 conda packages" name: "Build TorchVision M1 conda packages"
runs-on: macos-m1-12 runs-on: macos-m1-12
......
...@@ -39,9 +39,7 @@ jobs: ...@@ -39,9 +39,7 @@ jobs:
package-name: ${{ matrix.package-name }} package-name: ${{ matrix.package-name }}
runner-type: macos-m1-12 runner-type: macos-m1-12
smoke-test-script: ${{ matrix.smoke-test-script }} smoke-test-script: ${{ matrix.smoke-test-script }}
# Using "development" as trigger event so these binaries are not uploaded trigger-event: ${{ github.event_name }}
# to official channels yet
trigger-event: development
secrets: secrets:
AWS_PYTORCH_UPLOADER_ACCESS_KEY_ID: ${{ secrets.AWS_PYTORCH_UPLOADER_ACCESS_KEY_ID }} 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 }} AWS_PYTORCH_UPLOADER_SECRET_ACCESS_KEY: ${{ secrets.AWS_PYTORCH_UPLOADER_SECRET_ACCESS_KEY }}
...@@ -39,9 +39,7 @@ jobs: ...@@ -39,9 +39,7 @@ jobs:
package-name: ${{ matrix.package-name }} package-name: ${{ matrix.package-name }}
runner-type: macos-12 runner-type: macos-12
smoke-test-script: ${{ matrix.smoke-test-script }} smoke-test-script: ${{ matrix.smoke-test-script }}
# Using "development" as trigger event so these binaries are not uploaded trigger-event: ${{ github.event_name }}
# to official channels yet
trigger-event: development
secrets: secrets:
AWS_PYTORCH_UPLOADER_ACCESS_KEY_ID: ${{ secrets.AWS_PYTORCH_UPLOADER_ACCESS_KEY_ID }} 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 }} 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