Yihong Luo
commited on
Commit
•
a4063f4
1
Parent(s):
ff9d7df
Update README.md
Browse files
README.md
CHANGED
@@ -9,7 +9,7 @@ This model is fine-tuning from PixArt, enabling one-step inference to perform te
|
|
9 |
from diffusers import PixArtAlphaPipeline, LCMScheduler, Transformer2DModel, DPMSolverMultistepScheduler
|
10 |
|
11 |
transformer = Transformer2DModel.from_pretrained(
|
12 |
-
"Yihong666/
|
13 |
|
14 |
pipe = PixArtAlphaPipeline.from_pretrained("./models--PixArt-alpha--PixArt-XL-2-512x512",
|
15 |
transformer=transformer,
|
|
|
9 |
from diffusers import PixArtAlphaPipeline, LCMScheduler, Transformer2DModel, DPMSolverMultistepScheduler
|
10 |
|
11 |
transformer = Transformer2DModel.from_pretrained(
|
12 |
+
"Yihong666/yoso_pixart1024", torch_dtype=torch.float16).to('cuda')
|
13 |
|
14 |
pipe = PixArtAlphaPipeline.from_pretrained("./models--PixArt-alpha--PixArt-XL-2-512x512",
|
15 |
transformer=transformer,
|