Skip to content

The most powerful and modular diffusion model GUI, api and backend with a graph/nodes interface. The fastest local inference engine in the world.

Add some missing imports.

comfyanonymous0b25f47bd903
diff --git a/comfy_extras/nodes_hunyuan.py b/comfy_extras/nodes_hunyuan.py
index 98f88daa4..d6408269f 100644
--- a/comfy_extras/nodes_hunyuan.py
+++ b/comfy_extras/nodes_hunyuan.py
@@ -1,3 +1,8 @@
+import nodes
+import torch
+import comfy.model_management
+
+
class CLIPTextEncodeHunyuanDiT:
@classmethod
def INPUT_TYPES(s):