Skip to content

Krea 2: use Qwen3-VL-2B instead of 4B as the text encoder (adapter + ComfyUI node)

1 / 6
Krea 2: use Qwen3-VL-2B instead of 4B as the text encoder (adapter + ComfyUI node)
1440 × 2236 · PNG · 3.7 MB Original file
Krea 2: use Qwen3-VL-2B instead of 4B as the text encoder (adapter + ComfyUI node)
1440 × 1352 · PNG · 1.9 MB Original file
Krea 2: use Qwen3-VL-2B instead of 4B as the text encoder (adapter + ComfyUI node)
1440 × 1352 · PNG · 2.0 MB Original file
Krea 2: use Qwen3-VL-2B instead of 4B as the text encoder (adapter + ComfyUI node)
1440 × 1608 · PNG · 1.9 MB Original file
Krea 2: use Qwen3-VL-2B instead of 4B as the text encoder (adapter + ComfyUI node)
1440 × 1352 · PNG · 2.0 MB Original file
Krea 2: use Qwen3-VL-2B instead of 4B as the text encoder (adapter + ComfyUI node)
1440 × 1320 · PNG · 2.0 MB Original file

It's an adapter and a custom node for ComfyUI that lets you use Qwen3-VL-2B as the text encoder for Krea 2 instead of the original Qwen3-VL-4B. Made it after I received noice response with the MOSS Image adapters

The adapter takes the 2B encoder's output and projects it into what Krea 2 expects from the 4B. The Krea 2 model and VAE stay the same, and you write prompts in the normal CLIP Text Encode node.

The motivation was mainly to save storage and memory while encoding. For INT8 ConvRot, the encoder goes from 4.86 GB (4B) to 1.74 GB (text-only 2B), plus a ~126 MB adapter, so 1.87 GB in total. Against a text-only 4B (4.05 GB) it's still a 54% saving.

On my GTX 1660 Super, encoding used about 2.3 GiB less VRAM and 2.1 GB less peak RAM. Over a full generation the diffusion model dominates, so don't expect your overall peak to drop much.

Inspired by ComfyUI-ClipProj

It's not identical to the 4B, of course. In my comparisons it stays close on composition and subjects, including multi-subject prompts, but details differ. In the lake scene, the moose that should be drinking looks like it's grazing. In the market scene, the counter that should hide the fishmonger's legs doesn't. Rendered text is the weakest point, especially Chinese signage.

Installation

Clone it into your ComfyUI/custom_nodes folder:

git clone https://github.com/bakapotatolord/krea2-smaller-encoder

Start ComfyUI once and it creates models/krea2_encoder_adapters. Put the adapter there and the 2B encoder in models/text_encoders, then restart.

The text-only encoder logs a bunch of "Missing weight for layer visual..." warnings on load. That's expected. It also means no image inputs.

Usage

In Load CLIP, select the 2B encoder and set type to krea2. Then:

Load CLIP -> Krea 2 Smaller Encoder Adapter -> CLIP Text Encode -> KSampler

There's a workflow.json in the repo too.

GitHub: https://github.com/bakapotatolord/krea2-smaller-encoder

HuggingFace: https://huggingface.co/PotatoForge/krea2-qwen3vl-2b-encoder-adapter

How it was trained

Fitted on 4,160 prompts (English captions and tag lists, Chinese captions, JSON and layout-style prompts). On 836 held-out prompts it gets 0.931 cosine similarity and 0.364 relative L2 against the 4B features, measured after Krea 2's txtfusion and txtmlp. Those are feature numbers, not image-quality scores.

Since it only replaces the text encoder output, I'd expect it to work with finetunes, but I haven't tested that. Text encoder LoRAs made for the 4B aren't supported.

Disclaimer

This is vibe coded-ish. I used AI heavily for the research, code and experiments, while I reviewed the steps and checked the results.

Hoping to get some feedback on this.

1 points0 comments
Open on Reddit
About this post
Posted
Archived
Score
1 · 100% up
Kind
Gallery · 6 files
ID
1yctvui

Author

9
posts
68
comments
12
media
View profile

1 comment

That's a smart move for keeping the workflow snappy on mid-range cards. I've been trying to balance encoder depth with VRAM overhead lately, and cutting that 54% is huge when you want to keep the rest of your latent space clear for higher resolutions.

1 points

Keyboard shortcuts

Move and act

jork
Next / previous post or comment
Enteroro
Open the post
f
Open the media viewer
s
Save
h
Hide (the toast has Undo)
Tab
Right after an action: the toast's Undo
x
Collapse the comment
v
Next layout: cards, compact, grid

Go to

/
Search
gthenh
Home
gthena
All
gthens
Subreddits
gthenl
Library
?
This list
Esc
Close a menu or this list

In the viewer

←or→
Previous / next file
↑or↓
Previous / next post
korj
Previous / next post
Space
Play / pause
m
Mute
z
Zoom
s
Save
o
Open the post (on its own page: back to it)
Esc
Close

Keys do nothing while you type in a box.