File tree Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Original file line number Diff line number Diff 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 = []
You can’t perform that action at this time.
0 commit comments