[watermark] compatibility validation (#56801)

Signed-off-by: Raphael Rialland <raphael.rialland@mistral.ai>
Signed-off-by: Simon Veitner <sveitner@redhat.com>
Co-authored-by: Simon Veitner <sveitner@redhat.com>
This commit is contained in:
Raphaël Rialland
2026-10-05 14:37:13 -04:00
committed by GitHub
co-authored by Simon Veitner
parent 88f3c601b3
commit c32495d58f
45 changed files with 1670 additions and 101 deletions
+1
View File
@@ -112,6 +112,7 @@ def test_diffusion_canvas_width_is_accepted_with_either_scheduler(
diffusion_config=DiffusionConfig(canvas_length=8),
tokenizer=None,
validate_logits_processors_params=lambda params: None,
resolve_watermarking=lambda params: False,
)
params = SamplingParams(extra_args=extra_args)
InputProcessor._validate_params(processor, params, ("generate",))