Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/assigner.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
uses: actions/checkout@v6

- name: Assign
uses: ./.github/actions/assigner
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/blossom-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,15 +50,15 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
uses: actions/checkout@v6
with:
repository: ${{ fromJson(needs.Authorization.outputs.args).repo }}
ref: ${{ fromJson(needs.Authorization.outputs.args).ref }}
lfs: 'true'

# repo specific steps
#- name: Setup java
# uses: actions/setup-java@v1
# uses: actions/setup-java@v5
# with:
# java-version: 1.8

Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/build-tensorrt-linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -114,13 +114,13 @@ jobs:
rm -rf "${RUNNER_TEMP}/*"
fi
echo "::endgroup::"
- uses: actions/checkout@v4
- uses: actions/checkout@v6
with:
# Support the use case where we need to checkout someone's fork
repository: ${{ inputs.test-infra-repository }}
ref: ${{ inputs.test-infra-ref }}
path: test-infra
- uses: actions/checkout@v4
- uses: actions/checkout@v6
if: ${{ env.ARCH == 'aarch64' }}
with:
# Support the use case where we need to checkout someone's fork
Expand Down Expand Up @@ -212,7 +212,7 @@ jobs:
# NB: Only upload to GitHub after passing smoke tests
- name: Upload wheel to GitHub
continue-on-error: true
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v6
with:
name: ${{ env.UPLOAD_ARTIFACT_NAME }}
path: ${{ inputs.repository }}/dist
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/build-tensorrt-windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ jobs:
# to have a conversation
timeout-minutes: 120
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v6
with:
# Support the use case where we need to checkout someone's fork
repository: ${{ inputs.test-infra-repository }}
Expand Down Expand Up @@ -216,7 +216,7 @@ jobs:
# NB: Only upload to GitHub after passing smoke tests
- name: Upload wheel to GitHub
continue-on-error: true
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v6
with:
name: ${{ env.UPLOAD_ARTIFACT_NAME }}
path: ${{ inputs.repository }}/dist/
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/build-test-linux-aarch64-jetpack.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,10 @@ jobs:
matrix: ${{ steps.filter.outputs.matrix }}
runs-on: ubuntu-latest
steps:
- uses: actions/setup-python@v5
- uses: actions/setup-python@v6
with:
python-version: "3.11"
- uses: actions/checkout@v4
- uses: actions/checkout@v6
with:
repository: pytorch/tensorrt
- name: Filter matrix
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/build-test-linux-aarch64.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,10 @@ jobs:
matrix: ${{ steps.filter.outputs.matrix }}
runs-on: ubuntu-latest
steps:
- uses: actions/setup-python@v5
- uses: actions/setup-python@v6
with:
python-version: "3.11"
- uses: actions/checkout@v4
- uses: actions/checkout@v6
with:
repository: pytorch/tensorrt
- name: Filter matrix
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/build-test-linux-x86_64.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,10 @@ jobs:
matrix: ${{ steps.generate.outputs.matrix }}
runs-on: ubuntu-latest
steps:
- uses: actions/setup-python@v5
- uses: actions/setup-python@v6
with:
python-version: '3.11'
- uses: actions/checkout@v4
- uses: actions/checkout@v6
with:
repository: pytorch/tensorrt
- name: Generate matrix
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/build-test-linux-x86_64_rtx.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,10 @@ jobs:
matrix: ${{ steps.generate.outputs.matrix }}
runs-on: ubuntu-latest
steps:
- uses: actions/setup-python@v5
- uses: actions/setup-python@v6
with:
python-version: '3.11'
- uses: actions/checkout@v4
- uses: actions/checkout@v6
with:
repository: pytorch/tensorrt
- name: Generate matrix
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/build-test-tensorrt-linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,10 @@ jobs:
matrix: ${{ steps.generate.outputs.matrix }}
runs-on: ubuntu-latest
steps:
- uses: actions/setup-python@v5
- uses: actions/setup-python@v6
with:
python-version: '3.11'
- uses: actions/checkout@v4
- uses: actions/checkout@v6
with:
repository: pytorch/tensorrt
- name: Generate tensorrt matrix
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/build-test-tensorrt-windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,10 @@ jobs:
matrix: ${{ steps.generate.outputs.matrix }}
runs-on: ubuntu-latest
steps:
- uses: actions/setup-python@v5
- uses: actions/setup-python@v6
with:
python-version: '3.11'
- uses: actions/checkout@v4
- uses: actions/checkout@v6
with:
repository: pytorch/tensorrt
- name: Generate tensorrt matrix
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/build-test-windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,10 @@ jobs:
matrix: ${{ steps.generate.outputs.matrix }}
runs-on: ubuntu-latest
steps:
- uses: actions/setup-python@v5
- uses: actions/setup-python@v6
with:
python-version: '3.11'
- uses: actions/checkout@v4
- uses: actions/checkout@v6
with:
repository: pytorch/tensorrt
- name: Generate matrix
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/build-test-windows_rtx.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,10 @@ jobs:
matrix: ${{ steps.generate.outputs.matrix }}
runs-on: ubuntu-latest
steps:
- uses: actions/setup-python@v5
- uses: actions/setup-python@v6
with:
python-version: '3.11'
- uses: actions/checkout@v4
- uses: actions/checkout@v6
with:
repository: pytorch/tensorrt
- name: Generate matrix
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/build_linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ jobs:
fi
echo "::endgroup::"

- uses: actions/checkout@v4
- uses: actions/checkout@v6
with:
# Support the use case where we need to checkout someone's fork
repository: ${{ inputs.test-infra-repository }}
Expand Down Expand Up @@ -381,14 +381,14 @@ jobs:
- name: Upload wheel to GitHub
if: ${{ inputs.is-release-tarball == false }}
continue-on-error: true
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v6
with:
name: ${{ env.ARTIFACT_NAME }}
path: ${{ inputs.repository }}/dist/
- name: Upload cxx11 tarball to GitHub
if: ${{ inputs.is-release-tarball == true }}
continue-on-error: true
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v6
with:
name: cxx11-tarball-${{ env.PYTHON_VERSION }}-${{ env.CU_VERSION }}
path: ${{ inputs.repository }}/release/tarball/
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/build_windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -175,15 +175,15 @@ jobs:
cmd //c .\\test-infra\\.github\\scripts\\install_xpu.bat
- name: Checkout Target Repository (${{ env.REPOSITORY }})
if: inputs.architecture == 'arm64'
uses: actions/checkout@v4
uses: actions/checkout@v6
with:
repository: ${{ env.REPOSITORY }}
ref: ${{ env.REF }}
path: ${{ env.REPOSITORY }}
submodules: recursive
- name: Bootstrap python
if: inputs.architecture == 'arm64'
uses: actions/setup-python@v5
uses: actions/setup-python@v6
with:
python-version: ${{ matrix.python_version }}
architecture: arm64
Expand Down Expand Up @@ -414,7 +414,7 @@ jobs:
- name: Upload zip artifact to GitHub
if: ${{ inputs.is-release-tarball == true }}
continue-on-error: true
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v6
with:
name: cxx11-zip-${{ env.PYTHON_VERSION }}-${{ env.CU_VERSION }}
path: ${{ inputs.repository }}/release/tarball/
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/docgen.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
CHANNEL: nightly
CI_BUILD: 1
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v6
with:
ref: ${{github.head_ref}}
token: ${{ secrets.GH_PYTORCHBOT_TOKEN }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/docker_builder.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:

steps:
- name: Checkout repository
uses: actions/checkout@v4
uses: actions/checkout@v6

- name: Fix Slashes Repo Name
id: fix_slashes
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/label.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
pull-requests: write
runs-on: ubuntu-latest
steps:
- uses: actions/labeler@v4
- uses: actions/labeler@v6
with:
repo-token: "${{ secrets.GITHUB_TOKEN }}"
configuration-path: .github/pr-labels.yml
8 changes: 4 additions & 4 deletions .github/workflows/linter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,11 @@ jobs:
security-events: none
statuses: write
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v6
with:
ref: ${{ github.event.pull_request.head.sha }}
- name: Set up Python 3.9
uses: actions/setup-python@v5
uses: actions/setup-python@v6
with:
python-version: '3.9'
- name: Setup env
Expand Down Expand Up @@ -62,11 +62,11 @@ jobs:
security-events: none
statuses: write
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v6
with:
ref: ${{ github.event.pull_request.head.sha }}
- name: Set up Python 3.9
uses: actions/setup-python@v5
uses: actions/setup-python@v6
with:
python-version: '3.9'
- name: Setup env
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/linux-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ jobs:
rm -rfv "${GITHUB_WORKSPACE}"
mkdir -p "${GITHUB_WORKSPACE}"
echo "::endgroup::"
- uses: actions/checkout@v4
- uses: actions/checkout@v6
with:
# Support the use case where we need to checkout someone's fork
repository: ${{ inputs.test-infra-repository }}
Expand Down Expand Up @@ -120,13 +120,13 @@ jobs:
script: ${{ inputs.pre-script }}
- name: Download artifacts
if: ${{ matrix.tensorrt == '' }}
uses: actions/download-artifact@v4
uses: actions/download-artifact@v7
with:
name: ${{ env.ARTIFACT_NAME }}
path: /opt/torch-tensorrt-builds/
- name: Download artifacts
if: ${{ matrix.tensorrt != '' }}
uses: actions/download-artifact@v4
uses: actions/download-artifact@v7
with:
name: ${{ env.DOWNLOAD_ARTIFACT_NAME }}
path: /opt/torch-tensorrt-builds/
Expand Down Expand Up @@ -191,7 +191,7 @@ jobs:
echo "upload-docs=${upload_docs}" >> "${GITHUB_OUTPUT}"

- name: Upload artifacts to GitHub (if any)
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v6
if: ${{ inputs.upload-artifact != '' }}
with:
name: ${{ inputs.upload-artifact }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/nightlies.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
environment: trigger-nightly
timeout-minutes: 120
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v6
with:
ref: main
token: ${{ secrets.GH_PYTORCHBOT_TOKEN }}
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/release-linux-aarch64.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,10 @@ jobs:
matrix: ${{ steps.generate.outputs.matrix }}
runs-on: ubuntu-latest
steps:
- uses: actions/setup-python@v5
- uses: actions/setup-python@v6
with:
python-version: '3.11'
- uses: actions/checkout@v4
- uses: actions/checkout@v6
with:
repository: pytorch/tensorrt
- name: Generate release matrix
Expand Down Expand Up @@ -82,10 +82,10 @@ jobs:
matrix: ${{ steps.generate.outputs.matrix }}
runs-on: ubuntu-latest
steps:
- uses: actions/setup-python@v5
- uses: actions/setup-python@v6
with:
python-version: '3.11'
- uses: actions/checkout@v4
- uses: actions/checkout@v6
with:
repository: pytorch/tensorrt
- name: Generate release matrix
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/release-linux-x86_64.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,10 @@ jobs:
matrix: ${{ steps.generate.outputs.matrix }}
runs-on: ubuntu-latest
steps:
- uses: actions/setup-python@v5
- uses: actions/setup-python@v6
with:
python-version: '3.11'
- uses: actions/checkout@v4
- uses: actions/checkout@v6
with:
repository: pytorch/tensorrt
- name: Generate release matrix
Expand Down Expand Up @@ -81,10 +81,10 @@ jobs:
matrix: ${{ steps.generate.outputs.matrix }}
runs-on: ubuntu-latest
steps:
- uses: actions/setup-python@v5
- uses: actions/setup-python@v6
with:
python-version: '3.11'
- uses: actions/checkout@v4
- uses: actions/checkout@v6
with:
repository: pytorch/tensorrt
- name: Generate release matrix
Expand Down
Loading
Loading