Skip to content

Commit c26a8f7

Browse files
authored
[TRTINFRA-7379][infra] Change SLURM config access to use resolvePlatform (#11006)
Signed-off-by: Matt Lefebvre <mlefebvre@nvidia.com>
1 parent 6c1862f commit c26a8f7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

jenkins/L0_Test.groovy

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -548,7 +548,7 @@ def cleanUpNodeResources(def pipeline, SlurmCluster cluster, String nodeName, St
548548

549549
def runLLMTestlistWithAgent(pipeline, platform, testList, config=VANILLA_CONFIG, perfMode=false, stageName="Undefined", splitId=1, splits=1, gpuCount=1, skipInstallWheel=false, cpver="cp312")
550550
{
551-
SlurmPartition partition = SlurmConfig.partitionConfig[platform] as SlurmPartition
551+
SlurmPartition partition = SlurmConfig.resolvePlatform(platform)
552552
SlurmCluster cluster = SlurmConfig.clusterConfig[partition.clusterName]
553553

554554
def entrypoint = SlurmConfig.containerRuntimeToEntrypoint[cluster.containerRuntime]
@@ -912,7 +912,7 @@ def getMountListForSlurmTest(SlurmCluster cluster, boolean useSbatch = false)
912912

913913
def runLLMTestlistWithSbatch(pipeline, platform, testList, config=VANILLA_CONFIG, perfMode=false, stageName="Undefined", splitId=1, splits=1, gpuCount=1, nodeCount=1, skipInstallWheel=false, cpver="cp312")
914914
{
915-
SlurmPartition partition = SlurmConfig.partitionConfig[platform] as SlurmPartition
915+
SlurmPartition partition = SlurmConfig.resolvePlatform(platform)
916916
SlurmCluster cluster = SlurmConfig.clusterConfig[partition.clusterName]
917917

918918
// Create a unique suffix for the job name

0 commit comments

Comments
 (0)