CONDUIT - Non-linear inference optimizer for ComfyUI. Nodes: - ConduitCore: DAG workflow optimization - ConduitPool: 4-tier VRAM temperature system - ConduitGate: Dynamic FP32/FP16/FP8 routing - ConduitPath: Speculative multi-branch generation - ConduitSeal: Checksum-verified caching - ConduitSense: Auto workflow detection - ConduitApply: Apply optimization configs Features: - 2-3x speedup potential - RTX 40 series FP8 support - Predictive model preloading Licensed under Apache 2.0 with patent protection. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
44 lines
1.2 KiB
Python
44 lines
1.2 KiB
Python
"""Test CONDUIT nodes import"""
|
|
import sys
|
|
import os
|
|
|
|
# Add parent to path
|
|
sys.path.insert(0, os.path.dirname(os.path.dirname(os.path.abspath(__file__))))
|
|
|
|
try:
|
|
from comfyui_conduit_optimizer import NODE_CLASS_MAPPINGS, NODE_DISPLAY_NAME_MAPPINGS
|
|
|
|
print("=" * 70)
|
|
print("CONDUIT - ComfyUI Inference Optimizer - Import Test")
|
|
print("=" * 70)
|
|
print()
|
|
print(f"Total nodes loaded: {len(NODE_CLASS_MAPPINGS)}")
|
|
print()
|
|
|
|
# Group by category
|
|
categories = {}
|
|
for name, cls in NODE_CLASS_MAPPINGS.items():
|
|
cat = getattr(cls, 'CATEGORY', 'Unknown')
|
|
if cat not in categories:
|
|
categories[cat] = []
|
|
categories[cat].append((name, cls))
|
|
|
|
for cat in sorted(categories.keys()):
|
|
print(f" [{cat}]")
|
|
for name, cls in categories[cat]:
|
|
display = NODE_DISPLAY_NAME_MAPPINGS.get(name, name)
|
|
# Strip non-ASCII for console
|
|
display_clean = ''.join(c for c in display if ord(c) < 128).strip()
|
|
print(f" - {display_clean}")
|
|
print()
|
|
|
|
print("=" * 70)
|
|
print("ALL NODES IMPORTED SUCCESSFULLY")
|
|
print("=" * 70)
|
|
|
|
except Exception as e:
|
|
print(f"ERROR: {e}")
|
|
import traceback
|
|
traceback.print_exc()
|
|
sys.exit(1)
|