Nodes Browser
ComfyDeploy: How ColorMatrixGPU Node for ComfyUI works in ComfyUI?
What is ColorMatrixGPU Node for ComfyUI?
This node applies a custom 4x4 color matrix to an image using GPU acceleration via PyTorch.
How to install it in ComfyDeploy?
Head over to the machine page
- Click on the "Create a new machine" button
- Select the
Edit
build steps - Add a new step -> Custom Node
- Search for
ColorMatrixGPU Node for ComfyUI
and select it - Close the build step dialig and then click on the "Save" button to rebuild the machine
ColorMatrixGPU Node for ComfyUI
Overview
This node applies a custom 4x4 color matrix to an image using GPU acceleration via PyTorch.
Installation
- Ensure PyTorch with CUDA support is installed:
pip install torch torchvision
- Place
colormatrix_gpu_node.py
in yourcustom_nodes
folder of ComfyUI.
Usage
- Add the node
ColorMatrixGPU
in ComfyUI. - Provide an image input.
- Input a 4x4 color matrix in comma-separated format (16 float values).
Example Matrix
1,0,0,0, 0,1,0,0, 0,0,1,0, 0,0,0,1
License
MIT License