mirror of
https://github.com/PaddlePaddle/FastDeploy.git
synced 2025-12-24 13:28:13 +08:00
[FDConfig]Turn on the CUDAGraph + PD Disaggregation switch (#4530)
This commit is contained in:
@@ -1510,11 +1510,6 @@ class FDConfig:
|
||||
self.structured_outputs_config.guided_decoding_backend = "xgrammar"
|
||||
|
||||
# Adjustment GraphOptConfig
|
||||
if self.scheduler_config.splitwise_role != "mixed":
|
||||
self.graph_opt_config.use_cudagraph = False
|
||||
logger.info(
|
||||
"CUDAGraph does not support to be started together with PD Disaggregation temporarily, but has been automatically closed!"
|
||||
)
|
||||
if self.load_config is not None and self.load_config.dynamic_load_weight is True:
|
||||
self.graph_opt_config.graph_opt_level = 0
|
||||
logger.info(
|
||||
|
||||
Reference in New Issue
Block a user