[Refactor] Unify torch profiler for omni and diffusion models (#2099)
Signed-off-by: gcanlin <canlinguosdu@gmail.com> Signed-off-by: Samit <285365963@qq.com> Co-authored-by: Samit <285365963@qq.com> Co-authored-by: lishunyang lishunyang12@163.com
This commit is contained in:
28 files changed
+1063
-404
No files matched your search
@@ -1,9 +1,8 @@
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
# SPDX-FileCopyrightText: Copyright contributors to the vLLM project
|
||||
|
||||
from .torch_profiler import TorchProfiler
|
||||
from vllm_omni.diffusion.profiler.diffusion_pipeline_profiler import (
|
||||
DiffusionPipelineProfilerMixin,
|
||||
)
|
||||
|
||||
# Default profiler – can be changed later via config
|
||||
CurrentProfiler = TorchProfiler
|
||||
|
||||
__all__ = ["CurrentProfiler", "TorchProfiler"]
|
||||
__all__ = ["DiffusionPipelineProfilerMixin"]
|
||||
Reference in new issue
Block a user