Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions jenkins/L0_Test.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -1135,6 +1135,10 @@ def getPytestBaseCommandLine(
extraInternalEnv += " CBTS_COVERAGE_CONFIG=${coverageConfigFile}"
extraInternalEnv += " CBTS_MARKER_FILE=${outputPath}/cbts_current_test.txt"
}
// Skip TRTLLM-Gen FMHA JIT warmup for non-performance tests.
if (!stageName.contains("-Perf-") && !stageName.contains("-PerfSanity-")) {
extraInternalEnv += " TLLM_ENABLE_TRTLLM_GEN_FMHA_JIT_WARMUP=0"
}

// Container port allocation environment variables for avoiding port conflicts
def portEnvVars = ""
Expand Down
4 changes: 4 additions & 0 deletions tensorrt_llm/_torch/pyexecutor/model_engine.py
Original file line number Diff line number Diff line change
Expand Up @@ -1280,6 +1280,10 @@ def _run_attention_warmup(self,
if not issubclass(self.attn_backend.Metadata, TrtllmAttentionMetadata):
return

if os.environ.get("TLLM_ENABLE_TRTLLM_GEN_FMHA_JIT_WARMUP", "1") != "1":
logger.info("Skipping TRTLLM-Gen FMHA JIT warmup")
return

@contextlib.contextmanager
def trtllm_gen_fmha_jit_warmup():
previous = self._trtllm_gen_jit_warmup
Expand Down
Loading