mirror of
https://github.com/Stability-AI/generative-models.git
synced 2025-12-19 22:34:22 +01:00
Black and isort
This commit is contained in:
@@ -3,14 +3,12 @@ from typing import Callable, Iterable, Union
|
||||
import torch
|
||||
from einops import rearrange, repeat
|
||||
|
||||
from sgm.modules.diffusionmodules.model import (
|
||||
XFORMERS_IS_AVAILABLE,
|
||||
AttnBlock,
|
||||
Decoder,
|
||||
MemoryEfficientAttnBlock,
|
||||
ResnetBlock,
|
||||
)
|
||||
from sgm.modules.diffusionmodules.openaimodel import ResBlock, timestep_embedding
|
||||
from sgm.modules.diffusionmodules.model import (XFORMERS_IS_AVAILABLE,
|
||||
AttnBlock, Decoder,
|
||||
MemoryEfficientAttnBlock,
|
||||
ResnetBlock)
|
||||
from sgm.modules.diffusionmodules.openaimodel import (ResBlock,
|
||||
timestep_embedding)
|
||||
from sgm.modules.video_attention import VideoTransformerBlock
|
||||
from sgm.util import partialclass
|
||||
|
||||
|
||||
Reference in New Issue
Block a user