|
--- |
|
library_name: diffusers |
|
--- |
|
|
|
# yujiepan/stable-diffusion-3-tiny-random |
|
|
|
This pipeline is intended from debugging. It is adapted from [stabilityai/stable-diffusion-3-medium-diffusers](https://huggingface.co/stabilityai/stable-diffusion-3-medium-diffusers) with smaller size and randomly initialized parameters. |
|
|
|
## Usage |
|
```python |
|
import torch |
|
from diffusers import StableDiffusion3Pipeline |
|
|
|
pipe = StableDiffusion3Pipeline.from_pretrained("yujiepan/stable-diffusion-3-tiny-random", torch_dtype=torch.float16) |
|
pipe = pipe.to("cuda") |
|
|
|
image = pipe( |
|
"A cat holding a sign that says hello world", |
|
negative_prompt="", |
|
num_inference_steps=2, |
|
guidance_scale=7.0, |
|
).images[0] |
|
image |
|
``` |