diff --git a/.coderabbit.yaml b/.coderabbit.yaml new file mode 100644 index 00000000000..d72700a755d --- /dev/null +++ b/.coderabbit.yaml @@ -0,0 +1,22 @@ +# SPDX-FileCopyrightText: Copyright (c) 2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. +# SPDX-License-Identifier: Apache-2.0 +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +# yaml-language-server: $schema=https://coderabbit.ai/integrations/schema.v2.json +language: "en-US" +reviews: + auto_review: + drafts: true + base_branches: ["main", "release/.+"] + commit_status: false diff --git a/.github/pull_request_template.md b/.github/pull_request_template.md index b407b662409..f4bb9f33c48 100644 --- a/.github/pull_request_template.md +++ b/.github/pull_request_template.md @@ -1,17 +1,24 @@ +@coderabbitai summary -# PR title - -Please write the PR title by following template: + + ## Description + ## Test Coverage diff --git a/jenkins/L0_Test.groovy b/jenkins/L0_Test.groovy index e097b11d245..cd057b595bd 100644 --- a/jenkins/L0_Test.groovy +++ b/jenkins/L0_Test.groovy @@ -309,6 +309,7 @@ def runLLMTestlistOnSlurm_MultiNodes(pipeline, platform, testList, config=VANILL def llmSrcLocal = "${llmPath}/TensorRT-LLM/src" def scriptRunNode = "${jobWorkspace}/slurm_run.sh" def testListPathNode = "${jobWorkspace}/${testList}.txt" + def waivesListPathNode = "${jobWorkspace}/waives.txt" def isAarch64 = config.contains("aarch64") def pytestTestTimeout = "7200" @@ -325,6 +326,10 @@ def runLLMTestlistOnSlurm_MultiNodes(pipeline, platform, testList, config=VANILL Utils.exec(pipeline, script: "chmod +x ${scriptRunLocalPath}", returnStdout: true) Utils.exec(pipeline, script: "sshpass -p '${remote.passwd}' scp -r -p -oStrictHostKeyChecking=no ${scriptRunLocalPath} ${remote.user}@${remote.host}:${scriptRunNode}",) + // Upload waives.txt to Frontend node + def waivesListLocalPath = "${llmSrcLocal}/tests/integration/test_lists/waives.txt" + Utils.exec(pipeline, script: "sshpass -p '${remote.passwd}' scp -r -p -oStrictHostKeyChecking=no ${waivesListLocalPath} ${remote.user}@${remote.host}:${waivesListPathNode}",) + // Generate Test List and Upload to Frontend Node def makoArgs = getMakoArgsFromStageName(stageName, true) // TODO: currently the options will only be processed if the first @@ -362,6 +367,7 @@ def runLLMTestlistOnSlurm_MultiNodes(pipeline, platform, testList, config=VANILL export stageName=$stageName export testList=$testList export testListPathNode=$testListPathNode + export waivesListPathNode=$waivesListPathNode export pytestTestTimeout=$pytestTestTimeout export splits=$splits export splitId=$splitId diff --git a/jenkins/scripts/slurm_run.sh b/jenkins/scripts/slurm_run.sh index 9c055d8cd34..4b6337fca5d 100755 --- a/jenkins/scripts/slurm_run.sh +++ b/jenkins/scripts/slurm_run.sh @@ -45,6 +45,7 @@ testCmdLines=( "-v" "--timeout=$pytestTestTimeout" "--test-list=$testListPathNode" + "--waives-file=$waivesListPathNode" "--rootdir $llmSrcNode/tests/integration/defs" "--test-prefix=$stageName" "--splits $splits"