mirror of
https://github.com/ml-explore/mlx-examples.git
synced 2025-06-25 01:41:19 +08:00
fix: typo on flux model preloading (#1050)
This commit is contained in:
parent
bbd2003047
commit
3d62b058a4
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user