Skip to content

vllm.entrypoints.cli.benchmark.mm_processor

BenchmarkMMProcessorSubcommand

Bases: BenchmarkSubcommandBase

The mm-processor subcommand for vllm bench.

Source code in vllm/entrypoints/cli/benchmark/mm_processor.py
class BenchmarkMMProcessorSubcommand(BenchmarkSubcommandBase):
    """The `mm-processor` subcommand for `vllm bench`."""

    name = "mm-processor"
    help = "Benchmark multimodal processor latency across different configurations."

    @classmethod
    def add_cli_args(cls, parser: argparse.ArgumentParser) -> None:
        add_cli_args(parser)

    @staticmethod
    def cmd(args: argparse.Namespace) -> None:
        main(args)

help class-attribute instance-attribute

help = "Benchmark multimodal processor latency across different configurations."

name class-attribute instance-attribute

name = 'mm-processor'

add_cli_args classmethod

add_cli_args(parser: ArgumentParser) -> None
Source code in vllm/entrypoints/cli/benchmark/mm_processor.py
@classmethod
def add_cli_args(cls, parser: argparse.ArgumentParser) -> None:
    add_cli_args(parser)

cmd staticmethod

cmd(args: Namespace) -> None
Source code in vllm/entrypoints/cli/benchmark/mm_processor.py
@staticmethod
def cmd(args: argparse.Namespace) -> None:
    main(args)