Update README.md
Browse files
README.md
CHANGED
@@ -52,7 +52,7 @@ Then you can use `FluxPipeline` to run the model
|
|
52 |
import torch
|
53 |
from diffusers import FluxPipeline
|
54 |
|
55 |
-
pipe = FluxPipeline.from_pretrained("
|
56 |
pipe.enable_model_cpu_offload() #save some VRAM by offloading the model to CPU. Remove this if you have enough GPU power
|
57 |
|
58 |
prompt = "A cat holding a sign that says hello world"
|
|
|
52 |
import torch
|
53 |
from diffusers import FluxPipeline
|
54 |
|
55 |
+
pipe = FluxPipeline.from_pretrained("FILM6912/FLUX.1-dev", torch_dtype=torch.bfloat16)
|
56 |
pipe.enable_model_cpu_offload() #save some VRAM by offloading the model to CPU. Remove this if you have enough GPU power
|
57 |
|
58 |
prompt = "A cat holding a sign that says hello world"
|