Instructions to use hf-internal-testing/tiny-stable-diffusion-pipe with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use hf-internal-testing/tiny-stable-diffusion-pipe with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("hf-internal-testing/tiny-stable-diffusion-pipe", 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
Commit ·
fb23694
1
Parent(s): 63b42e3
Update scheduler/scheduler_config.json
Browse files
scheduler/scheduler_config.json
CHANGED
|
@@ -1,12 +1,9 @@
|
|
| 1 |
{
|
| 2 |
-
"_class_name": "
|
| 3 |
"_diffusers_version": "0.4.0.dev0",
|
| 4 |
"beta_end": 0.012,
|
| 5 |
"beta_schedule": "scaled_linear",
|
| 6 |
"beta_start": 0.00085,
|
| 7 |
"num_train_timesteps": 1000,
|
| 8 |
-
"set_alpha_to_one": false,
|
| 9 |
-
"skip_prk_steps": false,
|
| 10 |
"steps_offset": 1,
|
| 11 |
-
"trained_betas": null
|
| 12 |
}
|
|
|
|
| 1 |
{
|
| 2 |
+
"_class_name": "FlaxDDIMScheduler",
|
| 3 |
"_diffusers_version": "0.4.0.dev0",
|
| 4 |
"beta_end": 0.012,
|
| 5 |
"beta_schedule": "scaled_linear",
|
| 6 |
"beta_start": 0.00085,
|
| 7 |
"num_train_timesteps": 1000,
|
|
|
|
|
|
|
| 8 |
"steps_offset": 1,
|
|
|
|
| 9 |
}
|