Text-to-Image
Diffusers
English
stable-diffusion
stable-diffusion-xl
sdxl
SD-XL 0.9
tutorial
NathMath
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 files
README.md
CHANGED
|
@@ -5,9 +5,11 @@ language:
|
|
| 5 |
library_name: diffusers
|
| 6 |
pipeline_tag: text-to-image
|
| 7 |
tags:
|
|
|
|
| 8 |
- stable-diffusion-xl
|
| 9 |
- sdxl
|
| 10 |
- SD-XL 0.9
|
|
|
|
| 11 |
- NathMath
|
| 12 |
---
|
| 13 |
|
|
@@ -79,7 +81,8 @@ tags:
|
|
| 79 |
|
| 80 |
- Positive prompts and Negative prompts in both input box are ought to be identical, but you can freely try whatever you want.
|
| 81 |
|
| 82 |
-
- 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.
|
|
|
|
| 83 |
|
| 84 |
- 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,
|
| 85 |
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 may
|
|
|
|
| 5 |
library_name: diffusers
|
| 6 |
pipeline_tag: text-to-image
|
| 7 |
tags:
|
| 8 |
+
- stable-diffusion
|
| 9 |
- stable-diffusion-xl
|
| 10 |
- sdxl
|
| 11 |
- SD-XL 0.9
|
| 12 |
+
- tutorial
|
| 13 |
- NathMath
|
| 14 |
---
|
| 15 |
|
|
|
|
| 81 |
|
| 82 |
- Positive prompts and Negative prompts in both input box are ought to be identical, but you can freely try whatever you want.
|
| 83 |
|
| 84 |
+
- The output quality of the stable-diffusion-xl-0.9 models highly depends on your prompts and parameter settings, so try to adjust them to achieve a better quality.
|
| 85 |
+
Note that these pretrained models (have not been fine tuned yet) need to be fed with enough details about your PAINTING STYLE, so try to provide sufficient information to ensure the output quality.
|
| 86 |
|
| 87 |
- 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,
|
| 88 |
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 may
|