mirror of
https://github.com/PaddlePaddle/FastDeploy.git
synced 2026-04-23 00:17:25 +08:00
[Graph Optimization] Add dy_runnable and introduce cudagraph_switch_threshold for cudagraph mode switching (#4578)
* add new branch for sot * reorder * fix batch bug
This commit is contained in:
@@ -83,7 +83,7 @@ class TestGraphOptBackend(unittest.TestCase):
|
||||
self.input_shape = (4, 8)
|
||||
self.dtype = "int32"
|
||||
self.model_config = {}
|
||||
self.max_num_seqs = 1
|
||||
self.max_num_seqs = 4
|
||||
|
||||
# Create baseline configuration (dynamic graph, no cudagraph)
|
||||
baseline_graph_opt_config = GraphOptimizationConfig(args={})
|
||||
|
||||
Reference in New Issue
Block a user