Skip to content

Commit 2aec312

Browse files
a-r-r-o-wDN6
andauthored
Update src/diffusers/models/modeling_utils.py
Co-authored-by: Dhruv Nair <[email protected]>
1 parent bb07c04 commit 2aec312

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/diffusers/models/modeling_utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1481,7 +1481,7 @@ def compile_repeated_blocks(self, *args, **kwargs):
14811481
f"Regional compilation failed because {repeated_blocks} classes are not found in the model. "
14821482
)
14831483

1484-
def parallelize(self, *, config: ParallelConfig, cp_plan: Optional[Dict[str, ContextParallelModelPlan]] = None):
1484+
def enable_parallelism(self, *, config: ParallelConfig, cp_plan: Optional[Dict[str, ContextParallelModelPlan]] = None):
14851485
from ..hooks.context_parallel import apply_context_parallel
14861486

14871487
logger.warning(

0 commit comments

Comments
 (0)