Spaces:
Paused
Paused
use dream8
Browse files- pulid/pipeline.py +1 -1
pulid/pipeline.py
CHANGED
@@ -37,7 +37,7 @@ class PuLIDPipeline:
|
|
37 |
self.device = 'cuda'
|
38 |
|
39 |
# SG161222/RealVisXL_V5.0_Lightning, lykon/dreamshaper-xl-lightning
|
40 |
-
self.pipe = AutoPipelineForText2Image.from_pretrained('
|
41 |
self.hack_unet_attn_layers(self.pipe.unet)
|
42 |
self.pipe = self.pipe.to(self.device)
|
43 |
|
|
|
37 |
self.device = 'cuda'
|
38 |
|
39 |
# SG161222/RealVisXL_V5.0_Lightning, lykon/dreamshaper-xl-lightning
|
40 |
+
self.pipe = AutoPipelineForText2Image.from_pretrained('lykon/dreamshaper-xl-lightning', torch_dtype=torch.float16, variant="fp16")
|
41 |
self.hack_unet_attn_layers(self.pipe.unet)
|
42 |
self.pipe = self.pipe.to(self.device)
|
43 |
|