Skip to content

Commit c921b41

Browse files
chzblychZhanruiSunCh
authored andcommitted
[TRTLLM-7141][infra] Use repo mirrors to avoid intermittent network failures (NVIDIA#6836)
Signed-off-by: Yanchao Lu <[email protected]> Co-authored-by: Zhanrui Sun <[email protected]> Signed-off-by: Wangshanshan <[email protected]>
1 parent 0b4c9e0 commit c921b41

File tree

2 files changed

+16
-0
lines changed

2 files changed

+16
-0
lines changed

cpp/CMakeLists.txt

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -495,6 +495,17 @@ if(ENABLE_UCX)
495495
if(NOT ${ucx_FOUND})
496496
set(ENABLE_UCX 0)
497497
else()
498+
if(DEFINED ENV{GITHUB_MIRROR} AND NOT "$ENV{GITHUB_MIRROR}" STREQUAL "")
499+
if(EXISTS "${3RDPARTY_DIR}/ucxx/fetch_rapids.cmake")
500+
file(READ "${3RDPARTY_DIR}/ucxx/fetch_rapids.cmake" FILE_CONTENTS)
501+
string(
502+
REPLACE "https://raw.githubusercontent.com/rapidsai/rapids-cmake"
503+
"$ENV{GITHUB_MIRROR}/rapidsai/rapids-cmake/raw/refs/heads"
504+
FILE_CONTENTS "${FILE_CONTENTS}")
505+
file(WRITE "${3RDPARTY_DIR}/ucxx/fetch_rapids.cmake" "${FILE_CONTENTS}")
506+
message(WARNING "Replace UCXX fetch_rapids.cmake with internal mirror")
507+
endif()
508+
endif()
498509
# installing ucxx via add_subdirectory results in strange cudart linking
499510
# error, thus using their installation script to isolate the installation
500511
# process until the issue is understood. And always trigger the build so

jenkins/L0_Test.groovy

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2075,6 +2075,11 @@ def launchTestJobs(pipeline, testFilter, dockerNode=null)
20752075
checkPipStage = true
20762076
}
20772077

2078+
if (cpu_arch == AARCH64_TRIPLE && values[5] != DLFW_IMAGE) {
2079+
checkPipStage = false
2080+
echo "Skip pip install sanity check due to https://nvbugs/5453827"
2081+
}
2082+
20782083
if (checkPipStage) {
20792084
stage("Run LLMAPI tests") {
20802085
pipInstallSanitySpec = createKubernetesPodConfig(values[5], gpu_type, k8s_arch)

0 commit comments

Comments
 (0)