Generate higher resolution images, such as 2048x2048 or 4096x4096, from diffusion models like Flux or Stable Diffusion 3.
Decode images on a GPU with limited memory using the staged, memory-saving workflow.
Add caption-guided decoding to an existing ComfyUI image generation pipeline.
Automatically download the correct PiD checkpoint for your chosen model backbone.
| merserk/comfyui-pid | develp10/rustinterviewquiestions | fukikomarga/exodus-fake-balance | |
|---|---|---|---|
| Stars | 48 | 48 | 48 |
| Language | Python | Python | Python |
| Setup difficulty | hard | moderate | moderate |
| Complexity | 4/5 | 2/5 | 2/5 |
| Audience | developer | developer | general |
Figures from each repo's GitHub metadata at analysis time.
Requires a GPU-based ComfyUI setup plus downloading model-specific PiD checkpoints.
ComfyUI-PiD is a plugin for ComfyUI, a node-based image generation interface, that adds support for NVIDIA's PiD (pixel diffusion) decoding method. PiD is an alternative way to convert the internal mathematical representation that diffusion models work with (called a latent) into a final visible image. Unlike the standard decoder bundled with most image generation models, PiD takes additional inputs: a text caption describing the image content and a numerical value called sigma that controls the decoding behavior. The plugin works with several image generation model families including Flux, Flux2, Stable Diffusion 3, and others. Depending on the backbone, the plugin selects an appropriate PiD checkpoint trained for that architecture. The scale option controls how much the output is enlarged compared to the base latent size, with common settings producing images at 2048x2048 or 4096x4096 pixels. For systems with limited graphics memory, the plugin offers a staged workflow that splits the decoding process across several nodes. The most memory-intensive computation step runs in a separate Python subprocess so its GPU memory is released when it finishes, rather than held alongside everything else already loaded in ComfyUI. Additional options allow individual model blocks to be processed sequentially rather than all at once, trading speed for lower peak memory usage. Installation involves cloning the repository into ComfyUI's custom_nodes folder and installing the Python dependencies listed in requirements.txt. The plugin can download the necessary PiD source code and model weights automatically on first use if the auto_download option is enabled. PyTorch is not included in the requirements because ComfyUI already provides it. The plugin is a community-built wrapper around NVIDIA's publicly released PiD code and is not an official NVIDIA or ComfyUI project. NVIDIA's model weights may have their own usage terms separate from this plugin's MIT license.
A ComfyUI plugin adding NVIDIA's PiD decoding method for turning diffusion model output into high-resolution images.
Mainly Python. The stack also includes Python, ComfyUI, PyTorch.
Use freely for any purpose, including commercial use, as long as you keep the copyright notice. NVIDIA's own model weights may carry separate terms.
Setup difficulty is rated hard, with roughly 1h+ to a first successful run.
Mainly developer.
This repo across BitVibe Labs
Verify against the repo before relying on details.