[Model] Add native MAGI-2 Preview diffusion support (#5918)
Signed-off-by: Hongsheng Liu <liuhongsheng4@huawei.com> Signed-off-by: hsliuustc0106 <liuhongsheng4@huawei.com>
This commit is contained in:
1 parent
13c617a140
commit
d4096e01fe
78 files changed
+9896
-459
No files matched your search
@@ -1,5 +1,5 @@
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
# SPDX-FileCopyrightText: Copyright contributors to the vLLM project
|
||||
# SPDX-FileCopyrightText: Copyright contributors to the vLLM-Omni project
|
||||
|
||||
from vllm_omni.model_extras.registry import (
|
||||
build_image_to_image_prompt,
|
||||
@@ -11,6 +11,7 @@ from vllm_omni.model_extras.registry import (
|
||||
get_model_class_name,
|
||||
get_output_tensor_range,
|
||||
get_transformer_config_subfolder,
|
||||
get_video_generation_defaults,
|
||||
get_x_to_text_model_family,
|
||||
should_init_extra_args_for_non_diffusion_stages,
|
||||
should_preserve_reference_image_size,
|
||||
@@ -26,6 +27,7 @@ __all__ = [
|
||||
"get_model_class_name",
|
||||
"get_output_tensor_range",
|
||||
"get_transformer_config_subfolder",
|
||||
"get_video_generation_defaults",
|
||||
"get_x_to_text_model_family",
|
||||
"should_init_extra_args_for_non_diffusion_stages",
|
||||
"should_preserve_reference_image_size",
|
||||
|
||||
Reference in new issue
Block a user