[Bug Fix] disable prefix caching in mm model (#4167)

* add http get retry

* fix coments

* disable prefix caching in mm model

* fix unit test

---------

Co-authored-by: zhangjunjun04 <zhangjunjun04@baidu.com>
Co-authored-by: Jiang-Jia-Jun <163579578+Jiang-Jia-Jun@users.noreply.github.com>
Co-authored-by: YuBaoku <49938469+EmmonsCurse@users.noreply.github.com>
This commit is contained in:
ApplEOFDiscord
2025-09-24 14:43:46 +08:00
committed by GitHub
parent e8318b7477
commit 9566ae8827
2 changed files with 2 additions and 2 deletions

View File

@@ -409,8 +409,6 @@ class EngineArgs:
self.enable_prefix_caching = False
if self.speculative_config is not None:
self.enable_prefix_caching = False
if self.enable_mm:
self.enable_prefix_caching = False
if not current_platform.is_cuda():
self.enable_prefix_caching = False
if self.dynamic_load_weight: