Plato Keys
Calibrated Cross-Encoder Maps for ComfyUI
2 min readupdated
A set of pre-calibrated cross-encoder alignment maps in .safetensors format for the ComfyUI-PlatoKeys custom node. The models solve the task of aligning hidden states between text encoders of different sizes (specifically between Qwen3.5-2B and Qwen3.5-9B for MOSS-Image pipelines). This allows you to use a lighter 2B encoder alongside heavier models or vice versa, saving resources without losing quality. The tool is useful for developers and image generation enthusiasts in ComfyUI who want to optimize VRAM consumption.
Key features
- Pre-calibrated weights of 16 MB each.
- Support for bidirectional conversion between Qwen3.5-2B and Qwen3.5-9B.
- Use of Closed-form Ridge and Procrustes methods for optimal alignment.
- Full integration with the ComfyUI-PlatoKeys custom node.
What you can do
- Set up an image generation pipeline in ComfyUI using a lightweight 2B encoder instead of bulky models.
- Connect different versions of Qwen3.5 text models to work with MOSS-Image.
- Experiment with various alignment methods (Ridge, Procrustes, PCA-Procrustes).
Example
Install the ComfyUI-PlatoKeys extension into the ComfyUI/custom_nodes folder, place the key file in ComfyUI/models/plato_keys/, and connect it via the Load Plato Key and Plato Key Encode nodes before feeding into the KSampler.
Read more
DetailsFiles: .safetensors (around 16 MB each)
Dataset: 2,000 diverse text prompts (75,116 training tokens)
Metrics: TokCos up to 0.9433, R² up to 0.8384 (for Ridge in reverse direction)










Comments