fix: typo on flux model preloading (#1050)

This commit is contained in:
Zak B. Elep 2024-10-16 00:13:01 +08:00 committed by GitHub
parent bbd2003047
commit 3d62b058a4
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -77,7 +77,7 @@ if __name__ == "__main__":
nn.quantize(flux.clip, class_predicate=quantization_predicate)
if args.preload_models:
sd.ensure_models_are_loaded()
flux.ensure_models_are_loaded()
# Make the generator
latent_size = to_latent_size(args.image_size)