We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 82d0a47 commit 5cf2e12Copy full SHA for 5cf2e12
src/diffusers/hooks/context_parallel.py
@@ -22,12 +22,12 @@
22
if torch.distributed.is_available():
23
import torch.distributed._functional_collectives as funcol
24
25
- from ..models._modeling_parallel import (
26
- ContextParallelConfig,
27
- ContextParallelInput,
28
- ContextParallelModelPlan,
29
- ContextParallelOutput,
30
- )
+from ..models._modeling_parallel import (
+ ContextParallelConfig,
+ ContextParallelInput,
+ ContextParallelModelPlan,
+ ContextParallelOutput,
+)
31
from ..utils import get_logger
32
from ..utils.torch_utils import unwrap_module
33
from .hooks import HookRegistry, ModelHook
0 commit comments