|
| 1 | +/* |
| 2 | + * Copyright (c) 2026, NVIDIA CORPORATION. All rights reserved. |
| 3 | + * |
| 4 | + * Licensed under the Apache License, Version 2.0 (the "License"); |
| 5 | + * you may not use this file except in compliance with the License. |
| 6 | + * You may obtain a copy of the License at |
| 7 | + * |
| 8 | + * http://www.apache.org/licenses/LICENSE-2.0 |
| 9 | + * |
| 10 | + * Unless required by applicable law or agreed to in writing, software |
| 11 | + * distributed under the License is distributed on an "AS IS" BASIS, |
| 12 | + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 13 | + * See the License for the specific language governing permissions and |
| 14 | + * limitations under the License. |
| 15 | + */ |
| 16 | + |
1 | 17 | @Library(['bloom-jenkins-shared-lib@main', 'trtllm-jenkins-shared-lib@main']) _ |
2 | 18 |
|
3 | 19 | import java.lang.InterruptedException |
@@ -964,6 +980,8 @@ def getMountListForSlurmTest(SlurmCluster cluster, boolean useSbatch = false) |
964 | 980 | throw new Exception("Unsupported container runtime: ${cluster.containerRuntime}") |
965 | 981 | } |
966 | 982 |
|
| 983 | + // TODO: Add mounts for different cache directories like pip, triton, etc. |
| 984 | + |
967 | 985 | return mounts |
968 | 986 | } |
969 | 987 |
|
@@ -1183,6 +1201,7 @@ def runLLMTestlistWithSbatch(pipeline, platform, testList, config=VANILLA_CONFIG |
1183 | 1201 | "--container-image=$containerImageArg", |
1184 | 1202 | "--container-workdir=$jobWorkspace", |
1185 | 1203 | "--container-mounts=$mounts", |
| 1204 | + "--no-container-mount-home", |
1186 | 1205 | "--container-env=NVIDIA_IMEX_CHANNELS" |
1187 | 1206 | ] |
1188 | 1207 | envVarsToExport.each { varName, varValue -> |
|
0 commit comments