From 1e7b32648231a412197b5aee330c5ca6d865e8ae Mon Sep 17 00:00:00 2001 From: fzyzcjy <5236035+fzyzcjy@users.noreply.github.com> Date: Mon, 5 Jan 2026 10:34:25 +0800 Subject: [PATCH] Super tiny fix main code (#16432) --- python/sglang/srt/model_executor/cuda_graph_runner.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/sglang/srt/model_executor/cuda_graph_runner.py b/python/sglang/srt/model_executor/cuda_graph_runner.py index 3f4483728..6be1b11c6 100644 --- a/python/sglang/srt/model_executor/cuda_graph_runner.py +++ b/python/sglang/srt/model_executor/cuda_graph_runner.py @@ -534,7 +534,7 @@ class CudaGraphRunner: ) graph_fn = ( partial(memory_saver_adapter.cuda_graph, tag=GPU_MEMORY_TYPE_CUDA_GRAPH) - if memory_saver_adapter.log_timing + if memory_saver_adapter.enabled else self.device_module.graph ) with graph_fn(cuda_graph=graph, pool=pool, stream=stream):