aifeifei798 commited on
Commit
8891d44
·
verified ·
1 Parent(s): 80ade67

Update feifeilib/feifeimodload.py

Browse files
Files changed (1) hide show
  1. feifeilib/feifeimodload.py +7 -3
feifeilib/feifeimodload.py CHANGED
@@ -15,10 +15,14 @@ def feifeimodload():
15
  device
16
  )
17
 
 
 
 
 
18
  pipe = DiffusionPipeline.from_pretrained(
19
- "aifeifei798/DarkIdol-flux-v1.1", torch_dtype=dtype, vae=taef1
20
  ).to(device)
21
-
22
  #pipe = DiffusionPipeline.from_pretrained(
23
  # "shuttleai/shuttle-3.1-aesthetic", torch_dtype=dtype
24
  #).to(device)
@@ -72,7 +76,7 @@ def feifeimodload():
72
  lora_scale=1.0,
73
  )
74
 
75
- #pipe.vae.enable_tiling()
76
  pipe.unload_lora_weights()
77
  torch.cuda.empty_cache()
78
  return pipe
 
15
  device
16
  )
17
 
18
+ #pipe = DiffusionPipeline.from_pretrained(
19
+ # "aifeifei798/DarkIdol-flux-v1", torch_dtype=dtype, vae=taef1
20
+ #).to(device)
21
+
22
  pipe = DiffusionPipeline.from_pretrained(
23
+ "aifeifei798/DarkIdol-flux-v1.1", torch_dtype=dtype
24
  ).to(device)
25
+
26
  #pipe = DiffusionPipeline.from_pretrained(
27
  # "shuttleai/shuttle-3.1-aesthetic", torch_dtype=dtype
28
  #).to(device)
 
76
  lora_scale=1.0,
77
  )
78
 
79
+ pipe.vae.enable_tiling()
80
  pipe.unload_lora_weights()
81
  torch.cuda.empty_cache()
82
  return pipe