Skip to content

Update rocm_ci.yml

Update rocm_ci.yml #15

Workflow file for this run

name: wheels
on:
pull_request:
paths:
- "packaging/compute_wheel_version.sh"
- ".github/workflows/wheel*"
- "setup.py"
- "requirements*.txt"
push:
branches:
- main
tags:
- "v[0-9]+*"
jobs:
build:
strategy:
fail-fast: false
matrix:
os:
- 8-core-ubuntu
- windows-8-core
python:
- "3.8"
- "3.9"
- "3.10"
- "3.11"
torch_version:
- "2.2.2"
cuda_short_version:
- "118"
- "121"
uses: ./.github/workflows/wheels_build.yml
if: github.repository == 'facebookresearch/xformers' || github.event_name == 'pull_request'
with:
os: ${{ matrix.os }}
python: ${{ matrix.python }}
torch_version: ${{ matrix.torch_version }}
cuda_short_version: ${{ matrix.cuda_short_version }}
upload_pip:
needs: build
uses: ./.github/workflows/wheels_upload_pip.yml
with:
twine_username: __token__
filter: "*torch2.2.2+cu121*"
execute: ${{ github.repository == 'facebookresearch/xformers' && github.event_name != 'pull_request' }}
secrets:
twine_password: ${{ secrets.PYPI_TOKEN }}
upload_pt_cu118:

Check failure on line 53 in .github/workflows/wheels.yml

View workflow run for this annotation

GitHub Actions / wheels

Invalid workflow file

The workflow is not valid. .github/workflows/wheels.yml (Line: 53, Col: 3): Error calling workflow 'ROCm/xformers/.github/workflows/wheels_upload_s3.yml@15d7c23250a18a6f5c3915c69c2150c9089ce866'. The nested job 'wheels_upload_s3' is requesting 'pull-requests: read, id-token: write', but is only allowed 'pull-requests: none, id-token: none'.
needs: build
uses: ./.github/workflows/wheels_upload_s3.yml
with:
aws_role: "arn:aws:iam::749337293305:role/pytorch_bot_uploader_role"
s3_path: s3://pytorch/whl/cu118/
aws_s3_cp_extra_args: --acl public-read
filter: "*torch2.2.2+cu118*"
execute: ${{ github.repository == 'facebookresearch/xformers' && github.ref_type == 'tag' }}
upload_pt_cu121:
needs: build
uses: ./.github/workflows/wheels_upload_s3.yml
with:
aws_role: "arn:aws:iam::749337293305:role/pytorch_bot_uploader_role"
s3_path: s3://pytorch/whl/cu121/
aws_s3_cp_extra_args: --acl public-read
filter: "*torch2.2.2+cu121*"
execute: ${{ github.repository == 'facebookresearch/xformers' && github.ref_type == 'tag' }}