mirror of
https://github.com/NVIDIA/TensorRT-LLM.git
synced 2026-01-14 06:27:45 +08:00
[https://nvbugs/5433581][infra] Temporarily disable Docker Image use wheel from build stage (#6630)
Signed-off-by: ZhanruiSunCh <184402041+ZhanruiSunCh@users.noreply.github.com>
This commit is contained in:
parent
78a75c2990
commit
6a9b4b11be
@ -29,6 +29,8 @@ LLM_DEFAULT_TAG = env.defaultTag ?: "${LLM_SHORT_COMMIT}-${LLM_BRANCH_TAG}-${BUI
|
||||
RUN_SANITY_CHECK = params.runSanityCheck ?: false
|
||||
TRIGGER_TYPE = env.triggerType ?: "manual"
|
||||
|
||||
ENABLE_USE_WHEEL_FROM_BUILD_STAGE = params.useWheelFromBuildStage ?: false
|
||||
|
||||
WAIT_TIME_FOR_BUILD_STAGE = 60 // minutes
|
||||
|
||||
BUILD_JOBS = "32"
|
||||
@ -193,6 +195,11 @@ def createKubernetesPodConfig(type, arch = "amd64", build_wheel = false)
|
||||
|
||||
|
||||
def prepareWheelFromBuildStage(dockerfileStage, arch) {
|
||||
if (!ENABLE_USE_WHEEL_FROM_BUILD_STAGE) {
|
||||
echo "useWheelFromBuildStage is false, skip preparing wheel from build stage"
|
||||
return ""
|
||||
}
|
||||
|
||||
if (TRIGGER_TYPE != "post-merge") {
|
||||
echo "Trigger type is not post-merge, skip preparing wheel from build stage"
|
||||
return ""
|
||||
|
||||
Loading…
Reference in New Issue
Block a user