Bump version to 1.0.4 and add torch import

Update pyproject.toml version from 1.0.3 to 1.0.4 and add a missing `import torch` in nodes.py. The change ensures the nodes module can reference torch where needed and records the new package version.
This commit is contained in:
Maxed-Out-99
2026-02-22 00:04:15 -08:00
parent e4e8f827cd
commit b7f561c389
2 changed files with 2 additions and 1 deletions
+1
View File
@@ -12,6 +12,7 @@ import comfy.model_patcher
import comfy.model_management
import folder_paths
import nodes
import torch
from .ops import GGMLOps, move_patch_to_device
from .loader import gguf_sd_loader, gguf_clip_loader
+1 -1
View File
@@ -1,7 +1,7 @@
[project]
name = "smartmodelloaders-mxd"
description = "Smart, unified model loaders for ComfyUI that support both standard .safetensors and quantized .gguf formats — no switching nodes required. Includes flexible UNET and CLIP loaders that work across models like SDXL, SD3, Flux, and more."
version = "1.0.3"
version = "1.0.4"
license = {file = "LICENSE"}
# classifiers = [
# # For OS-independent nodes (works on all operating systems)