Instructions to use superdiff/superdiff-sdxl-v1-0 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use superdiff/superdiff-sdxl-v1-0 with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("superdiff/superdiff-sdxl-v1-0", 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
Upload pipeline.py
Browse files- pipeline.py +0 -1
pipeline.py
CHANGED
|
@@ -355,7 +355,6 @@ class SuperDiffSDXLPipeline(DiffusionPipeline, ConfigMixin):
|
|
| 355 |
generator=self.generator,
|
| 356 |
dtype=self.dtype,
|
| 357 |
device=self.device,
|
| 358 |
-
dtype=self.dtype,
|
| 359 |
)
|
| 360 |
prompt_embeds, added_cond_kwargs = self.prepare_prompt_input(
|
| 361 |
prompt_1, prompt_2, batch_size, height, width
|
|
|
|
| 355 |
generator=self.generator,
|
| 356 |
dtype=self.dtype,
|
| 357 |
device=self.device,
|
|
|
|
| 358 |
)
|
| 359 |
prompt_embeds, added_cond_kwargs = self.prepare_prompt_input(
|
| 360 |
prompt_1, prompt_2, batch_size, height, width
|