Skip to content

Commit

Permalink
github why?
Browse files Browse the repository at this point in the history
  • Loading branch information
will-cromar committed Jun 13, 2024
1 parent d180514 commit 6326d10
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 5 additions & 1 deletion .github/workflows/_build_torch_xla.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,12 @@ jobs:
BAZEL_JOBS: 16
BUILD_CPP_TESTS: 1
steps:
- name: Checkout PyTorch/XLA Repo
uses: actions/checkout@v4
with:
path: pytorch/xla
- name: Setup
uses: ./.github/workflows/_setup.yml
uses: ./pytorch/xla/.github/workflows/_setup.yml
with:
torch-commit: ${{ inputs.torch-commit }}
setup-remote-cache: ${{ env.BAZEL_REMOTE_CACHE }}
Expand Down
6 changes: 1 addition & 5 deletions .github/workflows/_setup.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
name: Set up PyTorch/XLA
inputs:
torch-commit:
required: true
type: string
remote-cache:
required: true
Expand All @@ -28,7 +27,4 @@ runs:
path: pytorch
ref: ${{ inputs.torch-commit }}
submodules: recursive
- name: Checkout PyTorch/XLA Repo
uses: actions/checkout@v4
with:
path: pytorch/xla
if: ${{ inputs.torch-commit }}

0 comments on commit 6326d10

Please sign in to comment.