[Refactor] Make Renderer an abstract class (#33479)

Signed-off-by: DarkLight1337 <tlleungac@connect.ust.hk>
This commit is contained in:
Cyrus Leung
2026-02-01 10:36:30 +08:00
committed by GitHub
parent 079781177a
commit a358e4dffe
12 changed files with 49 additions and 50 deletions

View File

@@ -11,7 +11,7 @@ from vllm.lora.request import LoRARequest
from vllm.outputs import PoolingRequestOutput, RequestOutput
from vllm.plugins.io_processors import IOProcessor
from vllm.pooling_params import PoolingParams
from vllm.renderers import RendererLike
from vllm.renderers import BaseRenderer
from vllm.sampling_params import SamplingParams
from vllm.tasks import SupportedTask
from vllm.v1.engine import EngineCoreRequest
@@ -28,7 +28,7 @@ class EngineClient(ABC):
@property
@abstractmethod
def renderer(self) -> RendererLike: ...
def renderer(self) -> BaseRenderer: ...
@property
@abstractmethod