[core] add torch compile for diffusion (#684)

Signed-off-by: zjy0516 <riverclouds.zhu@qq.com>
This commit is contained in:
Jiangyun Zhu authored and GitHub committed 2026-01-09 04:05:44 +13:00
1 parent cddcc400d3
commit c784b3e07d
15 files changed
+134 -25

No files matched your search

@@ -344,6 +344,8 @@ class RopeEmbedder:
class ZImageTransformer2DModel(nn.Module):
_repeated_blocks = ["ZImageTransformerBlock"]
def __init__(
self,
all_patch_size=(2,),