use precision determined by model management

This commit is contained in:
sALTaccount 2023-04-06 00:28:06 -07:00
parent 3d16077e38
commit 42fd67b5cb
1 changed files with 1 additions and 1 deletions

View File

@ -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: