Replace lltm with myaddmul; update to new custom ops APIs #15
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Tests | |
on: | |
pull_request: | |
push: | |
branches: | |
- master | |
workflow_dispatch: | |
jobs: | |
unittests-linux: | |
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.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 |