You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -86,11 +86,11 @@ image = pipeline(prompt="Upper body of a young woman in a Victorian-era outfit w
86
86
87
87
Quantization helps reduce the memory requirements of very large models by storing model weights in a lower precision data type. However, quantization may have varying impact on video quality depending on the video model.
88
88
89
-
Refer to the [Quantization](../../quantization/overview) overview to learn more about supported quantization backends and selecting a quantization backend that supports your use case. The example below demonstrates how to load a quantized [`LuminaText2ImgPipeline`] for inference with bitsandbytes.
89
+
Refer to the [Quantization](../../quantization/overview) overview to learn more about supported quantization backends and selecting a quantization backend that supports your use case. The example below demonstrates how to load a quantized [`LuminaPipeline`] for inference with bitsandbytes.
90
90
91
91
```py
92
92
import torch
93
-
from diffusers import BitsAndBytesConfig as DiffusersBitsAndBytesConfig, Transformer2DModel, LuminaText2ImgPipeline
93
+
from diffusers import BitsAndBytesConfig as DiffusersBitsAndBytesConfig, Transformer2DModel, LuminaPipeline
94
94
from transformers import BitsAndBytesConfig as BitsAndBytesConfig, T5EncoderModel
Pipeline for text-to-image generation using Lumina-T2I.
140
141
@@ -935,3 +936,10 @@ def __call__(
935
936
return (image,)
936
937
937
938
returnImagePipelineOutput(images=image)
939
+
940
+
941
+
classLuminaText2ImgPipeline(LuminaPipeline):
942
+
def__init__(self, *args, **kwargs):
943
+
deprecation_message="`LuminaText2ImgPipeline` has been renamed to `LuminaPipeline` and will be removed in a future version. Please use `LuminaPipeline` instead."
Pipeline for text-to-image generation using Lumina-T2I.
138
139
@@ -757,3 +758,10 @@ def __call__(
757
758
return (image,)
758
759
759
760
returnImagePipelineOutput(images=image)
761
+
762
+
763
+
classLumina2Text2ImgPipeline(Lumina2Pipeline):
764
+
def__init__(self, *args, **kwargs):
765
+
deprecation_message="`Lumina2Text2ImgPipeline` has been renamed to `Lumina2Pipeline` and will be removed in a future version. Please use `Lumina2Pipeline` instead."
0 commit comments