修复剩余的"is not support"语法错误

Co-authored-by: Jiang-Jia-Jun <163579578+Jiang-Jia-Jun@users.noreply.github.com>
This commit is contained in:
copilot-swe-agent[bot]
2025-12-23 12:14:19 +00:00
parent a79dfc108c
commit 92d8b84236
3 changed files with 4 additions and 4 deletions

View File

@@ -438,12 +438,12 @@ class EngineClient:
raise ParameterError("prompt_logprobs", err_msg)
if not envs.FD_USE_GET_SAVE_OUTPUT_V1:
err_msg = "prompt_logprobs is not support when FD_USE_GET_SAVE_OUTPUT_V1 is disabled."
err_msg = "prompt_logprobs is not supported when FD_USE_GET_SAVE_OUTPUT_V1 is disabled."
api_server_logger.error(err_msg)
raise ParameterError("prompt_logprobs", err_msg)
if self.enable_prefix_caching:
err_msg = "prompt_logprobs is not support when prefix caching is enabled."
err_msg = "prompt_logprobs is not supported when prefix caching is enabled."
api_server_logger.error(err_msg)
raise ParameterError("prompt_logprobs", err_msg)

View File

@@ -104,7 +104,7 @@ class SiluAndMul(nn.Layer):
bfloat16 as default dtype, but received {self._dtype}"
)
# fp8 is not support smooth quantization
# fp8 does not support smooth quantization
if fd_config.quant_config and "fp8" in fd_config.quant_config.name():
self.dequant_scales = None
self.shift = None

View File

@@ -19,7 +19,7 @@ from fastdeploy.platforms import current_platform
from .base import Proposer
from .mtp import MTPProposer
# XPU is not support ngram proposer now
# XPU does not support ngram proposer now
if not current_platform.is_xpu():
from .ngram import NgramProposer
__all__ = ["Proposer", "MTPProposer", "NgramProposer"]