recoilme commited on
Commit
34bea47
·
1 Parent(s): af9ad4a

comfyui/README: link the custom node repo, be precise about the diffusers gap

Browse files

The conditioning tensor is bit-equal to example.py (checked: max abs diff 0.0,
(1, 251, 7680)), but the image is not pixel-identical to diffusers: ComfyUI
supplies its own text-position ids and 512-token padding on top of its sampler.

Files changed (1) hide show
  1. comfyui/README.md +8 -5
comfyui/README.md CHANGED
@@ -4,7 +4,8 @@ This folder contains a ComfyUI workflow that drives **FLUX.2-klein-4B** with the
4
  **Qwen3-0.6B + adapter** text encoder instead of its native Qwen3-4B encoder.
5
 
6
  - Workflow: [`flux2_klein_qwen3_06b_adapter.json`](flux2_klein_qwen3_06b_adapter.json)
7
- - Custom node (the two `KleinAdapter` nodes): **klein-qwen3-adapter-comfyui** on GitHub.
 
8
 
9
  ## 1. Install the custom node
10
 
@@ -44,8 +45,10 @@ guidance 4.0.
44
 
45
  ## Notes
46
 
47
- The node computes the text conditioning byte-identically to `example.py` in this
48
  repo (same chat template, same layer taps `2,9,14,18,23,27`, same fp32 adapter,
49
- same `drop_first=5`). The final image differs from `diffusers` only by framework
50
- sampling (noise RNG, scheduler) — the same difference you'd see with the native
51
- klein encoder.
 
 
 
4
  **Qwen3-0.6B + adapter** text encoder instead of its native Qwen3-4B encoder.
5
 
6
  - Workflow: [`flux2_klein_qwen3_06b_adapter.json`](flux2_klein_qwen3_06b_adapter.json)
7
+ - Custom node (the two `KleinAdapter` nodes):
8
+ [github.com/recoilme/klein-qwen3-adapter-comfyui](https://github.com/recoilme/klein-qwen3-adapter-comfyui)
9
 
10
  ## 1. Install the custom node
11
 
 
45
 
46
  ## Notes
47
 
48
+ The node computes the text conditioning identically to `example.py` in this
49
  repo (same chat template, same layer taps `2,9,14,18,23,27`, same fp32 adapter,
50
+ same `drop_first=5`) — checked numerically, the two tensors are bit-equal
51
+ (`(1, 251, 7680)`, max abs diff 0.0). The image itself is then produced by
52
+ ComfyUI's own sampler (its noise, scheduler, text-position ids and 512-token
53
+ padding of the conditioning), so it is not pixel-identical to `diffusers` — the
54
+ same framework difference you'd see with the native klein encoder.