Update pipeline.py
Browse files- pipeline.py +1 -1
pipeline.py
CHANGED
|
@@ -45,7 +45,7 @@ def calculate_shift(
|
|
| 45 |
return mu
|
| 46 |
|
| 47 |
|
| 48 |
-
class
|
| 49 |
model_cpu_offload_seq = "text_encoder->transformer->vae"
|
| 50 |
_callback_tensor_inputs = ["latents", "prompt_embeds", "negative_prompt_embeds"]
|
| 51 |
|
|
|
|
| 45 |
return mu
|
| 46 |
|
| 47 |
|
| 48 |
+
class NitroMMDiTPipeline(DiffusionPipeline, FromSingleFileMixin):
|
| 49 |
model_cpu_offload_seq = "text_encoder->transformer->vae"
|
| 50 |
_callback_tensor_inputs = ["latents", "prompt_embeds", "negative_prompt_embeds"]
|
| 51 |
|