Skip to content

Commit 9fc216d

Browse files
committed
Move arm64 wheel builds to GitHub runners
GitHub has experimental ARM64 runners. Torch has also reached version 2.7.0.
1 parent 18bf080 commit 9fc216d

File tree

4 files changed

+12
-10
lines changed

4 files changed

+12
-10
lines changed

.github/workflows/torch-wheel.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,9 @@ on:
88
workflow_dispatch:
99
inputs:
1010
pytorch-version:
11-
description: 'Version of pytorch to build (e.g. 2.3.1)'
11+
description: 'Version of pytorch to build (e.g. 2.7.0)'
1212
required: true
13-
default: '2.3.1'
13+
default: '2.7.0'
1414
type: string
1515
push-to-registry:
1616
description: 'Push image to registry'
@@ -25,7 +25,7 @@ permissions:
2525

2626
jobs:
2727
build-pytorch-wheel:
28-
runs-on: [self-hosted, ARM64]
28+
runs-on: ubuntu-24.04-arm
2929
timeout-minutes: 1439 # GITHUB_TOKEN expires in 24 hours, so keep it just below that
3030
steps:
3131
- name: Print Inputs

.github/workflows/torchvision-wheel.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,14 +9,14 @@ on:
99
workflow_dispatch:
1010
inputs:
1111
torchvision-version:
12-
description: 'Version of torchvision to build (e.g. 0.18.1)'
12+
description: 'Version of torchvision to build (e.g. 0.22.0)'
1313
required: true
14-
default: '0.18.1'
14+
default: '0.22.0'
1515
type: string
1616
pytorch-version:
1717
description: 'Torch version (check compatibility matrix)'
1818
required: true
19-
default: '2.3.1'
19+
default: '2.7.0'
2020
type: string
2121
push-to-registry:
2222
description: 'Push image to registry'
@@ -31,7 +31,7 @@ permissions:
3131

3232
jobs:
3333
build-torchvision-wheel:
34-
runs-on: [self-hosted, ARM64]
34+
runs-on: ubuntu-24.04-arm
3535
timeout-minutes: 1439 # GITHUB_TOKEN expires in 24 hours, so keep it just below that
3636
steps:
3737
- name: Print Inputs

torch-wheel.Dockerfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
ARG PYTORCH_BUILD_VERSION=2.3.1
1+
ARG PYTORCH_BUILD_VERSION=2.7.0
2+
# https://catalog.ngc.nvidia.com/orgs/nvidia/containers/l4t-cuda/tags
23
ARG BASE_IMAGE=nvcr.io/nvidia/l4t-cuda:12.2.12-devel
34

45
# Builder stage for x86 wheel, just a dummy for now

torchvision-wheel.Dockerfile

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
# Compatibility matrix for torch+torchvision: https://github.com/pytorch/vision
2-
ARG TORCHVISION_VERSION=0.18.1
3-
ARG PYTORCH_VERSION=2.3.1
2+
ARG TORCHVISION_VERSION=0.22.0
3+
ARG PYTORCH_VERSION=2.7.0
44
ARG TORCH_WHEEL_SOURCE="scratch"
5+
# https://catalog.ngc.nvidia.com/orgs/nvidia/containers/l4t-cuda/tags
56
ARG ARM_BASE_IMAGE=nvcr.io/nvidia/l4t-cuda:12.2.12-devel
67

78

0 commit comments

Comments
 (0)