ehristoforu
commited on
Commit
•
7402868
1
Parent(s):
d8a26d1
Update README.md
Browse files
README.md
CHANGED
@@ -38,19 +38,6 @@ Introducing the new fast model SDXL Flash (Mini), we learned that all fast XL mo
|
|
38 |
- **CFG Scale**: 2.5-3.5
|
39 |
- **Sampler**: DPM++ SDE
|
40 |
|
41 |
-
###
|
42 |
-
|
43 |
-
|
44 |
-
pip install torch diffusers
|
45 |
-
```
|
46 |
-
|
47 |
-
```py
|
48 |
-
import torch
|
49 |
-
from diffusers import StableDiffusionXLPipeline, DPMSolverSinglestepScheduler
|
50 |
-
# Load model.
|
51 |
-
pipe = StableDiffusionXLPipeline.from_pretrained("sd-community/sdxl-flash-mini", torch_dtype=torch.float16, variant="fp16").to("cuda")
|
52 |
-
# Ensure sampler uses "trailing" timesteps.
|
53 |
-
pipe.scheduler = DPMSolverSinglestepScheduler.from_config(pipe.scheduler.config, timestep_spacing="trailing")
|
54 |
-
# Image generation.
|
55 |
-
pipe("a happy dog, sunny day, realism", num_inference_steps=7, guidance_scale=3).images[0].save("output.png")
|
56 |
-
```
|
|
|
38 |
- **CFG Scale**: 2.5-3.5
|
39 |
- **Sampler**: DPM++ SDE
|
40 |
|
41 |
+
### Usage
|
42 |
+
|
43 |
+
We can use this model only in Auto111 or ComfyUI or Fooocus.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|