Skip to content

KewkLW/ComfyUI-kewky_tools

Folders and files

NameName
Last commit message
Last commit date

Latest commit

aa74a2d · Jul 10, 2024

History

21 Commits
Jul 10, 2024
Jul 8, 2024
Jul 8, 2024
Jun 21, 2024
Jul 9, 2024
Jul 8, 2024
Jul 9, 2024
Jul 8, 2024
Jun 29, 2024
Jul 9, 2024
Jun 24, 2024
Jun 21, 2024

Repository files navigation

ComfyUI-kewky_tools

Dumb shit to make life a lil more comfy

Tools

  1. 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 image
  2. 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
  3. 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 image
  4. 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 image

    Example pasting unformatted text

    image

    Example scheduling of Interrogator output

    image

These custom nodes extend the functionality of ComfyUI, providing tools for text manipulation, VRAM management, tensor analysis, and animation scheduling. They can be particularly useful for users working with complex workflows, large models, or animation projects in ComfyUI.

Getting Started

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

cd Comfyui/custom_nodes
git clone https://github.com/KewkLW/ComfyUI-kewky_tools.git

About

Dumb shit to make life a lil more comfy

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages