ComfyUI-kewky_tools

ComfyUI-kewky_tools
★ 8

调试工具显存监控文本处理动画调度
一组用于ComfyUI的实用节点:文本追加、显存/张量调试与动画输出调度,便于调试与工作流管理。
💡 在ComfyUI中调试显存与张量并管理动画输出流程。
🍴 3 Forks💻 Python🔄 2025-05-11
📦
网盘下载
复制链接后前往夸克网盘下载
https://pan.quark.cn/s/8b0992d318c3
image
image
image
image
image
image
📄 README

ComfyUI-kewky_tools

Dumb shit to make life a lil more comfy

Tools

  • text_append_node.py
  • Appends text to existing text, line by line.

  • Takes two inputs: current_text and append_text
  • Appends each line of append_text to each line of current_text
  • Useful for generating combinations of text or expanding existing text in a structured way
  • Can be used in ComfyUI workflows for text preprocessing or generation tasks
  • vramdebugplus.py
  • Monitors and manages VRAM usage.

  • Optionally clears CUDA cache and performs garbage collection
  • Can unload all models to free up VRAM
  • Provides detailed or simple reports on VRAM usage
  • Shows free VRAM before and after operations
  • Offers insights into system RAM usage
  • Useful for optimizing VRAM usage in complex ComfyUI workflows
  • tensordebugplus.py
  • This script provides detailed information about tensors and neural network models.

  • Analyzes the structure of tensors, including nested tensors and PyTorch modules
  • Reports shape, data type, device, and memory usage of tensors
  • Optionally includes gradient information and statistical measures (min, max, mean, std)
  • Provides a summary of total parameters and memory usage
  • Useful for debugging and optimizing machine learning models in ComfyUI
  • animation_schedule_output.py
  • Designed to format text input for animation keyframes.

  • Takes unformatted prompts and formats them with keyframe numbers
  • Allows setting a custom keyframe interval
  • Supports an optional offset for keyframe numbering
  • Outputs formatted text suitable for animation schedules or keyframe-based systems
  • Useful for preparing text inputs for animated or time-based ComfyUI workflows
  • ### Example pasting unformatted text

    ### Example scheduling of Interrogator output

  • open_py_feature.py
  • Adds a context menu item that will open the py file for whatever node you want to review.

    Getting Started

    To use these tools, clone the repository to your local machine using: