prithivMLmods
commited on
Commit
•
6c8c36a
1
Parent(s):
1494dbe
Upload 4 files
Browse files- README.md +35 -0
- dpo_turbo_robot.jpeg +0 -0
- model_index.json +33 -0
- sdxl_dpo_turbo.safetensors +3 -0
README.md
ADDED
@@ -0,0 +1,35 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
license: other
|
3 |
+
pipeline_tag: text-to-image
|
4 |
+
tags:
|
5 |
+
- text-to-image
|
6 |
+
- turbo
|
7 |
+
- stable-diffusion
|
8 |
+
- stable-diffusion-xl
|
9 |
+
- dpo
|
10 |
+
widget:
|
11 |
+
- text: 'rusty robot cartoon'
|
12 |
+
output:
|
13 |
+
url: dpo_turbo_robot.jpeg
|
14 |
+
inference:
|
15 |
+
parameters:
|
16 |
+
num_inference_steps: 8
|
17 |
+
---
|
18 |
+
|
19 |
+
## Merge of SDXL Turbo & SDXL DPO
|
20 |
+
|
21 |
+
<Gallery />
|
22 |
+
|
23 |
+
Read their licences before using it.
|
24 |
+
|
25 |
+
## `*.safetensors` for AUTOMATIC1111, ComfyUI, InvokeAI
|
26 |
+
[Download *.safetensors file](https://huggingface.co/thibaud/sdxl_dpo_turbo/resolve/main/sdxl_dpo_turbo.safetensors?download=true)
|
27 |
+
|
28 |
+
## Use it with 🧨 diffusers
|
29 |
+
```python
|
30 |
+
from diffusers import AutoPipelineForText2Image
|
31 |
+
import torch
|
32 |
+
|
33 |
+
pipeline = AutoPipelineForText2Image.from_pretrained('thibaud/sdxl_dpo_turbo', torch_dtype=torch.float16).to('cuda')
|
34 |
+
image = pipeline('A mecha robot in a favela', num_inference_steps=2).images[0]
|
35 |
+
```
|
dpo_turbo_robot.jpeg
ADDED
model_index.json
ADDED
@@ -0,0 +1,33 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_class_name": "StableDiffusionXLPipeline",
|
3 |
+
"_diffusers_version": "0.22.0.dev0",
|
4 |
+
"force_zeros_for_empty_prompt": true,
|
5 |
+
"scheduler": [
|
6 |
+
"diffusers",
|
7 |
+
"EulerDiscreteScheduler"
|
8 |
+
],
|
9 |
+
"text_encoder": [
|
10 |
+
"transformers",
|
11 |
+
"CLIPTextModel"
|
12 |
+
],
|
13 |
+
"text_encoder_2": [
|
14 |
+
"transformers",
|
15 |
+
"CLIPTextModelWithProjection"
|
16 |
+
],
|
17 |
+
"tokenizer": [
|
18 |
+
"transformers",
|
19 |
+
"CLIPTokenizer"
|
20 |
+
],
|
21 |
+
"tokenizer_2": [
|
22 |
+
"transformers",
|
23 |
+
"CLIPTokenizer"
|
24 |
+
],
|
25 |
+
"unet": [
|
26 |
+
"diffusers",
|
27 |
+
"UNet2DConditionModel"
|
28 |
+
],
|
29 |
+
"vae": [
|
30 |
+
"diffusers",
|
31 |
+
"AutoencoderKL"
|
32 |
+
]
|
33 |
+
}
|
sdxl_dpo_turbo.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:5131a84f8013fbf566edf93752ea27099d7870c0474fda58aeedc0c283078b83
|
3 |
+
size 6939226994
|