[Core] structured generation mode for DiffusionGemma model (Jev-like) (#57250)

Signed-off-by: Matt Mastracci <matthew@mastracci.com>
Signed-off-by: Lucas Wilkinson <lwilkins@redhat.com>
Signed-off-by: Razorback16 <razorback16@protonmail.com>
Co-authored-by: Claude Fable 5.1 <noreply@anthropic.com>
Co-authored-by: Lucas Wilkinson <lwilkins@redhat.com>
Co-authored-by: Codex <noreply@openai.com>
Co-authored-by: Razorback16 <razorback16@protonmail.com>
This commit is contained in:
Matt Mastracci
2026-09-22 20:51:17 +00:00
committed by GitHub
co-authored by Claude Fable 5.1 Lucas Wilkinson Codex Razorback16
parent fae5cbfc8b
commit 1b3b88ec2b
16 changed files with 2795 additions and 155 deletions
+11 -7
View File
@@ -232,13 +232,17 @@ class SchedulerConfig:
# The first half of this warning can be removed once the Scheduler interface is
# finalized and we can maintain support for scheduler classes that implement it
logger.warning_once(
"Using custom scheduler class %s. This scheduler interface is not public "
"and compatibility may not be maintained. If you have subclassed Scheduler "
"instead of AsyncScheduler, you will see degraded performance due to async "
"scheduling being disabled.",
self.scheduler_cls, # type: ignore[arg-type]
)
if not (
isinstance(self.scheduler_cls, str)
and self.scheduler_cls.startswith("vllm.")
):
logger.warning_once(
"Using custom scheduler class %s. This scheduler interface is not "
"public and compatibility may not be maintained. If you have "
"subclassed Scheduler instead of AsyncScheduler, you will see "
"degraded performance due to async scheduling being disabled.",
self.scheduler_cls, # type: ignore[arg-type]
)
if not isinstance(self.scheduler_cls, str):
return cast(type["SchedulerInterface"], self.scheduler_cls)
return resolve_obj_by_qualname(self.scheduler_cls)