update
Browse files
README.md
CHANGED
@@ -22,7 +22,7 @@ tags:
|
|
22 |
|
23 |
|
24 |
|
25 |
-
# KOALA-Lightning-
|
26 |
|
27 |
### Summary
|
28 |
- Trained using a **self-attention-based knowledge distillation** method
|
@@ -44,10 +44,10 @@ As text-to-image (T2I) synthesis models increase in size, they demand higher inf
|
|
44 |
<br>
|
45 |
|
46 |
|
47 |
-
These 1024x1024 samples are generated by KOALA-700M with
|
48 |
|
49 |
<div align="center">
|
50 |
-
<img src="https://dl.
|
51 |
</div>
|
52 |
|
53 |
|
@@ -112,7 +112,7 @@ The inference code with denoising step 25
|
|
112 |
import torch
|
113 |
from diffusers import StableDiffusionXLPipeline, EulerDiscreteScheduler
|
114 |
|
115 |
-
pipe = StableDiffusionXLPipeline.from_pretrained("etri-vilab/koala-lightning-
|
116 |
pipe = pipe.to("cuda")
|
117 |
|
118 |
# Ensure sampler uses "trailing" timesteps and "sample" prediction type.
|
|
|
22 |
|
23 |
|
24 |
|
25 |
+
# KOALA-Lightning-700M Model Card
|
26 |
|
27 |
### Summary
|
28 |
- Trained using a **self-attention-based knowledge distillation** method
|
|
|
44 |
<br>
|
45 |
|
46 |
|
47 |
+
These 1024x1024 samples are generated by KOALA-Lightning-700M with 10 denoising steps.
|
48 |
|
49 |
<div align="center">
|
50 |
+
<img src="https://dl.dropbox.com/scl/fi/fjpw93dbrl8xc8pwljclb/teaser_final.png?rlkey=6kf216quj6am8y20nduhenva2&dl=1" width="1024px" />
|
51 |
</div>
|
52 |
|
53 |
|
|
|
112 |
import torch
|
113 |
from diffusers import StableDiffusionXLPipeline, EulerDiscreteScheduler
|
114 |
|
115 |
+
pipe = StableDiffusionXLPipeline.from_pretrained("etri-vilab/koala-lightning-700m", torch_dtype=torch.float16)
|
116 |
pipe = pipe.to("cuda")
|
117 |
|
118 |
# Ensure sampler uses "trailing" timesteps and "sample" prediction type.
|