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