[Feature] Pydantic validation for scheduler.py and structured_outputs.py (#26519)
Signed-off-by: Vinay Damodaran <vrdn@hey.com> Signed-off-by: Harry Mellor <19981378+hmellor@users.noreply.github.com> Co-authored-by: Harry Mellor <19981378+hmellor@users.noreply.github.com>
This commit is contained in:
co-authored by
Harry Mellor
parent
9e5bd3076e
commit
5e8862e9e0
@@ -1807,7 +1807,7 @@ class EngineArgs:
|
||||
incremental_prefill_supported = (
|
||||
pooling_type is not None
|
||||
and pooling_type.lower() == "last"
|
||||
and is_causal
|
||||
and bool(is_causal)
|
||||
)
|
||||
|
||||
action = "Enabling" if incremental_prefill_supported else "Disabling"
|
||||
|
||||
Reference in New Issue
Block a user