From d52ee6e193739e29e24dc96137b03ac8b36eb4c1 Mon Sep 17 00:00:00 2001 From: Benson Ma Date: Thu, 26 Sep 2024 12:14:33 -0700 Subject: [PATCH] [fbgemm_gpu] Fix FBGEMM CI on non-pytorch CI infra - Fix FBGEMM CI on non-pytorch CI infra --- .github/workflows/fbgemm_ci.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/fbgemm_ci.yml b/.github/workflows/fbgemm_ci.yml index 220654c3e..d60d78d9b 100644 --- a/.github/workflows/fbgemm_ci.yml +++ b/.github/workflows/fbgemm_ci.yml @@ -105,7 +105,7 @@ jobs: build-bazel: - runs-on: ${{ github.repository_owner == 'pytorch' && matrix.host-machine.instance || 'ubuntu-latest' }} + runs-on: ${{ matrix.host-machine.instance }} container: image: amazonlinux:2023 options: --user root @@ -119,7 +119,7 @@ jobs: fail-fast: false matrix: host-machine: [ - { arch: x86, instance: "linux.12xlarge" }, + { arch: x86, instance: ${{ github.repository_owner == 'pytorch' && 'linux.12xlarge' || 'ubuntu-latest' }} }, ] compiler: [ "gcc", "clang" ]