Text-to-Image
Diffusers
Safetensors
StableDiffusion3Pipeline
SiD-DiT
score-distillation
flow-matching
Instructions to use YGu1998/SiD-adversarial-DiT-SD3.5-medium with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use YGu1998/SiD-adversarial-DiT-SD3.5-medium with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("YGu1998/SiD-adversarial-DiT-SD3.5-medium", 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 Settings
- Draw Things
- DiffusionBee
Update README.md
Browse files
README.md
CHANGED
|
@@ -53,7 +53,7 @@ unify acceleration techniques across both diffusion- and flow-based generators.
|
|
| 53 |
|
| 54 |
```bash
|
| 55 |
# download model files from this repo
|
| 56 |
-
git clone https://huggingface.co/YGu1998/SiD-
|
| 57 |
|
| 58 |
# install packages
|
| 59 |
|
|
@@ -76,7 +76,7 @@ else:
|
|
| 76 |
torch_dtype = torch.float32
|
| 77 |
device = "cpu"
|
| 78 |
|
| 79 |
-
model_repo_id = "YGu1998/SiD-
|
| 80 |
|
| 81 |
prompt = ["a studio portrait of an elderly woman smiling, soft window light, 85mm lens"]
|
| 82 |
|
|
|
|
| 53 |
|
| 54 |
```bash
|
| 55 |
# download model files from this repo
|
| 56 |
+
git clone https://huggingface.co/YGu1998/SiD-adversarial-DiT-SD3.5-medium
|
| 57 |
|
| 58 |
# install packages
|
| 59 |
|
|
|
|
| 76 |
torch_dtype = torch.float32
|
| 77 |
device = "cpu"
|
| 78 |
|
| 79 |
+
model_repo_id = "YGu1998/SiD-adversarial-DiT-SD3.5-medium"
|
| 80 |
|
| 81 |
prompt = ["a studio portrait of an elderly woman smiling, soft window light, 85mm lens"]
|
| 82 |
|