[Bugfix] fix qwen image layerd in dummy run (#1027)
Signed-off-by: zjy0516 <riverclouds.zhu@qq.com>
This commit is contained in:
1 parent
2ac141026b
commit
43c6f520ca
4 files changed
+11
-4
No files matched your search
@@ -10,6 +10,7 @@ from typing import (
|
||||
@runtime_checkable
|
||||
class SupportImageInput(Protocol):
|
||||
support_image_input: ClassVar[bool] = True
|
||||
color_format: ClassVar[str] = "RGB" # Default color format
|
||||
|
||||
|
||||
@runtime_checkable
|
||||
|
||||
@@ -192,6 +192,8 @@ def retrieve_latents(
|
||||
|
||||
|
||||
class QwenImageLayeredPipeline(nn.Module, SupportImageInput):
|
||||
color_format = "RGBA"
|
||||
|
||||
def __init__(
|
||||
self,
|
||||
*,
|
||||
|
||||
Reference in new issue
Block a user