Skip to content

Commit

Permalink
refine
Browse files Browse the repository at this point in the history
  • Loading branch information
tianleiwu committed Nov 29, 2023
1 parent 1f4ee3e commit a32b2e1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -255,7 +255,7 @@ def parse_arguments(is_xl: bool, parser):
print("[I] Use --denoising_steps=4 (no more than 8) for sdxl-turbo.")
args.denoising_steps = 4
if not args.disable_refiner:
print("[I] sdxl-turbo cannot use with SDXL refiner.")
print("[I] Disable SDXL refiner to run sdxl-turbo.")
args.disable_refiner = True

if args.lcm and args.scheduler != "LCM":
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -223,7 +223,7 @@ def unet_embedding_dim(self):
return 1024
elif self.is_xl_base_or_turbo():
return 2048
elif self.version == "xl-1.0" and self.is_xl_refiner():
elif self.is_xl_refiner():
return 1280
else:
raise ValueError(f"Invalid version {self.version}")
Expand Down

0 comments on commit a32b2e1

Please sign in to comment.