Skip to content

Commit

Permalink
Change the label for the macOS runners (#4863)
Browse files Browse the repository at this point in the history
Changed the label for the macOS runners to `macos-m1-stable`.
  • Loading branch information
DanilBaibak authored Jan 17, 2024
1 parent fac06ed commit 5469643
Show file tree
Hide file tree
Showing 8 changed files with 13 additions and 12 deletions.
1 change: 1 addition & 0 deletions .github/actionlint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ self-hosted-runner:
labels:
- macos-12-xl
- macos-m1-12
- macos-m1-stable
- linux.12xlarge
- linux.2xlarge
- linux.large
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/clang-tidy-macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ jobs:
aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }}
aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
build-M1:
runs-on: macos-m1-12
runs-on: macos-m1-stable
steps:
- name: Checkout
uses: actions/checkout@v3
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test-setup-miniconda.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
matrix:
runner-type:
- macos-12
- macos-m1-12
- macos-m1-stable
- linux.2xlarge
# Only testing minimum and maximum versions here
python-version:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test_build_conda_m1.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ jobs:
pre-script: ${{ matrix.pre-script }}
post-script: ${{ matrix.post-script }}
smoke-test-script: ${{ matrix.smoke-test-script }}
runner-type: macos-m1-12
runner-type: macos-m1-stable
package-name: ${{ matrix.package-name }}
trigger-event: "${{ github.event_name }}"
cache-path: ${{ matrix.cache-path }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test_build_wheels_m1.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ jobs:
pre-script: ${{ matrix.pre-script }}
post-script: ${{ matrix.post-script }}
smoke-test-script: ${{ matrix.smoke-test-script }}
runner-type: macos-m1-12
runner-type: macos-m1-stable
package-name: ${{ matrix.package-name }}
trigger-event: "${{ github.event_name }}"
cache-path: ${{ matrix.cache-path }}
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/test_macos_job.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
uses: ./.github/workflows/macos_job.yml
with:
job-name: "macos-arm64-py3.8"
runner: macos-m1-12
runner: macos-m1-stable
test-infra-repository: ${{ github.repository }}
test-infra-ref: ${{ github.ref }}
submodules: ${{ 'true' }}
Expand Down Expand Up @@ -56,7 +56,7 @@ jobs:
uses: ./.github/workflows/macos_job.yml
with:
job-name: "macos-arm64-py3.8"
runner: macos-m1-12
runner: macos-m1-stable
test-infra-repository: ${{ github.repository }}
test-infra-ref: ${{ github.ref }}
repository: pytorch/vision
Expand All @@ -72,7 +72,7 @@ jobs:
test-upload-artifact:
uses: ./.github/workflows/macos_job.yml
with:
runner: macos-m1-12
runner: macos-m1-stable
test-infra-repository: ${{ github.repository }}
test-infra-ref: ${{ github.ref }}
upload-artifact: my-cool-artifact
Expand All @@ -82,7 +82,7 @@ jobs:
needs: test-upload-artifact
uses: ./.github/workflows/macos_job.yml
with:
runner: macos-m1-12
runner: macos-m1-stable
test-infra-repository: ${{ github.repository }}
test-infra-ref: ${{ github.ref }}
download-artifact: my-cool-artifact
Expand All @@ -94,7 +94,7 @@ jobs:
strategy:
matrix:
include:
- runner: macos-m1-12
- runner: macos-m1-stable
- runner: macos-13-xlarge
fail-fast: false
with:
Expand All @@ -110,7 +110,7 @@ jobs:
strategy:
matrix:
include:
- runner: macos-m1-12
- runner: macos-m1-stable
- runner: macos-13-xlarge
fail-fast: false
with:
Expand Down
2 changes: 1 addition & 1 deletion tools/scripts/generate_binary_build_matrix.py
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@
LINUX_AARCH64_RUNNER = "linux.arm64.2xlarge"
WIN_GPU_RUNNER = "windows.8xlarge.nvidia.gpu"
WIN_CPU_RUNNER = "windows.4xlarge"
MACOS_M1_RUNNER = "macos-m1-12"
MACOS_M1_RUNNER = "macos-m1-stable"
MACOS_RUNNER = "macos-12"

PACKAGES_TO_INSTALL_WHL = "torch torchvision torchaudio"
Expand Down
2 changes: 1 addition & 1 deletion torchci/test/drci.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@ const failedH = {

// Match with failure line string instead of failure capture array
const failedI = {
name: "macos-12-py3-arm64 / test (default, 2, 3, macos-m1-12)",
name: "macos-12-py3-arm64 / test (default, 2, 3, macos-m1-stable)",
conclusion: "failure",
completed_at: "2022-07-13T19:34:03Z",
html_url: "a",
Expand Down

1 comment on commit 5469643

@vercel
Copy link

@vercel vercel bot commented on 5469643 Jan 17, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.