From 142e7027debf8ae8bec1fbbb71b4929de1c27428 Mon Sep 17 00:00:00 2001 From: Yifei Teng Date: Thu, 12 Dec 2024 11:57:58 -0800 Subject: [PATCH] Update CI to use PyTorch 2.6 branch (#8487) --- .github/workflows/build_and_test.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build_and_test.yml b/.github/workflows/build_and_test.yml index 9ae26c047cf..a5f2f0eb07b 100644 --- a/.github/workflows/build_and_test.yml +++ b/.github/workflows/build_and_test.yml @@ -28,7 +28,7 @@ jobs: - id: commit name: Get latest torch commit run: | - echo "torch_commit=$(git ls-remote https://github.com/pytorch/pytorch.git HEAD | awk '{print $1}')" >> "$GITHUB_OUTPUT" + echo "torch_commit=$(git ls-remote https://github.com/pytorch/pytorch.git refs/heads/release/2.6 | awk '{print $1}')" >> "$GITHUB_OUTPUT" build-torch-xla: name: "Build PyTorch/XLA"