Update README.md
Browse files
README.md
CHANGED
|
@@ -7,10 +7,6 @@ license: mit
|
|
| 7 |
[TAESDXL](https://github.com/madebyollin/taesd) is very tiny autoencoder which uses the same "latent API" as [SDXL-VAE](https://huggingface.co/stabilityai/sdxl-vae).
|
| 8 |
TAESDXL is useful for [real-time previewing](https://twitter.com/madebyollin/status/1679356448655163394) of the SDXL generation process.
|
| 9 |
|
| 10 |
-
Comparison on my laptop:
|
| 11 |
-
|
| 12 |
-

|
| 13 |
-
|
| 14 |
This repo contains `.safetensors` versions of the TAESDXL weights.
|
| 15 |
|
| 16 |
For SD1.x / SD2.x, use [TAESD](https://huggingface.co/madebyollin/taesd/) instead (the SD and SDXL VAEs are [incompatible](https://huggingface.co/madebyollin/sdxl-vae-fp16-fix/discussions/6#64b8a9c13707b7d603c6ac16)).
|
|
@@ -27,7 +23,9 @@ pipe = DiffusionPipeline.from_pretrained(
|
|
| 27 |
pipe.vae = AutoencoderTiny.from_pretrained("madebyollin/taesdxl", torch_dtype=torch.float16)
|
| 28 |
pipe = pipe.to("cuda")
|
| 29 |
|
| 30 |
-
prompt = "slice of delicious New York-style
|
| 31 |
-
image = pipe(prompt, num_inference_steps=
|
| 32 |
image.save("cheesecake_sdxl.png")
|
| 33 |
-
```
|
|
|
|
|
|
|
|
|
| 7 |
[TAESDXL](https://github.com/madebyollin/taesd) is very tiny autoencoder which uses the same "latent API" as [SDXL-VAE](https://huggingface.co/stabilityai/sdxl-vae).
|
| 8 |
TAESDXL is useful for [real-time previewing](https://twitter.com/madebyollin/status/1679356448655163394) of the SDXL generation process.
|
| 9 |
|
|
|
|
|
|
|
|
|
|
|
|
|
| 10 |
This repo contains `.safetensors` versions of the TAESDXL weights.
|
| 11 |
|
| 12 |
For SD1.x / SD2.x, use [TAESD](https://huggingface.co/madebyollin/taesd/) instead (the SD and SDXL VAEs are [incompatible](https://huggingface.co/madebyollin/sdxl-vae-fp16-fix/discussions/6#64b8a9c13707b7d603c6ac16)).
|
|
|
|
| 23 |
pipe.vae = AutoencoderTiny.from_pretrained("madebyollin/taesdxl", torch_dtype=torch.float16)
|
| 24 |
pipe = pipe.to("cuda")
|
| 25 |
|
| 26 |
+
prompt = "slice of delicious New York-style cheesecake topped with berries, mint, chocolate crumble"
|
| 27 |
+
image = pipe(prompt, num_inference_steps=50, generator=torch.Generator("cpu").manual_seed(0x7A35D)).images[0]
|
| 28 |
image.save("cheesecake_sdxl.png")
|
| 29 |
+
```
|
| 30 |
+
|
| 31 |
+

|