Skip to content

Commit 74de927

Browse files
Merge remote-tracking branch 'upstream/main'
2 parents 0cd927d + 2114dc7 commit 74de927

File tree

868 files changed

+1204836
-18566
lines changed

Some content is hidden

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

868 files changed

+1204836
-18566
lines changed

.clang-format

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,7 @@ SpacesInContainerLiterals: true
7474
SpacesInParentheses: false
7575
SpacesInSquareBrackets: false
7676
Standard: Cpp11
77+
StatementMacros: [API_ENTRY_TRY,TRT_TRY]
7778
TabWidth: 4
7879
UseTab: Never
7980
...

.github/CODEOWNERS

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
# This file defines code ownership rules for the repository.
2+
3+
# Default ownership
4+
* @NVIDIA/trt-devs

.github/workflows/blossom-ci.yml

Lines changed: 35 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -1,39 +1,43 @@
1-
# Copyright (c) 2020-2021, NVIDIA CORPORATION.
1+
#
2+
# SPDX-FileCopyrightText: Copyright (c) 1993-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
3+
# SPDX-License-Identifier: Apache-2.0
24
#
35
# Licensed under the Apache License, Version 2.0 (the "License");
46
# you may not use this file except in compliance with the License.
57
# You may obtain a copy of the License at
68
#
7-
# http://www.apache.org/licenses/LICENSE-2.0
9+
# http://www.apache.org/licenses/LICENSE-2.0
810
#
911
# Unless required by applicable law or agreed to in writing, software
1012
# distributed under the License is distributed on an "AS IS" BASIS,
1113
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1214
# See the License for the specific language governing permissions and
1315
# limitations under the License.
16+
#
1417

1518
# A workflow to trigger ci on hybrid infra (github + self hosted runner)
1619
name: Blossom-CI
1720
on:
1821
issue_comment:
1922
types: [created]
2023
workflow_dispatch:
21-
inputs:
22-
platform:
23-
description: 'runs-on argument'
24-
required: false
25-
args:
26-
description: 'argument'
27-
required: false
24+
inputs:
25+
platform:
26+
description: "runs-on argument"
27+
required: false
28+
args:
29+
description: "argument"
30+
required: false
2831
jobs:
2932
Authorization:
3033
name: Authorization
31-
runs-on: blossom
34+
runs-on: blossom
3235
outputs:
3336
args: ${{ env.args }}
34-
37+
3538
# This job only runs for pull request comments
3639
if: |
40+
<<<<<<< HEAD
3741
github.event.comment.body == '/blossom-ci' &&
3842
(
3943
github.actor == 'rajeevsrao' ||
@@ -43,14 +47,26 @@ jobs:
4347
github.actor == 'zerollzeng' ||
4448
github.actor == 'nvpohanh'
4549
)
50+
=======
51+
github.event.comment.body == '/blossom-ci' &&
52+
(
53+
github.actor == 'rajeevsrao' ||
54+
github.actor == 'kevinch-nv' ||
55+
github.actor == 'ttyio' ||
56+
github.actor == 'samurdhikaru' ||
57+
github.actor == 'zerollzeng' ||
58+
github.actor == 'nvpohanh' ||
59+
github.actor == 'poweiw'
60+
)
61+
>>>>>>> upstream/main
4662
steps:
4763
- name: Check if comment is issued by authorized person
4864
run: blossom-ci
4965
env:
50-
OPERATION: 'AUTH'
66+
OPERATION: "AUTH"
5167
REPO_TOKEN: ${{ secrets.GITHUB_TOKEN }}
5268
REPO_KEY_DATA: ${{ secrets.BLOSSOM_KEY }}
53-
69+
5470
Vulnerability-scan:
5571
name: Vulnerability scan
5672
needs: [Authorization]
@@ -61,21 +77,7 @@ jobs:
6177
with:
6278
repository: ${{ fromJson(needs.Authorization.outputs.args).repo }}
6379
ref: ${{ fromJson(needs.Authorization.outputs.args).ref }}
64-
lfs: 'true'
65-
66-
# repo specific steps
67-
#- name: Setup java
68-
# uses: actions/setup-java@v1
69-
# with:
70-
# java-version: 1.8
71-
72-
# add blackduck properties https://synopsys.atlassian.net/wiki/spaces/INTDOCS/pages/631308372/Methods+for+Configuring+Analysis#Using-a-configuration-file
73-
#- name: Setup blackduck properties
74-
# run: |
75-
# PROJECTS=$(mvn -am dependency:tree | grep maven-dependency-plugin | awk '{ out="com.nvidia:"$(NF-1);print out }' | grep rapids | xargs | sed -e 's/ /,/g')
76-
# echo detect.maven.build.command="-pl=$PROJECTS -am" >> application.properties
77-
# echo detect.maven.included.scopes=compile >> application.properties
78-
80+
lfs: "true"
7981
- name: Run blossom action
8082
uses: NVIDIA/blossom-action@main
8183
env:
@@ -85,7 +87,7 @@ jobs:
8587
args1: ${{ fromJson(needs.Authorization.outputs.args).args1 }}
8688
args2: ${{ fromJson(needs.Authorization.outputs.args).args2 }}
8789
args3: ${{ fromJson(needs.Authorization.outputs.args).args3 }}
88-
90+
8991
Job-trigger:
9092
name: Start ci job
9193
needs: [Vulnerability-scan]
@@ -94,18 +96,18 @@ jobs:
9496
- name: Start ci job
9597
run: blossom-ci
9698
env:
97-
OPERATION: 'START-CI-JOB'
99+
OPERATION: "START-CI-JOB"
98100
CI_SERVER: ${{ secrets.CI_SERVER }}
99101
REPO_TOKEN: ${{ secrets.GITHUB_TOKEN }}
100-
102+
101103
Upload-Log:
102104
name: Upload log
103105
runs-on: blossom
104-
if : github.event_name == 'workflow_dispatch'
106+
if: github.event_name == 'workflow_dispatch'
105107
steps:
106108
- name: Jenkins log for pull request ${{ fromJson(github.event.inputs.args).pr }} (click here)
107109
run: blossom-ci
108110
env:
109-
OPERATION: 'POST-PROCESSING'
111+
OPERATION: "POST-PROCESSING"
110112
CI_SERVER: ${{ secrets.CI_SERVER }}
111113
REPO_TOKEN: ${{ secrets.GITHUB_TOKEN }}

.github/workflows/feedback-update.yml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
name: Remove feedback label on comment
2+
3+
on:
4+
issue_comment:
5+
types: [created]
6+
7+
jobs:
8+
remove_label:
9+
runs-on: ubuntu-latest
10+
if: github.event.issue.user.id == github.event.comment.user.id
11+
steps:
12+
- uses: actions/checkout@v2
13+
- uses: actions-ecosystem/action-remove-labels@v1
14+
with:
15+
github_token: ${{ secrets.GITHUB_TOKEN }}
16+
labels: "waiting for feedback"

.github/workflows/label_issue.yml

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
name: Label New Issues
2+
3+
on:
4+
issues:
5+
types: [opened]
6+
7+
permissions:
8+
issues: write
9+
contents: read
10+
11+
jobs:
12+
label-issue:
13+
runs-on: ubuntu-latest
14+
steps:
15+
- name: Checkout private action repository
16+
uses: actions/checkout@v4
17+
with:
18+
repository: poweiw/goggles_action
19+
path: ./.github/actions/goggles_action # local path to store the action
20+
token: ${{ secrets.ACTION_REPO_PAT }} # token to access poweiw/goggles_action
21+
ref: v1.0.1
22+
23+
- name: AI Label Issue
24+
uses: ./.github/actions/goggles_action/actions/llm_label
25+
with:
26+
ACTION_TOKEN: ${{ secrets.GITHUB_TOKEN }}
27+
LLM_MODEL_NAME: ${{ secrets.LLM_MODEL_NAME }}
28+
LLM_TOKEN_SERVER_URL: ${{ secrets.LLM_TOKEN_SERVER_URL }}
29+
LLM_TOKEN_CLIENT_ID: ${{ secrets.LLM_TOKEN_CLIENT_ID }}
30+
LLM_TOKEN_CLIENT_SECRET: ${{ secrets.LLM_TOKEN_CLIENT_SECRET }}
31+
LLM_GENERATE_URL: ${{ secrets.LLM_GENERATE_URL }}
32+
LLM_TOKEN_SCOPE: ${{ secrets.LLM_TOKEN_SCOPE }}
33+
REPO_OWNER: ${{ github.repository_owner }}
34+
REPO_NAME: ${{ github.event.repository.name }}
35+
ISSUE_NUMBER: ${{ github.event.issue.number }}
36+
ISSUE_TITLE: ${{ github.event.issue.title }}
37+
ISSUE_BODY: ${{ github.event.issue.body }}
38+
GITHUB_API_URL: ${{ github.api_url }}
39+
ACTIONS_STEP_VERBOSE: false

.github/workflows/stale.yml

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
name: Label and close inactive issues
2+
on:
3+
workflow_dispatch:
4+
schedule:
5+
- cron: "0 * * * *"
6+
7+
jobs:
8+
stale:
9+
runs-on: ubuntu-latest
10+
permissions:
11+
issues: write
12+
pull-requests: write
13+
14+
steps:
15+
- uses: actions/stale@v9
16+
with:
17+
repo-token: ${{ secrets.GITHUB_TOKEN }}
18+
stale-issue-message: 'Issue has not received an update in over 14 days. Adding stale label. Please note the issue will be closed in 14 days after being marked stale if there is no update.'
19+
stale-pr-message: 'PR has not received an update in over 14 days. Adding stale label. Please note the PR will be closed in 14 days after being marked stale if there is no update.'
20+
close-issue-message: 'This issue was closed because it has been 14 days without activity since it has been marked as stale.'
21+
close-pr-message: 'This PR was closed because it has been 14 days without activity since it has been marked as stale.'
22+
days-before-issue-stale: 14
23+
days-before-close: 14
24+
only-labels: 'waiting for feedback'
25+
labels-to-add-when-unstale: 'investigating'
26+
labels-to-remove-when-unstale: 'stale,waiting for feedback'
27+
stale-issue-label: 'stale'
28+
stale-pr-label: 'stale'

.gitignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ build/
33
/demo/BERT/engines
44
/demo/BERT/squad/*.json
55
/docker/jetpack_files/*
6-
*.nvmk
76
*.sln
87
*.vcxproj
98
externals/

.gitmodules

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,4 @@
99
[submodule "parsers/onnx"]
1010
path = parsers/onnx
1111
url = https://github.com/onnx/onnx-tensorrt.git
12-
branch = main
12+
branch = release/10.7-GA

0 commit comments

Comments
 (0)