Spaces:
Running
on
Zero
Running
on
Zero
Update radial_attn/models/wan/sparse_transformer.py
Browse files
radial_attn/models/wan/sparse_transformer.py
CHANGED
@@ -6,7 +6,7 @@ import torch
|
|
6 |
|
7 |
from diffusers.models.transformers.transformer_wan import WanTransformerBlock, WanTransformer3DModel
|
8 |
from diffusers import WanPipeline, WanImageToVideoPipeline
|
9 |
-
|
10 |
from diffusers.models.modeling_outputs import Transformer2DModelOutput
|
11 |
from diffusers.utils import USE_PEFT_BACKEND, logging, scale_lora_layers, unscale_lora_layers
|
12 |
logger = logging.get_logger(__name__)
|
|
|
6 |
|
7 |
from diffusers.models.transformers.transformer_wan import WanTransformerBlock, WanTransformer3DModel
|
8 |
from diffusers import WanPipeline, WanImageToVideoPipeline
|
9 |
+
from diffusers.image_processor import PipelineImageInput
|
10 |
from diffusers.models.modeling_outputs import Transformer2DModelOutput
|
11 |
from diffusers.utils import USE_PEFT_BACKEND, logging, scale_lora_layers, unscale_lora_layers
|
12 |
logger = logging.get_logger(__name__)
|