Luo-Yihong
commited on
Commit
•
27feebe
1
Parent(s):
b9aa955
Update README.md
Browse files
README.md
CHANGED
@@ -24,7 +24,7 @@ import torch
|
|
24 |
from diffusers import PixArtAlphaPipeline, LCMScheduler, Transformer2DModel, DPMSolverMultistepScheduler
|
25 |
|
26 |
transformer = Transformer2DModel.from_pretrained(
|
27 |
-
"
|
28 |
|
29 |
pipe = PixArtAlphaPipeline.from_pretrained("PixArt-alpha/PixArt-XL-2-512x512",
|
30 |
transformer=transformer,
|
|
|
24 |
from diffusers import PixArtAlphaPipeline, LCMScheduler, Transformer2DModel, DPMSolverMultistepScheduler
|
25 |
|
26 |
transformer = Transformer2DModel.from_pretrained(
|
27 |
+
"Luo-Yihong/yoso_pixart1024", torch_dtype=torch.float16).to('cuda')
|
28 |
|
29 |
pipe = PixArtAlphaPipeline.from_pretrained("PixArt-alpha/PixArt-XL-2-512x512",
|
30 |
transformer=transformer,
|