Skip to content

Update README, no benchmarks, yes build #24

Update README, no benchmarks, yes build

Update README, no benchmarks, yes build #24

Workflow file for this run

name: Tests
on:
pull_request:
push:
branches:
- master
workflow_dispatch:
jobs:
unittests-linux:

Check failure on line 11 in .github/workflows/tests.yml

View workflow run for this annotation

GitHub Actions / Tests

Invalid workflow file

The workflow is not valid. .github/workflows/tests.yml (Line: 11, Col: 3): Error calling workflow 'pytorch/test-infra/.github/workflows/linux_job_v2.yml@main'. The workflow is requesting 'id-token: write', but is only allowed 'id-token: none'.
strategy:
matrix:
python-version:
- "3.11"
runner: ["linux.12xlarge"]
gpu-arch-type: ["cpu"]
include:
- python-version: 3.8
runner: linux.g5.4xlarge.nvidia.gpu
gpu-arch-type: cuda
gpu-arch-version: "11.8"
fail-fast: false
uses: pytorch/test-infra/.github/workflows/linux_job_v2.yml@main
with:
repository: pytorch/extension-cpp
runner: ${{ matrix.runner }}
gpu-arch-type: ${{ matrix.gpu-arch-type }}
gpu-arch-version: ${{ matrix.gpu-arch-version }}
timeout: 120
script: |
set -euo pipefail
export PYTHON_VERSION=${{ matrix.python-version }}
export GPU_ARCH_TYPE=${{ matrix.gpu-arch-type }}
export GPU_ARCH_VERSION=${{ matrix.gpu-arch-version }}
./.github/scripts/unittest.sh