From 42fd67b5cb0de9bd1228af7a93dec08b2f1486c3 Mon Sep 17 00:00:00 2001 From: sALTaccount Date: Thu, 6 Apr 2023 00:28:06 -0700 Subject: [PATCH] use precision determined by model management --- nodes.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nodes.py b/nodes.py index 1af62887..8271da04 100644 --- a/nodes.py +++ b/nodes.py @@ -235,7 +235,7 @@ class DiffusersLoader: def load_checkpoint(self, model_path, output_vae=True, output_clip=True): model_path = os.path.join(folder_paths.models_dir, 'diffusers', model_path) - return load_diffusers(model_path, fp16=True, output_vae=output_vae, output_clip=output_clip, embedding_directory=folder_paths.get_folder_paths("embeddings")) + return load_diffusers(model_path, fp16=model_management.should_use_fp16(), output_vae=output_vae, output_clip=output_clip, embedding_directory=folder_paths.get_folder_paths("embeddings")) class unCLIPCheckpointLoader: