Instructions to use tensorart/stable-diffusion-3.5-medium-turbo with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use tensorart/stable-diffusion-3.5-medium-turbo with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("tensorart/stable-diffusion-3.5-medium-turbo", dtype=torch.bfloat16, device_map="cuda") prompt = "Astronaut in a jungle, cold color palette, muted colors, detailed, 8k" image = pipe(prompt).images[0] - Notebooks
- Google Colab
- Kaggle
- Local Apps
- Draw Things
- DiffusionBee
Update README.md
Browse files
README.md
CHANGED
|
@@ -93,7 +93,7 @@ TensorArt Stable Diffusion 3.5 Medium Turbo (SD3.5M Turbo) is a high-performance
|
|
| 93 |
import numpy as np
|
| 94 |
from safetensors.torch import load_file
|
| 95 |
|
| 96 |
-
pipe = StableDiffusion3Pipeline.from_pretrained("
|
| 97 |
|
| 98 |
pipe = pipe.to("cuda")
|
| 99 |
|
|
|
|
| 93 |
import numpy as np
|
| 94 |
from safetensors.torch import load_file
|
| 95 |
|
| 96 |
+
pipe = StableDiffusion3Pipeline.from_pretrained("stabilityai/stable-diffusion-3.5-medium", torch_dtype=torch.float16,)
|
| 97 |
|
| 98 |
pipe = pipe.to("cuda")
|
| 99 |
|