Files

6.6 KiB

ComfyUI Custom Nodes - Final Production Deployment Guide

🎉 PRODUCTION READY STATUS 🎉

Both advanced ComfyUI custom nodes have been successfully built, tested, and are ready for production deployment.

Nodes Overview

1. Multi-LoRA Loader v02 (Filtered)

File: nodes/Multi_LoRA_Loader_v02.py Class: MultiLoRALoaderWithFiltering ComfyUI Display Name: "Multi-LoRA Loader v02 (Filtered)"

Features:

  • ✅ Load up to 8 LoRAs simultaneously
  • ✅ Advanced filtering by directory, filename, category, trigger words
  • ✅ Civitai API integration for automatic trigger word fetching
  • ✅ LoRA database integration (2635+ entries)
  • ✅ Civitai cache system (323+ entries)
  • ✅ Architecture filtering (SD1.5, SDXL, Flux, etc.)
  • ✅ Quality rating filtering
  • ✅ Robust error handling and cross-drive path support
  • ✅ Force fetch option for Civitai updates
  • ✅ Automatic trigger word injection into prompts

2. Eric's OIDNPy Denoiser V7

File: nodes/eric_oidnpy_advanced_image_denoiser_v7.py Class: EricOIDNPyAdvancedDenoiserV7 ComfyUI Display Name: "Eric's OIDNPy Denoiser V7"

Features:

  • ✅ Intel Open Image Denoise (OIDN) integration
  • ✅ Python bindings with executable fallback
  • ✅ Intel runtime DLL detection and auto-configuration
  • ✅ Force executable mode (default) to avoid DLL conflicts
  • ✅ Auto-resize/upscale logic to prevent memory issues
  • ✅ OIDN weights/quality presets with auto-selection
  • ✅ Robust error handling with Gaussian blur fallback
  • ✅ Comprehensive diagnostics and status reporting
  • ✅ Support for normal and albedo maps
  • ✅ Custom max dimension settings

Production Deployment

Step 1: Verify Installation

All files are in place and ready:

  • ✅ __init__.py - Main module initialization
  • ✅ nodes/Multi_LoRA_Loader_v02.py - Multi-LoRA Loader node
  • ✅ nodes/eric_oidnpy_advanced_image_denoiser_v7.py - OIDN Denoiser node
  • ✅ nodes/lora_tester_db.json - LoRA database (2635+ entries)
  • ✅ nodes/civitai_cache.json - Civitai cache (323+ entries)
  • ✅ OIDN_WEIGHTS_GUIDE.md - OIDN weights documentation
  • ✅ C:/oidn/build-311-bindings-ok/oidnDenoise.exe - OIDN executable

Step 2: ComfyUI Integration

  1. Restart ComfyUI to load the new nodes
  2. Check Console for any loading errors
  3. Locate Nodes in the ComfyUI interface:
    • Multi-LoRA Loader: Look in the "loaders" section
    • OIDN Denoiser: Look in the "image" processing section

Step 3: First Use Testing

  1. Multi-LoRA Loader:

    • Add node to workflow
    • Connect model and clip inputs
    • Set search filters to test functionality
    • Check filter_info output for results
    • Verify trigger words are added to prompt
  2. OIDN Denoiser:

    • Add node to workflow
    • Connect image input
    • Use default settings (force_executable=True)
    • Check status output for diagnostic info
    • Verify denoising quality

Advanced Configuration

Multi-LoRA Loader Tips

  • Filtering: Use comma-separated terms in search fields
  • Civitai Integration: Enable for automatic trigger word fetching
  • Force Fetch: Use to update existing Civitai data
  • Architecture Filtering: Filter by model type for compatibility
  • Quality Filtering: Set minimum rating to focus on higher quality LoRAs

OIDN Denoiser Tips

  • Force Executable: Keep enabled (default) to avoid DLL conflicts
  • Quality Presets: Choose based on image type and desired quality
  • Max Dimension: Adjust if experiencing memory issues
  • Weights: Use RT (real-time) for speed, HQ (high-quality) for best results
  • Diagnostics: Check status output for troubleshooting

Troubleshooting

Common Issues

Multi-LoRA Loader

  • "No LoRAs found": Check LoRA directory paths in ComfyUI settings
  • "Cross-drive path error": Node handles this automatically now
  • "Civitai API error": Check internet connection; node will continue without API

OIDN Denoiser

  • "OIDN not available": Node will use executable fallback automatically
  • "DLL errors": Force executable mode is enabled by default
  • "Memory errors": Reduce max_dimension parameter
  • "Slow performance": Check if Intel runtime DLL is detected

Debug Information

  • Multi-LoRA Loader: Check filter_info output for debugging
  • OIDN Denoiser: Check status output for diagnostic information
  • Console Logs: Both nodes provide detailed console output

Performance Optimization

Multi-LoRA Loader

  • Database and cache files are loaded once and reused
  • Filtering is applied at execution time for efficiency
  • Civitai API calls are cached to avoid repeated requests

OIDN Denoiser

  • Executable mode avoids Python binding overhead
  • Intel runtime DLL is automatically detected and used
  • Auto-resize prevents memory issues with large images
  • Quality presets optimize for different use cases

Support Files

Documentation

  • OIDN_WEIGHTS_GUIDE.md - Comprehensive OIDN weights guide
  • FINAL_DEPLOYMENT_GUIDE.md - This deployment guide

Test Scripts

  • test_civitai_integration.py - Civitai API testing
  • test_oidn_diagnostic.py - OIDN environment testing
  • test_oidn_executable_fallback.py - Executable fallback testing
  • test_oidn_weights.py - Weights and quality testing
  • test_intel_runtime_fix.py - Intel runtime DLL testing
  • production_readiness_check.py - Production readiness verification

Version Information

Multi-LoRA Loader v02

  • Version: 2.0.0
  • Date: January 2025
  • Author: Eric Hiss
  • License: Dual License (Non-Commercial/Commercial)

OIDN Denoiser V7

  • Version: 7.0.0
  • Date: January 2025
  • Author: Eric Hiss
  • License: Dual License (Non-Commercial/Commercial)

Success Metrics

Multi-LoRA Loader

  • ✅ 8 LoRA slots with individual controls
  • ✅ 2635+ LoRA database entries
  • ✅ 323+ Civitai cache entries
  • ✅ 15+ architecture types supported
  • ✅ Advanced filtering with multiple criteria
  • ✅ Robust error handling and fallback mechanisms

OIDN Denoiser

  • ✅ Python bindings + executable fallback
  • ✅ Intel runtime DLL auto-detection
  • ✅ 6 quality presets
  • ✅ Auto-resize/upscale logic
  • ✅ Comprehensive diagnostics
  • ✅ Fallback denoising for maximum compatibility

Conclusion

Both custom nodes are production-ready with comprehensive features, robust error handling, and extensive testing. They provide advanced functionality while maintaining compatibility and ease of use.

Ready for immediate deployment in production ComfyUI environments.


For support or questions, refer to the documentation files or check the console output from the nodes.