Skip to content

Commit 930cdad

Browse files
[TRTLLM-9541][infra] Use artifactory mirror for download.pytorch.org (#9477)
Signed-off-by: ZhanruiSunCh <[email protected]> Signed-off-by: Zhanrui Sun <[email protected]> Co-authored-by: Yanchao Lu <[email protected]>
1 parent 5eae365 commit 930cdad

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

jenkins/L0_Test.groovy

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3023,7 +3023,13 @@ def launchTestJobs(pipeline, testFilter)
30233023
// Extra PyTorch CUDA 13.0 install for all bare-metal environments (Default PyTorch is for CUDA 12.8)
30243024
if (values[6]) {
30253025
echo "###### Extra PyTorch CUDA 13.0 install Start ######"
3026-
trtllm_utils.llmExecStepWithRetry(pipeline, script: "pip3 install torch==2.9.0 torchvision --index-url https://download.pytorch.org/whl/cu130")
3026+
// Use internal mirror instead of https://download.pytorch.org/whl/cu130 for better network stability.
3027+
// PyTorch CUDA 13.0 package and torchvision package can be installed as expected.
3028+
if (k8s_arch == "amd64") {
3029+
trtllm_utils.llmExecStepWithRetry(pipeline, script: "pip3 install torch==2.9.0+cu130 torchvision==0.24.0+cu130 --extra-index-url https://urm.nvidia.com/artifactory/api/pypi/pytorch-cu128-remote/simple")
3030+
} else {
3031+
trtllm_utils.llmExecStepWithRetry(pipeline, script: "pip3 install torch==2.9.0+cu130 torchvision==0.24.0 --extra-index-url https://urm.nvidia.com/artifactory/api/pypi/pytorch-cu128-remote/simple")
3032+
}
30273033
}
30283034

30293035
def libEnv = []

0 commit comments

Comments
 (0)