Add files using upload-large-folder tool
Browse files- README.md +112 -3
- checkpoints/sdxl/sdxl-base.safetensors +3 -0
- checkpoints/sdxl/sdxl-turbo.safetensors +3 -0
README.md
CHANGED
|
@@ -1,3 +1,112 @@
|
|
| 1 |
-
---
|
| 2 |
-
license:
|
| 3 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: openrail++
|
| 3 |
+
library_name: diffusers
|
| 4 |
+
pipeline_tag: text-to-image
|
| 5 |
+
tags:
|
| 6 |
+
- text-to-image
|
| 7 |
+
- stable-diffusion
|
| 8 |
+
- sdxl
|
| 9 |
+
- image-generation
|
| 10 |
+
- placeholder
|
| 11 |
+
base_model: stabilityai/stable-diffusion-xl-base-1.0
|
| 12 |
+
---
|
| 13 |
+
|
| 14 |
+
# Stable Diffusion XL (SDXL) Model Repository
|
| 15 |
+
|
| 16 |
+
This directory is reserved for Stable Diffusion XL models and related components.
|
| 17 |
+
|
| 18 |
+
## Repository Status
|
| 19 |
+
|
| 20 |
+
**Current Status**: Empty / Placeholder
|
| 21 |
+
|
| 22 |
+
This directory structure is prepared for future SDXL model storage but currently contains no model files.
|
| 23 |
+
|
| 24 |
+
## Intended Contents
|
| 25 |
+
|
| 26 |
+
When populated, this directory would typically contain:
|
| 27 |
+
|
| 28 |
+
### SDXL Base Models
|
| 29 |
+
- `sdxl-base-1.0.safetensors` - Base SDXL model (6.94GB)
|
| 30 |
+
- `sdxl-refiner-1.0.safetensors` - Refiner model (6.08GB)
|
| 31 |
+
|
| 32 |
+
### Text Encoders
|
| 33 |
+
- CLIP-G and CLIP-L text encoders
|
| 34 |
+
- OpenCLIP-ViT-bigG encoder
|
| 35 |
+
|
| 36 |
+
### VAE
|
| 37 |
+
- SDXL VAE for latent encoding/decoding
|
| 38 |
+
|
| 39 |
+
### Optional Components
|
| 40 |
+
- LoRA adapters
|
| 41 |
+
- ControlNet models
|
| 42 |
+
- IP-Adapter models
|
| 43 |
+
|
| 44 |
+
## Model Information
|
| 45 |
+
|
| 46 |
+
**Stable Diffusion XL** is a state-of-the-art text-to-image generation model featuring:
|
| 47 |
+
- Larger UNet backbone (2.6B parameters)
|
| 48 |
+
- Dual text encoders for better prompt understanding
|
| 49 |
+
- 1024x1024 native resolution
|
| 50 |
+
- Two-stage pipeline (base + refiner)
|
| 51 |
+
|
| 52 |
+
## Hardware Requirements (When Populated)
|
| 53 |
+
|
| 54 |
+
**SDXL Base**:
|
| 55 |
+
- VRAM: 8GB minimum, 12GB+ recommended
|
| 56 |
+
- Disk Space: ~14GB for base + refiner
|
| 57 |
+
- Memory: 16GB+ system RAM
|
| 58 |
+
|
| 59 |
+
**SDXL with Refiner**:
|
| 60 |
+
- VRAM: 12GB minimum, 16GB+ recommended
|
| 61 |
+
- Better quality with two-stage generation
|
| 62 |
+
|
| 63 |
+
## Usage Example (Reference)
|
| 64 |
+
|
| 65 |
+
```python
|
| 66 |
+
from diffusers import DiffusionPipeline
|
| 67 |
+
import torch
|
| 68 |
+
|
| 69 |
+
# Load SDXL base model (when available)
|
| 70 |
+
pipe = DiffusionPipeline.from_pretrained(
|
| 71 |
+
"stabilityai/stable-diffusion-xl-base-1.0",
|
| 72 |
+
torch_dtype=torch.float16,
|
| 73 |
+
use_safetensors=True,
|
| 74 |
+
variant="fp16"
|
| 75 |
+
)
|
| 76 |
+
|
| 77 |
+
pipe.to("cuda")
|
| 78 |
+
|
| 79 |
+
# Generate image
|
| 80 |
+
image = pipe(
|
| 81 |
+
prompt="a beautiful mountain landscape",
|
| 82 |
+
num_inference_steps=50
|
| 83 |
+
).images[0]
|
| 84 |
+
|
| 85 |
+
# Load refiner (optional)
|
| 86 |
+
refiner = DiffusionPipeline.from_pretrained(
|
| 87 |
+
"stabilityai/stable-diffusion-xl-refiner-1.0",
|
| 88 |
+
torch_dtype=torch.float16,
|
| 89 |
+
use_safetensors=True,
|
| 90 |
+
variant="fp16"
|
| 91 |
+
)
|
| 92 |
+
|
| 93 |
+
# Refine image
|
| 94 |
+
refined_image = refiner(
|
| 95 |
+
prompt="a beautiful mountain landscape",
|
| 96 |
+
image=image
|
| 97 |
+
).images[0]
|
| 98 |
+
```
|
| 99 |
+
|
| 100 |
+
## License
|
| 101 |
+
|
| 102 |
+
Stable Diffusion XL is released under the CreativeML Open RAIL++-M license, which permits commercial use with certain restrictions.
|
| 103 |
+
|
| 104 |
+
## Official Resources
|
| 105 |
+
|
| 106 |
+
- [SDXL Base Model](https://huggingface.co/stabilityai/stable-diffusion-xl-base-1.0)
|
| 107 |
+
- [SDXL Refiner](https://huggingface.co/stabilityai/stable-diffusion-xl-refiner-1.0)
|
| 108 |
+
- [SDXL Documentation](https://huggingface.co/docs/diffusers/using-diffusers/sdxl)
|
| 109 |
+
|
| 110 |
+
---
|
| 111 |
+
|
| 112 |
+
**Note**: This is currently an empty placeholder directory. Download SDXL models from Hugging Face and place them here for local storage and usage.
|
checkpoints/sdxl/sdxl-base.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:31e35c80fc4829d14f90153f4c74cd59c90b779f6afe05a74cd6120b893f7e5b
|
| 3 |
+
size 6938078334
|
checkpoints/sdxl/sdxl-turbo.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:2e58e3704b4c0831bf848e0507c9b5ff2cd8d007b8d0719dba3874156f631050
|
| 3 |
+
size 13875761366
|