xueyao
commited on
Commit
·
4716210
1
Parent(s):
1265e2f
readme
Browse files
README.md
CHANGED
@@ -18,7 +18,7 @@ pipeline_tag: image-to-image
|
|
18 |
|
19 |
Stable Diffusion 3.5 Medium Turbo (SD3.5M Turbo) is a high-performance text-to-image model distilled from StabilityAI's stable-diffusion-3.5-medium. This model emphasizes stability and efficiency, making it suitable for a wide range of art styles and creative expression scenarios.
|
20 |
|
21 |
-
<img src="https://github.com/user-attachments/assets/5d3313d6-6087-46f1-8add-5f322097c5be" alt="ComfyUI_temp_psqad_00205_" width="
|
22 |
|
23 |
|
24 |
|
@@ -80,9 +80,8 @@ Stable Diffusion 3.5 Medium Turbo (SD3.5M Turbo) is a high-performance text-to-i
|
|
80 |
import numpy as np
|
81 |
from safetensors.torch import load_file
|
82 |
|
83 |
-
pipe = StableDiffusion3Pipeline.from_pretrained("tensorart/stable-diffusion-3.5-medium-turbo",
|
84 |
-
|
85 |
-
# scheduler=PCMFMDeterministicScheduler(1000, 3.0, 50))
|
86 |
pipe = pipe.to("cuda")
|
87 |
|
88 |
lora_weights_dir = 'tensorart/stable-diffusion-3.5-medium-turbo/lora_sd3.5m_turbo_8steps.safetensors'
|
|
|
18 |
|
19 |
Stable Diffusion 3.5 Medium Turbo (SD3.5M Turbo) is a high-performance text-to-image model distilled from StabilityAI's stable-diffusion-3.5-medium. This model emphasizes stability and efficiency, making it suitable for a wide range of art styles and creative expression scenarios.
|
20 |
|
21 |
+
<img src="https://github.com/user-attachments/assets/5d3313d6-6087-46f1-8add-5f322097c5be" alt="ComfyUI_temp_psqad_00205_" width="300"/>
|
22 |
|
23 |
|
24 |
|
|
|
80 |
import numpy as np
|
81 |
from safetensors.torch import load_file
|
82 |
|
83 |
+
pipe = StableDiffusion3Pipeline.from_pretrained("tensorart/stable-diffusion-3.5-medium-turbo", torch_dtype=torch.float16,)
|
84 |
+
|
|
|
85 |
pipe = pipe.to("cuda")
|
86 |
|
87 |
lora_weights_dir = 'tensorart/stable-diffusion-3.5-medium-turbo/lora_sd3.5m_turbo_8steps.safetensors'
|