Text-to-Image
Diffusers
English
stable-diffusion
stable-diffusion-xl
sdxl
SD-XL 0.9
tutorial
NathMath
Run this model with HF Jobs
Run NathMath/sdxl-0.9-usage on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.
Paste one of these prompts into your coding agent:
Fine-tune on my dataset
Use HF Jobs to fine-tune https://huggingface.co/NathMath/sdxl-0.9-usage. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.
Run batch inference
Use HF Jobs to run batch inference with https://huggingface.co/NathMath/sdxl-0.9-usage on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.
Instructions to use NathMath/sdxl-0.9-usage with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use NathMath/sdxl-0.9-usage with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("NathMath/sdxl-0.9-usage", 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
Update README.md
Browse files26 unmodified lines27282930313233343536373815 unmodified lines5455565758596061625 unmodified lines6869707172737426 unmodified lines- 1. - Go to Github and find the latest version of ComfyUI, which is a cutting-edge GUI platform for you to use all kinds of diffusion models.- Note that in the link below, it provides both a standalone version (do not need an extra python environment), and a source version.- Link: https://github.com/comfyanonymous/ComfyUI- 2. - Extract all files into your disk if you have chosen the standalone version of this ComfyUI, or install all the dependences to create a essential python environment.- We recommend the first approach because we are all lazy men.15 unmodified lines- Click into the file folder of THIS REPO, and find some files named "sdxl-0.9-...-.json", which is a demo environment I have created for testing and using the stable-diffusion-xl-0.9 in ComfyUI.- Note that the 3-digit number in the file name represents the version of my demo, and always, you should download the latest one owing the biggest number.- Link: https://huggingface.co/NathMath/sdxl-0.9-usage/tree/main- 5. - When you have loaded into the ComfyUI, it will display this default interface shown below:- Then, find out the "load" button on a floating panel, click, and choose the ".json" file download from THIS REPO, it will quickly load a friendly interface to use the stable-diffusion-xl-0.9 series.5 unmodified lines- Note that it will automatically save TWO images of EACH queue, respectively before applying with the refiner, and after.- 6. - Congratulations, you have sucessfully learned how to use sdxl with FULL MODELS.26 unmodified lines2728293031323334353637383915 unmodified lines555657585960616263645 unmodified lines7071727374757626 unmodified lines- 1. - Go to Github and find the latest version of ComfyUI, which is a cutting-edge GUI platform for you to use all kinds of diffusion models.- Note that in the link below, it provides both a standalone version (do not need an extra python environment), and a source version.- We recommend the first approach because we are all lazy buddies.- Link: https://github.com/comfyanonymous/ComfyUI- 2. - Extract all files into your disk if you have chosen the standalone version of this ComfyUI, or install all the dependences to create a essential python environment.- Note that files extracted may not necessarilty be like the image shown below.15 unmodified lines- Click into the file folder of THIS REPO, and find some files named "sdxl-0.9-...-.json", which is a demo environment I have created for testing and using the stable-diffusion-xl-0.9 in ComfyUI.- Note that the 3-digit number in the file name represents the version of my demo, and always, you should download the latest one owing the biggest number.- Link: https://huggingface.co/NathMath/sdxl-0.9-usage/tree/main- 6. - When you have loaded into the ComfyUI, it will display this default interface shown below:- Then, find out the "load" button on a floating panel, click, and choose the ".json" file download from THIS REPO, it will quickly load a friendly interface to use the stable-diffusion-xl-0.9 series.5 unmodified lines- Note that it will automatically save TWO images of EACH queue, respectively before applying with the refiner, and after.- 7. - Congratulations, you have sucessfully learned how to use sdxl with FULL MODELS.
README.md+6-4