Save 4 hours! We auto-setup your workflow! Free!

Drop your workflow.json — we handle every dependency, custom node, and model. Just open the link and run.

Auto-Setup Workflow Json (Free) Now!
ComfyUI > Nodes > ComfyUI-ClipProj

ComfyUI Extension: ComfyUI-ClipProj

Repo Name

ComfyUI-ClipProj

Author
nicolab28 (Account age: 2505 days)
Nodes
View all nodes(5)
Latest Updated
2026-08-12
Github Stars
0.06K

How to Install ComfyUI-ClipProj

Install this extension via the ComfyUI Manager by searching for ComfyUI-ClipProj
  • 1. Click the Manager button in the main menu
  • 2. Select Custom Nodes Manager button
  • 3. Enter ComfyUI-ClipProj in the search bar
After installation, click the Restart button to restart ComfyUI. Then, manually refresh your browser to clear the cache and access the updated list of nodes.

Visit ComfyUI Online for ready-to-use ComfyUI environment

  • Free trial available
  • 16GB VRAM to 80GB VRAM GPU machines
  • 400+ preloaded models/nodes
  • Freedom to upload custom models/nodes
  • 200+ ready-to-run workflows
  • 100% private workspace with up to 200GB storage
  • Dedicated Support

Run ComfyUI Online

ComfyUI-ClipProj Description

ComfyUI-ClipProj enhances ComfyUI by integrating CLIP-based projection capabilities, enabling advanced text-to-image and image-to-text transformations. It optimizes creative workflows by leveraging CLIP's powerful semantic understanding.

ComfyUI-ClipProj Introduction

ComfyUI-ClipProj is an innovative extension designed to optimize the use of text encoders in diffusion models by swapping a large text encoder with a smaller one, using a learned linear projection. This extension is particularly useful for AI artists who work with video generation and need to manage VRAM efficiently. By reducing the size of the text encoder, ComfyUI-ClipProj helps in freeing up valuable VRAM resources, allowing for smoother and more efficient processing without compromising the quality of the output. This extension is a proof of concept, meaning it is functional but still in the experimental stage, and users should be prepared for potential changes and updates.

How ComfyUI-ClipProj Works

At its core, ComfyUI-ClipProj operates by replacing a large text encoder with a smaller one, using a learned linear map to project the smaller encoder's output into the space expected by the diffusion model. Imagine you have a large, complex machine that processes text into a format that a video generator can understand. ComfyUI-ClipProj simplifies this machine by using a smaller, more efficient version and a smart conversion tool (the linear projection) to ensure the output remains compatible with the video generator. This process involves encoding prompts with both the large and small models, learning the differences, and applying a mathematical transformation to bridge the gap.

ComfyUI-ClipProj Features

  • Efficient VRAM Usage: By using a smaller text encoder, ComfyUI-ClipProj significantly reduces VRAM consumption, making it ideal for setups with limited resources.
  • Seamless Integration: The extension integrates smoothly with existing workflows, requiring no rewiring of the diffusion model.
  • Customizable Projections: Users can choose from different projection matrices to suit their specific needs, ensuring flexibility in how text is processed.
  • Multi-GPU Support: For users with multiple GPUs, the extension allows for specific allocation of resources, optimizing performance.

ComfyUI-ClipProj Models

ComfyUI-ClipProj supports different models, each suited for various tasks:

  • Qwen3-VL-4B: A smaller model that outputs 2560 dimensions, ideal for setups with limited VRAM.
  • Qwen3-VL-8B: A slightly larger model with 4096 dimensions, offering a balance between performance and resource usage. Each model requires a corresponding projection matrix, which can be found on Hugging Face.

What's New with ComfyUI-ClipProj

Recent updates have focused on improving the stability and efficiency of the extension:

  • Version 0.1.8: Improved handling of int8 encoders outside resident mode, preventing failures due to dequantization issues.
  • Version 0.1.4: Enhanced memory management, ensuring that VRAM is freed before loading new models, reducing the risk of out-of-memory errors.
  • Version 0.1.3: Improved handling of pinned encoders, ensuring they are released when no longer needed, optimizing resource usage.

Troubleshooting ComfyUI-ClipProj

Here are some common issues and solutions:

  • Issue: The extension fails to load a model.

  • Solution: Ensure that the correct projection matrix is used for the chosen encoder. Check that the encoder and matrix are compatible.

  • Issue: Out-of-memory errors during model loading.

  • Solution: Use the stock loader for single GPU setups to manage memory more efficiently. Ensure that previous models are properly released before loading new ones.

  • Issue: Unexpected output quality.

  • Solution: Verify that the correct projection matrix is applied. Run control matrices to ensure the learned projection is functioning as expected.

Learn More about ComfyUI-ClipProj

For those interested in diving deeper into ComfyUI-ClipProj, several resources are available:

  • CALIBRATION.md: Detailed documentation on the calibration process and pipeline.
  • MEASUREMENTS.md: Comprehensive data and methods used for measuring the extension's performance.
  • Community Forums: Engage with other AI artists and developers to share experiences and solutions. These resources provide valuable insights and support for maximizing the potential of ComfyUI-ClipProj in your creative projects.

ComfyUI-ClipProj Related Nodes

RunComfy
Copyright 2025 RunComfy. All Rights Reserved.

RunComfy is the premier ComfyUI platform, offering ComfyUI online environment and services, along with ComfyUI workflows featuring stunning visuals. RunComfy also provides AI Models, enabling artists to harness the latest AI tools to create incredible art.

ComfyUI-ClipProj detailed guide | ComfyUI