This commit is contained in:
lrzjason
2025-12-11 19:25:04 +08:00
parent f6e819f6aa
commit 8258e05688
2 changed files with 3 additions and 3 deletions
+2 -2
View File
@@ -341,8 +341,8 @@ class UNETLoader_Any:
elif weight_dtype == "fp8_e5m2":
model_options["dtype"] = torch.float8_e5m2
unet_path = folder_paths.get_full_path_or_raise("unet", unet_name)
model = comfy.sd.load_unet(unet_path, model_options=model_options, embedding_directory=folder_paths.get_folder_paths("embeddings"))
unet_path = folder_paths.get_full_path_or_raise("diffusion_models", unet_name)
model = comfy.sd.load_diffusion_model(unet_path, model_options=model_options)
return (model,)
class CLIPLoader_Any:
+1 -1
View File
@@ -1,7 +1,7 @@
[project]
name = "loaderutils"
description = ""
version = "1.0.1"
version = "1.0.2"
license = {file = "LICENSE"}
[project.urls]