Text-to-Image
Diffusers
English
StableDiffusionPipeline
stable-diffusion
stable-diffusion-diffusers
waifu-diffusion
Instructions to use Linaqruf/hitokomoru-diffusion-v2 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use Linaqruf/hitokomoru-diffusion-v2 with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("Linaqruf/hitokomoru-diffusion-v2", dtype=torch.bfloat16, device_map="cuda") prompt = "masterpiece, best quality, 1girl, brown hair, green eyes, colorful, autumn, cumulonimbus clouds, lighting, blue sky, falling leaves, garden" image = pipe(prompt).images[0] - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- Draw Things
- DiffusionBee
About the downloaded hitokomoru-diffusion-v2.ckpt, it displays an error in SD-WebUI and cannot be read
#3
by Laoevil - opened
Dear Linaqruf, I found that the downloaded hitokomoru-diffusion-v2.ckpt is only 4.8G in size and cannot be read in SD-WebUI, which makes me very sorry, so I want to ask if you know the reason.
cannot be read? can you share screenshot of error in console or webui?
it's a v2 model, so you need to load the model with yaml file, i share it in this repo, please download it.