mirror of
https://github.com/PaddlePaddle/FastDeploy.git
synced 2025-12-24 13:28:13 +08:00
[BugFix]remove _execute_empty_input (#5396)
This commit is contained in:
@@ -1577,6 +1577,9 @@ class FDConfig:
|
||||
self.graph_opt_config._set_cudagraph_sizes(max_capture_size=max_capture_shape)
|
||||
self.graph_opt_config.init_with_cudagrpah_size(max_capture_size=max_capture_shape)
|
||||
|
||||
if self.parallel_config.use_ep:
|
||||
self.graph_opt_config.cudagraph_capture_sizes = [0] + self.graph_opt_config.cudagraph_capture_sizes
|
||||
|
||||
self.tokenizer = tokenizer
|
||||
self.ips = ips
|
||||
self.tool_parser = tool_parser
|
||||
|
||||
Reference in New Issue
Block a user