mirror of
https://github.com/modelscope/DiffSynth-Studio.git
synced 2026-03-24 10:18:12 +00:00
Support Torch Compile (#1368)
* support simple compile * add support for compile * minor fix * minor fix * minor fix
This commit is contained in:
@@ -336,6 +336,9 @@ class WanToDanceInjector(nn.Module):
|
||||
|
||||
|
||||
class WanModel(torch.nn.Module):
|
||||
|
||||
_repeated_blocks = ["DiTBlock"]
|
||||
|
||||
def __init__(
|
||||
self,
|
||||
dim: int,
|
||||
|
||||
Reference in New Issue
Block a user