mirror of
https://github.com/PaddlePaddle/FastDeploy.git
synced 2026-04-23 00:17:25 +08:00
[FDConfig] disable chunked_mm_input in ernie5 (#5774)
* disable chunked_mm_input in ernie5 * update code * update code * update test case * update testcase * upate case
This commit is contained in:
@@ -97,6 +97,7 @@ class TestGraphOptBackend(unittest.TestCase):
|
||||
baseline_parallel_config = ParallelConfig(args={})
|
||||
model_config = Mock()
|
||||
model_config.max_model_len = 512
|
||||
model_config.architectures = ["test_model"]
|
||||
self.baseline_fd_config = FDConfig(
|
||||
graph_opt_config=baseline_graph_opt_config,
|
||||
scheduler_config=baseline_scheduler_config,
|
||||
@@ -144,6 +145,7 @@ class TestGraphOptBackend(unittest.TestCase):
|
||||
parallel_config = ParallelConfig(args={})
|
||||
model_config = Mock()
|
||||
model_config.max_model_len = 512
|
||||
model_config.architectures = ["test_model"]
|
||||
|
||||
# Create FD config
|
||||
return FDConfig(
|
||||
|
||||
Reference in New Issue
Block a user