Update README.md
Browse files
README.md
CHANGED
|
@@ -10,7 +10,7 @@ Lumina-Image-2.0 is a 2 billion parameter flow-based diffusion transformer capab
|
|
| 10 |
|
| 11 |
```python
|
| 12 |
import torch
|
| 13 |
-
from diffusers import
|
| 14 |
|
| 15 |
pipe = Lumina2Text2ImgPipeline.from_pretrained("Alpha-VLLM/Lumina-Image-2.0", torch_dtype=torch.bfloat16)
|
| 16 |
pipe.enable_model_cpu_offload() #save some VRAM by offloading the model to CPU. Remove this if you have enough GPU power
|
|
|
|
| 10 |
|
| 11 |
```python
|
| 12 |
import torch
|
| 13 |
+
from diffusers import LuminaText2ImgPipeline
|
| 14 |
|
| 15 |
pipe = Lumina2Text2ImgPipeline.from_pretrained("Alpha-VLLM/Lumina-Image-2.0", torch_dtype=torch.bfloat16)
|
| 16 |
pipe.enable_model_cpu_offload() #save some VRAM by offloading the model to CPU. Remove this if you have enough GPU power
|