[Bugfix] Don't warn about missing watermark config for default requests (#60412)
Signed-off-by: Simon Veitner <sveitner@redhat.com> Co-authored-by: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Co-authored-by: Lucas Wilkinson <LucasWilkinson@users.noreply.github.com>
This commit is contained in:
co-authored by
Claude Opus 5.5
Lucas Wilkinson
parent
0751f5272f
commit
e41d5d5543
+1
-1
@@ -1310,7 +1310,7 @@ class VllmConfig:
|
||||
) -> bool:
|
||||
watermark_config = getattr(self, "watermark_config", None)
|
||||
if watermark_config is None:
|
||||
if config is not None and config.watermarking is not False:
|
||||
if config is not None and config.watermarking is True:
|
||||
logger.warning_once(
|
||||
"Watermarking is enabled for this request, but the engine has no "
|
||||
"watermark configuration. This and subsequent requests will run "
|
||||
|
||||
Reference in New Issue
Block a user