Skip to content

vllm_omni.platforms.xpu.profiler

logger module-attribute

logger = init_logger(__name__)

XPUTorchProfilerWrapper

Bases: OmniTorchProfilerWrapper

XPU-specific profiler wrapper.

Uses torch.profiler with XPU ProfilerActivity to capture Intel GPU events. XPU events are exposed via torch.profiler.ProfilerActivity.XPU and work with the standard torch.profiler interface.