Skip to content

vllm.v1.engine.processor

__getattr__

__getattr__(name: str)
Source code in vllm/v1/engine/processor.py
def __getattr__(name: str):
    if name == "Processor":
        from .input_processor import InputProcessor

        warnings.warn(
            "`vllm.v1.engine.processor.Processor` has been moved to "
            "`vllm.v1.engine.input_processor.InputProcessor`. "
            "The old name will be removed in v0.13.",
            DeprecationWarning,
            stacklevel=2,
        )

        return InputProcessor

    raise AttributeError(f"module {__name__!r} has no attribute {name!r}")