Instructions to use stabilityai/sd-x2-latent-upscaler with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use stabilityai/sd-x2-latent-upscaler with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("stabilityai/sd-x2-latent-upscaler", 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
Commit ·
f27ea45
1
Parent(s): e0a798a
correct scheduler config
Browse files
scheduler/scheduler_config.json
CHANGED
|
@@ -5,6 +5,7 @@
|
|
| 5 |
"beta_schedule": "scaled_linear",
|
| 6 |
"beta_start": 0.00085,
|
| 7 |
"num_train_timesteps": 1000,
|
|
|
|
| 8 |
"prediction_type": "original_sample",
|
| 9 |
"trained_betas": null
|
| 10 |
}
|
|
|
|
| 5 |
"beta_schedule": "scaled_linear",
|
| 6 |
"beta_start": 0.00085,
|
| 7 |
"num_train_timesteps": 1000,
|
| 8 |
+
"interpolation_type": "log_linear",
|
| 9 |
"prediction_type": "original_sample",
|
| 10 |
"trained_betas": null
|
| 11 |
}
|