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 files80 unmodified lines818283848586878880 unmodified lines- The output quality of the stable-diffusion-xl-0.9 models depends on your prompts and parameter settings, so try to adjust them to achieve a better quality.- Although ComfyUI's model moving technique (move models to VRAM when using and move back to RAM after) can significantly reduce the required VRAM usage, please note,possibly, if your models are combined with FP16 and FP32, there could be a round-off error when converting data from FP16 to FP32, or from FP16 to FP32. The main reason why it happens maymainly due to the internal codes, and because of this, you'd better RESTART the interface to reload models from your disk every 200 times, for example, to maintain precise weights and eusure best image quality.- This is not the final version of this repo. I will frequently update demos for further applications and advanced functions, so if you are interested, please like it.80 unmodified lines818283848586878880 unmodified lines- The output quality of the stable-diffusion-xl-0.9 models depends on your prompts and parameter settings, so try to adjust them to achieve a better quality.- Although ComfyUI's model moving technique (move models to VRAM when using and move back to RAM after) can significantly reduce the required VRAM use, please note,possibly, if your models are combined with FP16 and FP32, there could be a round-off error when converting data between these two formats. The main reason why it happens maymainly due to the internal codes, and because of this, you'd better RESTART the interface to reload models from your disk every 200 times, for example, to maintain precise weights and eusure best image quality.- This is not the final version of this repo. I will frequently update demos for further applications and advanced functions, so if you are interested, please like it.
README.md+2-2