diff --git a/.github/workflows/bandit-check.yml b/.github/workflows/bandit-check.yml index 086d57f85e..67af45a463 100644 --- a/.github/workflows/bandit-check.yml +++ b/.github/workflows/bandit-check.yml @@ -32,7 +32,7 @@ jobs: bandit -c bandit.yaml -r ./benchmarks/ ./scripts/ ./third_party/intel/ --exit-zero -f html -o bandit_report.html - name: Upload report to artifacts - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@v5 with: name: Bandit Report path: bandit_report.html diff --git a/.github/workflows/build-test-reusable.yml b/.github/workflows/build-test-reusable.yml index 8ef0f9a78f..6421255f06 100644 --- a/.github/workflows/build-test-reusable.yml +++ b/.github/workflows/build-test-reusable.yml @@ -170,13 +170,13 @@ jobs: dest: ${{ steps.pip-cache.outputs.dest }} - name: Upload Triton wheels - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@v5 with: name: triton-${{ inputs.python_version }}-${{ inputs.runner_label || inputs.driver_version }} path: dist/*.whl - name: Upload test reports - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@v5 with: name: test-reports-build-${{ inputs.python_version }}-${{ inputs.runner_label || inputs.driver_version }} include-hidden-files: true @@ -384,7 +384,7 @@ jobs: dest: ${{ steps.pip-cache.outputs.dest }} - name: Upload test reports - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@v5 with: name: test-reports-${{ matrix.suite }}-${{ inputs.python_version }}-${{ inputs.runner_label || inputs.driver_version }} include-hidden-files: true @@ -433,20 +433,20 @@ jobs: python scripts/pass_rate.py --reports reports --suite tutorials --json > pass_rate_tutorials.json - name: Upload pass rate report - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@v5 with: name: pass_rate-${{ inputs.python_version }}-${{ inputs.runner_label || inputs.driver_version }} path: pass_rate*.json - name: Upload tutorials test report - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@v5 with: name: test-reports-tutorials-${{ inputs.python_version }}-${{ inputs.runner_label || inputs.driver_version }} include-hidden-files: true path: reports/tutorials.xml - name: Upload tutorials performance report - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@v5 with: name: tutorials-${{ inputs.python_version }}-${{ inputs.runner_label || inputs.driver_version }} if-no-files-found: warn diff --git a/.github/workflows/build-test-windows.yml b/.github/workflows/build-test-windows.yml index 1f8a6841b8..fd73de7b94 100644 --- a/.github/workflows/build-test-windows.yml +++ b/.github/workflows/build-test-windows.yml @@ -202,13 +202,13 @@ jobs: - name: Upload pass rate report # upload reports only for the default branch if: github.ref_name == 'main' - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@v5 with: name: pass_rate path: ${{ env.NEW_WORKSPACE }}\pass_rate*.json - name: Upload tutorial performance - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@v5 with: name: tutorials-report if-no-files-found: warn diff --git a/.github/workflows/create_release.yml b/.github/workflows/create_release.yml index 61b19db3a5..242a424628 100644 --- a/.github/workflows/create_release.yml +++ b/.github/workflows/create_release.yml @@ -64,7 +64,7 @@ jobs: files: dist/${{env.RELEASE_FILE}} - name: Upload source distribution to GHA artifacts for release tags if: ${{ github.event_name == 'push' && startsWith(github.ref, 'refs/tags/v') && contains(github.ref, 'rc') }} - uses: actions/upload-artifact@v4.4.0 + uses: actions/upload-artifact@v5 with: name: ${{ env.RELEASE_FILE }} path: dist/${{ env.RELEASE_FILE }} diff --git a/.github/workflows/e2e-accuracy.yml b/.github/workflows/e2e-accuracy.yml index 356b71501a..3741b25552 100644 --- a/.github/workflows/e2e-accuracy.yml +++ b/.github/workflows/e2e-accuracy.yml @@ -168,7 +168,7 @@ jobs: --output-dir aggregated-results - name: Upload aggregated results - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@v5 if: ${{ !cancelled() }} with: name: aggregated-results-${{ github.run_id }} diff --git a/.github/workflows/e2e-reusable.yml b/.github/workflows/e2e-reusable.yml index 71446621de..b579a82909 100644 --- a/.github/workflows/e2e-reusable.yml +++ b/.github/workflows/e2e-reusable.yml @@ -277,7 +277,7 @@ jobs: fi - name: Upload test logs - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@v5 with: name: logs-${{ inputs.suite }}-${{ inputs.dtype }}-${{ inputs.mode }}-${{ inputs.test_mode }} path: inductor_log diff --git a/.github/workflows/e2e-windows.yml b/.github/workflows/e2e-windows.yml index 89f0179913..79e799d115 100644 --- a/.github/workflows/e2e-windows.yml +++ b/.github/workflows/e2e-windows.yml @@ -339,7 +339,7 @@ jobs: EOF - name: Upload test logs - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@v5 with: name: logs path: ${{ env.NEW_WORKSPACE }}\inductor_log diff --git a/.github/workflows/inductor-tests-reusable.yml b/.github/workflows/inductor-tests-reusable.yml index 34a9741dae..e4e345c0ad 100644 --- a/.github/workflows/inductor-tests-reusable.yml +++ b/.github/workflows/inductor-tests-reusable.yml @@ -102,7 +102,7 @@ jobs: - name: Upload test logs if: always() - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@v5 with: name: logs-${{ env.PYTHON_VERSION }} path: pytorch/test/test-reports diff --git a/.github/workflows/inductor-tests-windows.yml b/.github/workflows/inductor-tests-windows.yml index 9a225d4ce2..965d36f90b 100644 --- a/.github/workflows/inductor-tests-windows.yml +++ b/.github/workflows/inductor-tests-windows.yml @@ -149,7 +149,7 @@ jobs: - name: Upload test logs if: always() - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@v5 with: name: logs-${{ env.PYTHON_VERSION }} path: ${{ env.NEW_WORKSPACE }}\pytorch\test\test-reports diff --git a/.github/workflows/llvm-build.yml b/.github/workflows/llvm-build.yml index 8158acebde..17e1cf219a 100644 --- a/.github/workflows/llvm-build.yml +++ b/.github/workflows/llvm-build.yml @@ -258,7 +258,7 @@ jobs: docker rm "${CONTAINER_ID}" - name: Upload Build Artifacts - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@v5 with: name: llvm-${{ matrix.config.target-os }}-${{ matrix.config.arch }} path: | diff --git a/.github/workflows/nightly-wheels.yml b/.github/workflows/nightly-wheels.yml index 92425399b8..43bcb74a6e 100644 --- a/.github/workflows/nightly-wheels.yml +++ b/.github/workflows/nightly-wheels.yml @@ -139,7 +139,7 @@ jobs: EOF - name: Upload PyTorch wheels to artifacts - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@v5 with: name: wheels-pytorch-py${{ matrix.python }}-${{ env.TIMESTAMP }} path: wheels diff --git a/.github/workflows/pip-test-windows.yml b/.github/workflows/pip-test-windows.yml index e6f0f66874..854a9e11c2 100644 --- a/.github/workflows/pip-test-windows.yml +++ b/.github/workflows/pip-test-windows.yml @@ -171,7 +171,7 @@ jobs: - name: Upload pass rate report # upload reports only for the default branch if: github.ref_name == 'main' - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@v5 with: name: pass_rate path: ${{ env.NEW_WORKSPACE }}\pass_rate*.json diff --git a/.github/workflows/third-party-benchmarks.yml b/.github/workflows/third-party-benchmarks.yml index 59a1a9158f..adb174f7c0 100644 --- a/.github/workflows/third-party-benchmarks.yml +++ b/.github/workflows/third-party-benchmarks.yml @@ -156,7 +156,7 @@ jobs: - name: Upload benchmark reports if: ${{ steps.install.outcome == 'success' && !cancelled() }} - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@v5 with: name: benchmark-reports path: reports diff --git a/.github/workflows/third-party-tests.yml b/.github/workflows/third-party-tests.yml index 2dac6d56ba..68a65e29c1 100644 --- a/.github/workflows/third-party-tests.yml +++ b/.github/workflows/third-party-tests.yml @@ -85,7 +85,7 @@ jobs: - name: Upload test report if: ${{ steps.install.outcome == 'success' && !cancelled() }} - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@v5 with: name: test-main-reports path: reports @@ -141,7 +141,7 @@ jobs: - name: Upload test report if: ${{ steps.install.outcome == 'success' && !cancelled() }} - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@v5 with: name: test-liger-reports path: reports diff --git a/.github/workflows/triton-benchmarks.yml b/.github/workflows/triton-benchmarks.yml index f675fc1c98..e92c1084a0 100644 --- a/.github/workflows/triton-benchmarks.yml +++ b/.github/workflows/triton-benchmarks.yml @@ -373,7 +373,7 @@ jobs: - name: Upload benchmark reports if: ${{ steps.install.outcome == 'success' && !cancelled() }} - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@v5 with: name: benchmark-reports path: reports diff --git a/.github/workflows/wheels-pytorch.yml b/.github/workflows/wheels-pytorch.yml index fdd74fc08b..2ddca368be 100644 --- a/.github/workflows/wheels-pytorch.yml +++ b/.github/workflows/wheels-pytorch.yml @@ -121,7 +121,7 @@ jobs: echo "WHEELS_NAME=$WHEELS_NAME" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append - name: Upload wheels - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@v5 with: name: ${{ env.WHEELS_NAME }} path: ${{ env.NEW_WORKSPACE }}\pytorch\wheelhouse\*.whl diff --git a/.github/workflows/wheels-triton.yml b/.github/workflows/wheels-triton.yml index 2e18abc7c0..0656129f73 100644 --- a/.github/workflows/wheels-triton.yml +++ b/.github/workflows/wheels-triton.yml @@ -81,7 +81,7 @@ jobs: echo "WHEELS_NAME=$WHEELS_NAME" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append - name: Upload wheels - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@v5 with: name: ${{ env.WHEELS_NAME }} path: ${{ env.NEW_WORKSPACE }}\wheelhouse\*.whl diff --git a/.github/workflows/wheels.yml b/.github/workflows/wheels.yml index 6f077c6a99..151f561a4e 100644 --- a/.github/workflows/wheels.yml +++ b/.github/workflows/wheels.yml @@ -93,7 +93,7 @@ jobs: export CIBW_ENABLE=cpython-freethreading python3 -m cibuildwheel . --output-dir wheelhouse - - uses: actions/upload-artifact@v4 + - uses: actions/upload-artifact@v5 with: name: cibw-wheels-manylinux_2_28_${{ matrix.config.arch }}-wheels-upload path: ./wheelhouse/*.whl