bugfix: fix longcat-image cache dispatch (#638)
Signed-off-by: princepride <wangzhipeng628@gmail.com> Signed-off-by: DefTruth <qiustudent_r@163.com> Signed-off-by: tzhouam <tzhouam@connect.ust.hk> Signed-off-by: Zhou Taichang <tzhouam@connect.ust.hk> Signed-off-by: samithuang <285365963@qq.com> Signed-off-by: SamitHuang <285365963@qq.com> Signed-off-by: Samit <285365963@qq.com> Signed-off-by: Hongsheng Liu <liuhongsheng4@huawei.com> Signed-off-by: ZeldaHuang <hzm414167@alibaba-inc.com> Co-authored-by: 汪志鹏 <wangzhipeng628@gmail.com> Co-authored-by: Zhou Taichang <tzhouam@connect.ust.hk> Co-authored-by: Samit <285365963@qq.com> Co-authored-by: Hongsheng Liu <liuhongsheng4@huawei.com> Co-authored-by: Ziming Huang <hzm414167@alibaba-inc.com>
This commit is contained in:
3 files changed
+4
-4
No files matched your search
+2
-2
@@ -406,8 +406,8 @@ CUSTOM_DIT_ENABLERS.update(
|
||||
{
|
||||
"WanPipeline": enable_cache_for_wan22,
|
||||
"FluxPipeline": enable_cache_for_flux,
|
||||
"LongcatImagePipeline": enable_cache_for_longcat_image,
|
||||
"LongcatImageEditPipeline": enable_cache_for_longcat_image,
|
||||
"LongCatImagePipeline": enable_cache_for_longcat_image,
|
||||
"LongCatImageEditPipeline": enable_cache_for_longcat_image,
|
||||
"StableDiffusion3Pipeline": enable_cache_for_sd3,
|
||||
}
|
||||
)
|
||||
|
||||
@@ -196,7 +196,7 @@ def split_quotation(prompt, quote_pairs=None):
|
||||
return result
|
||||
|
||||
|
||||
class LongcatImageEditPipeline(nn.Module):
|
||||
class LongCatImageEditPipeline(nn.Module):
|
||||
def __init__(
|
||||
self,
|
||||
*,
|
||||
|
||||
@@ -62,7 +62,7 @@ _DIFFUSION_MODELS = {
|
||||
"LongCatImageEditPipeline": (
|
||||
"longcat_image",
|
||||
"pipeline_longcat_image_edit",
|
||||
"LongcatImageEditPipeline",
|
||||
"LongCatImageEditPipeline",
|
||||
),
|
||||
"StableDiffusion3Pipeline": (
|
||||
"sd3",
|
||||
|
||||
Reference in new issue
Block a user