update README
Browse files
README.md
CHANGED
@@ -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.
|
|
|
112 |
import torch
|
113 |
from diffusers import StableDiffusionXLPipeline, EulerDiscreteScheduler
|
114 |
|
115 |
+
pipe = StableDiffusionXLPipeline.from_pretrained("etri-vilab/koala-lightning-1b", torch_dtype=torch.float16)
|
116 |
pipe = pipe.to("cuda")
|
117 |
|
118 |
# Ensure sampler uses "trailing" timesteps and "sample" prediction type.
|