Text-to-Image
Diffusers
PyTorch
StableDiffusionPipeline
stable-diffusion
diffusion-models-class
dreambooth-hackathon
food
Instructions to use kokuma/mazapan with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use kokuma/mazapan with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("kokuma/mazapan", dtype=torch.bfloat16, device_map="cuda") prompt = "a cute bunny, mazapan" image = pipe(prompt).images[0] - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- Draw Things
- DiffusionBee
Download text_encoder/pytorch_model.bin from kokuma/mazapan: direct link, hf CLI and curl.
- Browser
- Download file 492 MB
-
https://huggingface.co/kokuma/mazapan/resolve/main/text_encoder/pytorch_model.bin
- Command line
-
hf download hf://kokuma/mazapan/text_encoder/pytorch_model.bin
-
curl -L -o pytorch_model.bin https://huggingface.co/kokuma/mazapan/resolve/main/text_encoder/pytorch_model.bin
492 MB
- Xet hash:
- 9fe0ca6da9791077b4f0c4a669a68299a936563a5ebb244c4720054e9bc2ab80
- Size of remote file:
- 492 MB
- SHA256:
- af4a12a87a4c369d4ad081b4369bc6e67663e432e10297e07b84840001e6bf34
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.