Skip to content
Merged
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
4 changes: 2 additions & 2 deletions jenkins/L0_Test.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -1694,12 +1694,12 @@ def getMakoOpts(getMakoScript, makoArgs=[]) {

def parseMultiNodeTaskConfigFromStageName(String stageName) {
def taskConfig = null
def matcher = (stageName =~ /([^-]+)-(\d+)_GPUs-(\d+)_Nodes/)
def matcher = (stageName =~ /([^-]+)-(\d+)_GPUs(?:-(\d+)_Nodes)?/)
if (matcher.find()) {
taskConfig = [
gpu: "${matcher.group(1)}",
system_gpu_count: "${matcher.group(2)}",
node_count: "${matcher.group(3)}" // "node_count" might not be used currently
node_count: matcher.group(3) ?: "1" // Default to 1 if _Nodes not present
]
}
return taskConfig
Expand Down