[V1][Structured Output] Add supports_structured_output() method to Platform (#16148)

Signed-off-by: shen-shanshan <467638484@qq.com>
This commit is contained in:
Shanshan Shen
2025-04-07 11:06:24 +00:00
committed by GitHub
parent 7c80368710
commit e9ba99f296
9 changed files with 41 additions and 3 deletions
+4
View File
@@ -180,3 +180,7 @@ class CpuPlatform(Platform):
Get device specific communicator class for distributed communication.
"""
return "vllm.distributed.device_communicators.cpu_communicator.CpuCommunicator" # noqa
@classmethod
def supports_structured_output(cls) -> bool:
return True