Skip to content

Commit 019b233

Browse files
committed
Merge remote-tracking branch 'upstream/master' into feature/epoch-metric-output-types
2 parents 527ba2a + d520864 commit 019b233

25 files changed

Lines changed: 596 additions & 65 deletions

.github/workflows/binaries-nightly-release.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,10 @@ jobs:
1111
build-publish:
1212
runs-on: ubuntu-latest
1313
steps:
14-
- uses: actions/checkout@v6
14+
- uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
1515

1616
- name: Setup Miniconda
17-
uses: conda-incubator/setup-miniconda@v4
17+
uses: conda-incubator/setup-miniconda@8ee1f361103df19b6f8c8655fd3967a8ecb162d5 # v4.0.1
1818
with:
1919
miniconda-version: "latest"
2020
python-version: "3.13"
@@ -53,7 +53,7 @@ jobs:
5353
twine check dist/*
5454
TWINE_USERNAME="${{ secrets.PYPI_USER }}" TWINE_PASSWORD="${{ secrets.PYPI_TOKEN }}" twine upload --verbose dist/*
5555
56-
- uses: JasonEtco/create-an-issue@v2
56+
- uses: JasonEtco/create-an-issue@1b14a70e4d8dc185e5cc76d3bec9eab20257b2c5 # v2.9.2
5757
name: Create issue if nightly releases failed
5858
if: failure()
5959
env:

.github/workflows/code-style-checks.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,14 +46,14 @@ jobs:
4646
python-version: ["3.10", "3.13"]
4747

4848
steps:
49-
- uses: actions/checkout@v6
49+
- uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
5050

5151
- name: Get year & week number
5252
id: get-date
5353
run: |
5454
echo "date=$(/bin/date "+%Y-%U")" >> $GITHUB_OUTPUT
5555
56-
- uses: astral-sh/setup-uv@v7
56+
- uses: astral-sh/setup-uv@37802adc94f370d6bfd71619e3f0bf239e1f3b78 # v7.6.0
5757
with:
5858
version: "latest"
5959
python-version: ${{ matrix.python-version }}

.github/workflows/discord_issues.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
steps:
2020
- name: "Discuss on Discord-Issues"
2121
if: ${{ github.event.label.name == 'help wanted' }}
22-
uses: EndBug/discuss-on-discord@v1.1.0
22+
uses: EndBug/discuss-on-discord@bff2908cbd855fff72c1007aed386e09144727e1 # v1.1.0
2323
with:
2424
discord_bot_token: ${{ secrets.DISCORD_BOT_TOKEN }}
2525
destination: ${{ secrets.DISCORD_BOT_DESTINATION }}

.github/workflows/discord_pull_requests.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
steps:
2020
- name: "Discuss on Discord-PR (Non-maintainer only)"
2121
if: ${{ github.event.label.name == 'help wanted' }}
22-
uses: EndBug/discuss-on-discord@v1.1.0
22+
uses: EndBug/discuss-on-discord@bff2908cbd855fff72c1007aed386e09144727e1 # v1.1.0
2323
with:
2424
discord_bot_token: ${{ secrets.DISCORD_BOT_TOKEN }}
2525
destination: ${{ secrets.DISCORD_BOT_DESTINATION }}

.github/workflows/docker-build.yml

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -24,11 +24,11 @@ jobs:
2424
hvd_version: ${{ steps.set-versions.outputs.hvd_version }}
2525
msdp_version: ${{ steps.set-versions.outputs.msdp_version }}
2626
steps:
27-
- uses: actions/checkout@v6
27+
- uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
2828
- name: Changed Files Exporter
2929
if: github.event_name == 'pull_request'
3030
id: files
31-
uses: umani/changed-files@v4.2.0
31+
uses: umani/changed-files@138acc60bcaa548e0c194fc69ed36321ee8466d2 # v4.2.0
3232
with:
3333
repo-token: ${{ secrets.GITHUB_TOKEN }}
3434
- name: Get a list of modified files
@@ -63,7 +63,7 @@ jobs:
6363
echo "::endgroup::"
6464
6565
- name: Checkout repository (pytorch/test-infra)
66-
uses: actions/checkout@v6
66+
uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
6767
with:
6868
# Support the use case where we need to checkout someone's fork
6969
repository: pytorch/test-infra
@@ -73,7 +73,7 @@ jobs:
7373
uses: ./test-infra/.github/actions/setup-linux
7474

7575
- name: Checkout repository (${{ github.repository }})
76-
uses: actions/checkout@v6
76+
uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
7777
with:
7878
# Support the use case where we need to checkout someone's fork
7979
repository: ${{ github.repository }}
@@ -122,7 +122,7 @@ jobs:
122122
echo "::endgroup::"
123123
124124
- name: Checkout repository (pytorch/test-infra)
125-
uses: actions/checkout@v6
125+
uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
126126
with:
127127
# Support the use case where we need to checkout someone's fork
128128
repository: pytorch/test-infra
@@ -132,7 +132,7 @@ jobs:
132132
uses: ./test-infra/.github/actions/setup-linux
133133

134134
- name: Checkout repository (${{ github.repository }})
135-
uses: actions/checkout@v6
135+
uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
136136
with:
137137
# Support the use case where we need to checkout someone's fork
138138
repository: ${{ github.repository }}
@@ -181,7 +181,7 @@ jobs:
181181
echo "::endgroup::"
182182
183183
- name: Checkout repository (pytorch/test-infra)
184-
uses: actions/checkout@v6
184+
uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
185185
with:
186186
# Support the use case where we need to checkout someone's fork
187187
repository: pytorch/test-infra
@@ -191,7 +191,7 @@ jobs:
191191
uses: ./test-infra/.github/actions/setup-linux
192192

193193
- name: Checkout repository (${{ github.repository }})
194-
uses: actions/checkout@v6
194+
uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
195195
with:
196196
# Support the use case where we need to checkout someone's fork
197197
repository: ${{ github.repository }}
@@ -240,7 +240,7 @@ jobs:
240240
echo "::endgroup::"
241241
242242
- name: Checkout repository (pytorch/test-infra)
243-
uses: actions/checkout@v6
243+
uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
244244
with:
245245
# Support the use case where we need to checkout someone's fork
246246
repository: pytorch/test-infra
@@ -250,7 +250,7 @@ jobs:
250250
uses: ./test-infra/.github/actions/setup-linux
251251

252252
- name: Checkout repository (${{ github.repository }})
253-
uses: actions/checkout@v6
253+
uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
254254
with:
255255
# Support the use case where we need to checkout someone's fork
256256
repository: ${{ github.repository }}

.github/workflows/docs.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -25,14 +25,14 @@ jobs:
2525
os: ["ubuntu-latest"]
2626
python-version: ["3.10"]
2727
steps:
28-
- uses: actions/checkout@v6
28+
- uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
2929

3030
- name: Get year & week number
3131
id: get-date
3232
run: |
3333
echo "date=$(/bin/date "+%Y-%U")" >> $GITHUB_OUTPUT
3434
35-
- uses: astral-sh/setup-uv@v7
35+
- uses: astral-sh/setup-uv@37802adc94f370d6bfd71619e3f0bf239e1f3b78 # v7.6.0
3636
with:
3737
version: "latest"
3838
python-version: "${{ matrix.python-version }}"
@@ -53,7 +53,7 @@ jobs:
5353
run: bash .github/workflows/build_docs.sh
5454

5555
- name: Deploy docs
56-
uses: peaceiris/actions-gh-pages@v4
56+
uses: peaceiris/actions-gh-pages@84c30a85c19949d7eee79c4ff27748b70285e453 # v4.1.0
5757
with:
5858
github_token: ${{ secrets.GITHUB_TOKEN }}
5959
publish_dir: docs/build/html
@@ -72,14 +72,14 @@ jobs:
7272
os: ["ubuntu-latest"]
7373
python-version: ["3.10"]
7474
steps:
75-
- uses: actions/checkout@v6
75+
- uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
7676

7777
- name: Get year & week number
7878
id: get-date
7979
run: |
8080
echo "date=$(/bin/date "+%Y-%U")" >> $GITHUB_OUTPUT
8181
82-
- uses: astral-sh/setup-uv@v7
82+
- uses: astral-sh/setup-uv@37802adc94f370d6bfd71619e3f0bf239e1f3b78 # v7.6.0
8383
with:
8484
version: "latest"
8585
python-version: ${{ matrix.python-version }}
@@ -95,7 +95,7 @@ jobs:
9595
run: bash .github/workflows/install_docs_deps.sh
9696

9797
- name: make linkcheck
98-
uses: nick-fields/retry@v4.0.0
98+
uses: nick-fields/retry@ad984534de44a9489a53aefd81eb77f87c70dc60 # v4.0.0
9999
with:
100100
max_attempts: 3
101101
timeout_minutes: 10
@@ -111,14 +111,14 @@ jobs:
111111
os: ["ubuntu-latest"]
112112
python-version: ["3.10"]
113113
steps:
114-
- uses: actions/checkout@v6
114+
- uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
115115

116116
- name: Get year & week number
117117
id: get-date
118118
run: |
119119
echo "date=$(/bin/date "+%Y-%U")" >> $GITHUB_OUTPUT
120120
121-
- uses: astral-sh/setup-uv@v7
121+
- uses: astral-sh/setup-uv@37802adc94f370d6bfd71619e3f0bf239e1f3b78 # v7.6.0
122122
with:
123123
version: "latest"
124124
python-version: "${{ matrix.python-version }}"

.github/workflows/gpu-hvd-tests.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ jobs:
3939
echo "::endgroup::"
4040
4141
- name: Checkout repository (pytorch/test-infra)
42-
uses: actions/checkout@v6
42+
uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
4343
with:
4444
# Support the use case where we need to checkout someone's fork
4545
repository: pytorch/test-infra
@@ -54,7 +54,7 @@ jobs:
5454
docker-image: ${{ env.DOCKER_IMAGE }}
5555

5656
- name: Checkout repository (${{ github.repository }})
57-
uses: actions/checkout@v6
57+
uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
5858
with:
5959
# Support the use case where we need to checkout someone's fork
6060
repository: ${{ github.repository }}
@@ -163,7 +163,7 @@ jobs:
163163
docker exec -t pthd /bin/bash -c "${script}"
164164
165165
- name: Upload coverage to Codecov
166-
uses: codecov/codecov-action@v6
166+
uses: codecov/codecov-action@e79a6962e0d4c0c17b229090214935d2e33f8354 # v6.0.1
167167
with:
168168
files: ${{ github.repository }}/coverage.xml
169169
flags: gpu-2

.github/workflows/gpu-tests.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ jobs:
3939
echo "::endgroup::"
4040
4141
- name: Checkout repository (pytorch/test-infra)
42-
uses: actions/checkout@v6
42+
uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
4343
with:
4444
# Support the use case where we need to checkout someone's fork
4545
repository: pytorch/test-infra
@@ -54,7 +54,7 @@ jobs:
5454
docker-image: ${{ env.DOCKER_IMAGE }}
5555

5656
- name: Checkout repository (${{ github.repository }})
57-
uses: actions/checkout@v6
57+
uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
5858
with:
5959
# Support the use case where we need to checkout someone's fork
6060
repository: ${{ github.repository }}
@@ -124,7 +124,7 @@ jobs:
124124
125125
- name: Run GPU Unit Tests
126126
continue-on-error: false
127-
uses: nick-fields/retry@v4.0.0
127+
uses: nick-fields/retry@ad984534de44a9489a53aefd81eb77f87c70dc60 # v4.0.0
128128
with:
129129
max_attempts: 5
130130
timeout_minutes: 45
@@ -133,7 +133,7 @@ jobs:
133133
new_command_on_retry: docker exec -e USE_LAST_FAILED=1 -t pthd /bin/bash -xec 'bash tests/run_gpu_tests.sh 4'
134134

135135
- name: Upload coverage to Codecov
136-
uses: codecov/codecov-action@v6
136+
uses: codecov/codecov-action@e79a6962e0d4c0c17b229090214935d2e33f8354 # v6.0.1
137137
with:
138138
files: ${{ github.repository }}/coverage.xml
139139
flags: gpu-2

.github/workflows/hvd-tests.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -33,14 +33,14 @@ jobs:
3333
pytorch-channel: [pytorch]
3434

3535
steps:
36-
- uses: actions/checkout@v6
36+
- uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
3737

3838
- name: Get year & week number
3939
id: get-date
4040
run: echo "date=$(/bin/date "+%Y-%U")" >> $GITHUB_OUTPUT
4141
shell: bash -l {0}
4242

43-
- uses: astral-sh/setup-uv@v7
43+
- uses: astral-sh/setup-uv@37802adc94f370d6bfd71619e3f0bf239e1f3b78 # v7.6.0
4444
with:
4545
version: "latest"
4646
python-version: ${{ matrix.python-version }}
@@ -79,12 +79,12 @@ jobs:
7979
# Download MNIST: https://github.com/pytorch/ignite/issues/1737
8080
# to "/tmp" for cpu tests
8181
- name: Download MNIST
82-
uses: pytorch-ignite/download-mnist-github-action@master
82+
uses: pytorch-ignite/download-mnist-github-action@622fc8c4ff50b24322819f54f48624f26932892b # master
8383
with:
8484
target_dir: /tmp
8585

8686
- name: Run Tests
87-
uses: nick-fields/retry@v4.0.0
87+
uses: nick-fields/retry@ad984534de44a9489a53aefd81eb77f87c70dc60 # v4.0.0
8888
with:
8989
max_attempts: 3
9090
timeout_minutes: 40
@@ -93,7 +93,7 @@ jobs:
9393
new_command_on_retry: USE_LAST_FAILED=1 USE_XDIST=0 bash tests/run_cpu_tests.sh
9494

9595
- name: Upload coverage to Codecov
96-
uses: codecov/codecov-action@v6
96+
uses: codecov/codecov-action@e79a6962e0d4c0c17b229090214935d2e33f8354 # v6.0.1
9797
with:
9898
files: ./coverage.xml
9999
flags: hvd-cpu

.github/workflows/mps-tests.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -49,14 +49,14 @@ jobs:
4949
echo "::endgroup::"
5050
5151
- name: Checkout repository (pytorch/test-infra)
52-
uses: actions/checkout@v6
52+
uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
5353
with:
5454
# Support the use case where we need to checkout someone's fork
5555
repository: pytorch/test-infra
5656
path: test-infra
5757

5858
- name: Checkout repository (${{ github.repository }})
59-
uses: actions/checkout@v6
59+
uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
6060
with:
6161
# Support the use case where we need to checkout someone's fork
6262
repository: ${{ github.repository }}
@@ -117,7 +117,7 @@ jobs:
117117
# Download MNIST: https://github.com/pytorch/ignite/issues/1737
118118
# to "/tmp" for unit tests
119119
- name: Download MNIST
120-
uses: pytorch-ignite/download-mnist-github-action@master
120+
uses: pytorch-ignite/download-mnist-github-action@622fc8c4ff50b24322819f54f48624f26932892b # master
121121
with:
122122
target_dir: /tmp
123123

@@ -135,7 +135,7 @@ jobs:
135135
SKIP_DISTRIB_TESTS=${{ matrix.skip-distrib-tests }} bash tests/run_cpu_tests.sh
136136
137137
- name: Upload coverage to Codecov
138-
uses: codecov/codecov-action@v6
138+
uses: codecov/codecov-action@e79a6962e0d4c0c17b229090214935d2e33f8354 # v6.0.1
139139
with:
140140
files: ${{ github.repository }}/coverage.xml
141141
flags: mps

0 commit comments

Comments
 (0)