Skip to content

Arm64 workflow enablement #1

Arm64 workflow enablement

Arm64 workflow enablement #1

name: torchvision Build
on:
pull_request:
push:
branches:
- nightly
- main
- release/*
tags:
# NOTE: Binary build pipelines should only get triggered on release candidate builds
# Release candidate tags look like: v1.11.0-rc1
- v[0-9]+.[0-9]+.[0-9]+-rc[0-9]+
workflow_dispatch:
inputs:
python_version:
description: "Python version"
required: true
type: choice
options:
- Python312
- Python311
msvc_version:
description: "MSVC Version"
required: true
type: choice
options:
- 'latest'
- '14.40'
- '14.36'
pytorch_build_run_id:
description: "PyTorch build run id for downloading the wheel artifact (number at the end of build run URL)"
required: true
default: "13589031393"
type: string
pytorch_build_artifact_name:
description: "Artifact name of PyTorch build run"
required: true
default: "pytorch-wheel"
type: string
build_type:
description: "Build type"
required: true
type: choice
options:
- Release
# - Debug (not supported for wheel)
repository_name:
description: "torchvision repository (username/repo)"
required: true
default: "pytorch/vision"
type: string
repository_branch:
description: "repository branch"
required: true
default: "main"
type: string
build_version:
description: "Optional: build version for wheel file name (e.g. 2.6.0); otherwise leave empty for default naming"
required: false
default: "2.6.0"
type: string
permissions:
id-token: write
contents: read
jobs:
trigger-test-infra:

Check failure on line 69 in .github/workflows/build_wheel_windows_arm64.yml

View workflow run for this annotation

GitHub Actions / torchvision Build

Invalid workflow file

The workflow is not valid. .github/workflows/build_wheel_windows_arm64.yml (Line: 69, Col: 3): Error calling workflow 'alinpahontu2912/test-infra/.github/workflows/build_wheels_windows_arm64.yml@winarm64_wheels'. The workflow is requesting 'actions: write, attestations: write, checks: write, contents: write, deployments: write, discussions: write, issues: write, packages: write, pages: write, pull-requests: write, repository-projects: write, statuses: write, security-events: write', but is only allowed 'actions: none, att[...]
uses: alinpahontu2912/test-infra/.github/workflows/build_wheels_windows_arm64.yml@winarm64_wheels
with:
repository_name: ${{ inputs.repository_name }}
repository_branch: ${{ inputs.repository_branch }}
python_version: ${{ inputs.python_version || 'Python312' }}
msvc_version: ${{ inputs.msvc_version || 'latest' }}
pytorch_build_run_id: ${{ inputs.pytorch_build_run_id || '13589031393' }}
build_type: ${{ inputs.build_type || 'Release' }}
build_version: ${{ inputs.build_version }}