Skip to content

Conversation

ltd0924
Copy link
Collaborator

@ltd0924 ltd0924 commented Oct 16, 2025

针对特定模型进行限制prefix cache 开启

Copy link

paddle-bot bot commented Oct 16, 2025

Thanks for your contribution!

@CLAassistant
Copy link

CLAassistant commented Oct 16, 2025

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.
1 out of 2 committers have signed the CLA.

✅ Jiang-Jia-Jun
❌ ltd0924


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}"
Copy link
Collaborator

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

报错信息改成这个吧

Jiang-Jia-Jun
Jiang-Jia-Jun previously approved these changes Oct 20, 2025
@Jiang-Jia-Jun Jiang-Jia-Jun merged commit fb76cdf into PaddlePaddle:develop Oct 21, 2025
22 of 27 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants