-
Notifications
You must be signed in to change notification settings - Fork 639
[Fearture] Support mm model close prefix cache #4459
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Thanks for your contribution! |
ltd0924 seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account. You have signed the CLA already but the status is still pending? Let us recheck it. |
if self.enable_mm and self.enable_prefix_caching: | ||
if self._check_mm_disable_prefix_cache(task): | ||
api_server_logger.error( | ||
f"Current model doesn't support multimodal data with prefix caching, {task}" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The current service does not support processing requests containing multimodal data when prefix cache is enabled. Please send only text-based requests or disable prefix cache
报错信息改成这个吧
针对特定模型进行限制prefix cache 开启