We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
logger.info_once
1 parent 13698db commit d1f569bCopy full SHA for d1f569b
vllm/model_executor/guided_decoding/xgrammar_decoding.py
@@ -191,9 +191,9 @@ def from_guided_params(cls,
191
192
if model_with_warn is not None and any_whitespace:
193
logger.info_once(
194
- "%s model detected, consider setting "
+ f"{model_with_warn} model detected, consider setting "
195
"`disable_any_whitespace` to prevent runaway generation "
196
- "of whitespaces.", model_with_warn)
+ "of whitespaces.")
197
# Validate the schema and raise ValueError here if it is invalid.
198
# This is to avoid exceptions in model execution, which will crash
199
# the engine worker process.
0 commit comments