Text-to-Image
Diffusers
Safetensors
English
YunaDiffusionPipeline
diffusion
anime
from-scratch
portfolio
custom-pipeline
Instructions to use huangdffs/yshtola-from-scratch-diffusion with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use huangdffs/yshtola-from-scratch-diffusion with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("huangdffs/yshtola-from-scratch-diffusion", 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
Download model_index.json from huangdffs/yshtola-from-scratch-diffusion: direct link, hf CLI and curl.
- Browser
- Download file 456 Bytes
-
https://huggingface.co/huangdffs/yshtola-from-scratch-diffusion/resolve/main/model_index.json
- Command line
-
hf download hf://huangdffs/yshtola-from-scratch-diffusion/model_index.json
-
curl -L -o model_index.json https://huggingface.co/huangdffs/yshtola-from-scratch-diffusion/resolve/main/model_index.json
456 Bytes
| { | |
| "_class_name": "YunaDiffusionPipeline", | |
| "_diffusers_version": "0.39.0", | |
| "max_token_length": 77, | |
| "scheduler": [ | |
| "diffusers", | |
| "DDIMScheduler" | |
| ], | |
| "text_encoder": [ | |
| "transformers", | |
| "CLIPTextModel" | |
| ], | |
| "tokenizer": [ | |
| "transformers", | |
| "CLIPTokenizer" | |
| ], | |
| "unet": [ | |
| "diffusers", | |
| "UNet2DConditionModel" | |
| ], | |
| "vae": [ | |
| "diffusers", | |
| "AutoencoderKL" | |
| ], | |
| "vae_scale_factor": 8 | |
| } | |