mirror of
https://github.com/PaddlePaddle/FastDeploy.git
synced 2026-04-23 00:17:25 +08:00
[Feature] consider multimodal model when dummy run (#6045)
* add mm do profile * updata code * update code * update code * update code * update test case * update code * update code * fix xpu bug * update code * add mm do profile * update test case * update code
This commit is contained in:
@@ -113,6 +113,7 @@ class TestCUDAGrpahRecapture(unittest.TestCase):
|
||||
model_config = Mock()
|
||||
model_config.max_model_len = 5120
|
||||
model_config.architectures = ["test_model"]
|
||||
model_config.mm_max_tokens_per_item = None
|
||||
fd_config = FDConfig(
|
||||
graph_opt_config=graph_opt_config,
|
||||
scheduler_config=scheduler_config,
|
||||
|
||||
Reference in New Issue
Block a user