Skip to content

Commit 9133278

Browse files
authored
Merge branch 'llvm:main' into matt/issue-4210
2 parents 5f2d9f6 + 0844d4d commit 9133278

File tree

108 files changed

+5409
-1387
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

108 files changed

+5409
-1387
lines changed

.github/workflows/RollPyTorch.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
sudo rm -rf $GITHUB_WORKSPACE/*
2323
2424
- name: Get torch-mlir
25-
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
25+
uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0
2626
with:
2727
submodules: 'false'
2828
token: ${{ secrets.WORKFLOW_INVOCATION_TOKEN }}
@@ -95,7 +95,7 @@ jobs:
9595
9696
- name: Post issue comment on build failure
9797
if: failure()
98-
uses: peter-evans/create-or-update-comment@71345be0265236311c031f5c7866368bd1eff043 # v4.0.0
98+
uses: peter-evans/create-or-update-comment@e8674b075228eee787fea43ef493e45ece1004c9 # v5.0.0
9999
with:
100100
issue-number: 1690
101101
body: |
@@ -111,7 +111,7 @@ jobs:
111111
- name: Update PyTorch Build Cache (if running on main branch)
112112
if: github.ref_name == 'main'
113113
id: cache-pytorch
114-
uses: actions/cache@5a3ec84eff668545956fd18022155c47e93e2684 # v4.2.3
114+
uses: actions/cache@0057852bfaa89a56745cba8c7296529d2fc39830 # v4.3.0
115115
with:
116116
path: ${{ github.workspace }}/build_tools/python_deploy/wheelhouse
117117
key: ${{ runner.os }}-pytorch-${{ env.PT_HASH }}
@@ -127,7 +127,7 @@ jobs:
127127
git pull origin main
128128
129129
- name: Create pull request
130-
uses: peter-evans/create-pull-request@271a8d0340265f705b14b6d32b9829c1cb33d45e # v7.0.8
130+
uses: peter-evans/create-pull-request@84ae59a2cdc2258d6fa0732dd66352dddae2a412 # v7.0.9
131131
with:
132132
author: Roll PyTorch Action <[email protected]>
133133
branch: rollpytorch

.github/workflows/bazelBuildAndTest.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,15 +32,15 @@ jobs:
3232
sudo rm -rf $GITHUB_WORKSPACE/*
3333
3434
- name: Checkout torch-mlir
35-
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
35+
uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0
3636
with:
3737
submodules: 'true'
3838

3939
# Continually update cache even if there's a "hit" during
4040
# restore to avoid the cache going stale over time
4141
# https://github.com/actions/cache/blob/main/workarounds.md#update-a-cache
4242
- name: Setup cache for bazel
43-
uses: actions/cache@5a3ec84eff668545956fd18022155c47e93e2684 # v4.2.3
43+
uses: actions/cache@0057852bfaa89a56745cba8c7296529d2fc39830 # v4.3.0
4444
with:
4545
path: ~/.cache/bazel
4646
key: torch_mlir-bazel-build-cache-${{ runner.os }}-${{ github.sha }}
@@ -102,7 +102,7 @@ jobs:
102102
103103
- name: Send mail
104104
if: failure()
105-
uses: dawidd6/action-send-mail@7ac0fb1e367721ffc3985c672ba2e7659379bc00 # v5
105+
uses: dawidd6/action-send-mail@6d98ae34d733f9a723a9e04e94f2f24ba05e1402 # v6
106106
with:
107107
server_address: ${{ secrets.SMTP_SERVER }}
108108
server_port: ${{ secrets.SMTP_PORT }}

.github/workflows/buildRelease.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ jobs:
2828
sudo rm -rf $GITHUB_WORKSPACE/*
2929
3030
- name: Get torch-mlir
31-
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
31+
uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0
3232
with:
3333
submodules: 'true'
3434
fetch-depth: 0
@@ -75,7 +75,7 @@ jobs:
7575
#
7676
# See https://github.com/pypa/gh-action-pypi-publish/discussions/15
7777
- name: Store the binary wheel
78-
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
78+
uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0
7979
with:
8080
name: wheels
8181
path: dist
@@ -96,7 +96,7 @@ jobs:
9696
sudo rm -rf $GITHUB_WORKSPACE/*
9797
9898
- name: Get torch-mlir
99-
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
99+
uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0
100100
with:
101101
submodules: 'true'
102102
fetch-depth: 0
@@ -143,7 +143,7 @@ jobs:
143143
#
144144
# See https://github.com/pypa/gh-action-pypi-publish/discussions/15
145145
- name: Store the binary wheel
146-
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
146+
uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0
147147
with:
148148
name: wheels
149149
path: dist
@@ -156,7 +156,7 @@ jobs:
156156
package: [torch-mlir]
157157
steps:
158158
- name: Get torch-mlir
159-
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
159+
uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0
160160
with:
161161
submodules: 'true'
162162
- uses: ./.github/actions/setup-build
@@ -203,7 +203,7 @@ jobs:
203203
#
204204
# See https://github.com/pypa/gh-action-pypi-publish/discussions/15
205205
- name: Store the binary wheel
206-
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
206+
uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0
207207
with:
208208
name: wheels
209209
path: dist
@@ -216,7 +216,7 @@ jobs:
216216
package: [torch-mlir]
217217
steps:
218218
- name: Get torch-mlir
219-
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
219+
uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0
220220
with:
221221
submodules: 'true'
222222
- uses: ./.github/actions/setup-build
@@ -267,7 +267,7 @@ jobs:
267267
#
268268
# See https://github.com/pypa/gh-action-pypi-publish/discussions/15
269269
- name: Store the binary wheel
270-
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
270+
uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0
271271
with:
272272
name: wheels
273273
path: dist

.github/workflows/ci.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -29,20 +29,20 @@ jobs:
2929
CACHE_DIR: ${{ github.workspace }}/.container-cache
3030
steps:
3131
- name: "Checking out repository"
32-
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
32+
uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0
3333
with:
3434
submodules: true
3535

3636
- name: Enable cache
37-
uses: actions/cache/restore@5a3ec84eff668545956fd18022155c47e93e2684 # v4.2.3
37+
uses: actions/cache/restore@0057852bfaa89a56745cba8c7296529d2fc39830 # v4.3.0
3838
with:
3939
path: ${{ env.CACHE_DIR }}
4040
key: build-test-cpp-asserts-manylinux-${{ matrix.torch-version }}-v2-${{ github.sha }}
4141
restore-keys: |
4242
build-test-cpp-asserts-manylinux-${{ matrix.torch-version }}-v2-
4343
4444
- name: ccache
45-
uses: hendrikmuhs/ccache-action@63069e3931dedbf3b63792097479563182fe70d1 # v1.2.18
45+
uses: hendrikmuhs/ccache-action@5ebbd400eff9e74630f759d94ddd7b6c26299639 # v1.2.20
4646
with:
4747
key: ${{ github.job }}-${{ matrix.torch-version }}
4848
save: ${{ needs.setup.outputs.write-caches == 1 }}
@@ -66,7 +66,7 @@ jobs:
6666
bash build_tools/ci/build_posix.sh
6767
6868
- name: Save cache
69-
uses: actions/cache/save@5a3ec84eff668545956fd18022155c47e93e2684 # v4.2.3
69+
uses: actions/cache/save@0057852bfaa89a56745cba8c7296529d2fc39830 # v4.3.0
7070
if: ${{ !cancelled() }}
7171
with:
7272
path: ${{ env.CACHE_DIR }}

.github/workflows/ci_windows.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -30,15 +30,15 @@ jobs:
3030
CACHE_DIR: ${{ github.workspace }}\.container-cache
3131
steps:
3232
- name: "Checking out repository"
33-
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
33+
uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0
3434
with:
3535
submodules: true
3636

3737
- name: Setup workspace
3838
uses: ./.github/actions/setup-build
3939

4040
- name: Enable cache
41-
uses: actions/cache/restore@5a3ec84eff668545956fd18022155c47e93e2684 # v4.2.3
41+
uses: actions/cache/restore@0057852bfaa89a56745cba8c7296529d2fc39830 # v4.3.0
4242
with:
4343
path: ${{ env.CACHE_DIR }}
4444
# Use as cache key a PR number if a pull request and otherwise the commit hash. This reuses the cache for a PR irrespective of the commit hash. Otherwise, it uses commit hash for merges into the main branch
@@ -54,7 +54,7 @@ jobs:
5454
./build_tools/ci/install_python_deps.sh ${{ matrix.torch-version }}
5555
5656
- name: ccache
57-
uses: hendrikmuhs/ccache-action@63069e3931dedbf3b63792097479563182fe70d1 # v1.2.18
57+
uses: hendrikmuhs/ccache-action@5ebbd400eff9e74630f759d94ddd7b6c26299639 # v1.2.20
5858
with:
5959
key: ${{ github.job }}-${{ matrix.torch-version }}
6060
save: ${{ needs.setup.outputs.write-caches == 1 }}
@@ -65,7 +65,7 @@ jobs:
6565
./build_tools/python_deploy/build_windows_ci.sh
6666
6767
- name: Save cache
68-
uses: actions/cache/save@5a3ec84eff668545956fd18022155c47e93e2684 # v4.2.3
68+
uses: actions/cache/save@0057852bfaa89a56745cba8c7296529d2fc39830 # v4.3.0
6969
if: ${{ !cancelled() }}
7070
with:
7171
path: ${{ env.CACHE_DIR }}

.github/workflows/gh-pages-releases.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
# existing lock files.
2121
sudo rm -rf $GITHUB_WORKSPACE/*
2222
- name: Checking out repository
23-
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
23+
uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0
2424
with:
2525
token: ${{ secrets.WORKFLOW_INVOCATION_TOKEN }}
2626
- name: Run scrape releases script
@@ -37,7 +37,7 @@ jobs:
3737
- run: git diff --cached --exit-code || git commit -m "Update releases."
3838

3939
- name: GitHub Push
40-
uses: ad-m/github-push-action@v0.8.0
40+
uses: ad-m/github-push-action@v1.0.0
4141
with:
4242
github_token: ${{ secrets.GITHUB_TOKEN }}
4343
branch: github-pages

.github/workflows/merge-rollpytorch.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
steps:
1919
# Fetch the repo first so that the gh command knows where to look for the PR
2020
- name: Fetch Repo
21-
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
21+
uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0
2222
with:
2323
token: ${{ secrets.WORKFLOW_INVOCATION_TOKEN }}
2424

.github/workflows/oneshotSnapshotPackage.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
sudo rm -rf $GITHUB_WORKSPACE/*
1919
2020
- name: Checking out repository
21-
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
21+
uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0
2222
with:
2323
token: ${{ secrets.WORKFLOW_INVOCATION_TOKEN }}
2424

@@ -35,15 +35,15 @@ jobs:
3535
git tag "${tag_name}"
3636
3737
- name: Pushing changes
38-
uses: ad-m/github-push-action@v0.8.0
38+
uses: ad-m/github-push-action@v1.0.0
3939
with:
4040
github_token: ${{ secrets.WORKFLOW_INVOCATION_TOKEN }}
4141
branch: ${{ github.ref_name }}
4242
tags: true
4343

4444
- name: Create Release
4545
id: create_release
46-
uses: ncipollo/release-action@440c8c1cb0ed28b9f43e4d1d670870f059653174 # v1.16.0
46+
uses: ncipollo/release-action@b7eabc95ff50cbeeedec83973935c8f306dfcd0b # v1.20.0
4747
with:
4848
tag: ${{ env.tag_name }}
4949
name: torch-mlir snapshot ${{ env.tag_name }}

.github/workflows/pre-commit-all.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ jobs:
88
pre-commit:
99
runs-on: ubuntu-22.04
1010
steps:
11-
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
12-
- uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5.6.0
11+
- uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0
12+
- uses: actions/setup-python@83679a892e2d95755f2dac6acb0bfd1e9ac5d548 # v6.1.0
1313
- uses: pre-commit/action@2c7b3805fd2a0fd8c1884dcaebf91fc102a13ecd # v3.0.1
1414
with:
1515
extra_args: --color=always --all-files

.github/workflows/pre-commit.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,11 @@ jobs:
77
pre-commit:
88
runs-on: ubuntu-22.04
99
steps:
10-
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
10+
- uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0
1111
with:
1212
# requites to grab the history of the PR
1313
fetch-depth: 0
14-
- uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5.6.0
14+
- uses: actions/setup-python@83679a892e2d95755f2dac6acb0bfd1e9ac5d548 # v6.1.0
1515
- uses: pre-commit/action@2c7b3805fd2a0fd8c1884dcaebf91fc102a13ecd # v3.0.1
1616
with:
1717
extra_args: --color=always --from-ref ${{ github.event.pull_request.base.sha }} --to-ref ${{ github.event.pull_request.head.sha }}

0 commit comments

Comments
 (0)