igorls's picture
Enable safetensors download tracking via library_name: diffusion-single-file
7f953ff verified
|
Raw History Blame Contribute Delete
2.77 kB
---
license: other
license_name: per-adapter
license_link: https://huggingface.co/igorls/universal-conditioner/blob/main/README.md
library_name: diffusion-single-file
tags:
- comfyui
- text-encoder
- adapter
- qwen-image
- minimax-h3
---
# Universal Conditioner adapters
Adapters for [ComfyUI-UniversalConditioner](https://github.com/igorls/ComfyUI-UniversalConditioner): one language model on your own server works as the text and vision encoder for several image and video models in ComfyUI, and a small adapter per model maps its hidden states into that model's conditioning space. ComfyUI loads no text encoder.
## Adapters
| Target model | File | License | Card |
| --- | --- | --- | --- |
| Qwen-Image 2.1 | [`qwen-image-2.1/unicond-qi21-v3.2-seq.safetensors`](qwen-image-2.1/unicond-qi21-v3.2-seq.safetensors) (269 MB) | Qwen Research License, non-commercial use only | [qwen-image-2.1/README.md](qwen-image-2.1/README.md) |
| MiniMax H3 | [`minimax-h3/unicond-h3-v4.4-6l-dual-seq.safetensors`](minimax-h3/unicond-h3-v4.4-6l-dual-seq.safetensors) (690 MB) | MiniMax H3 Community License, limited to its Applicable Territory | [minimax-h3/README.md](minimax-h3/README.md) |
Each adapter carries the terms of its target model, in its own folder. Read the `LICENSE` and `NOTICE` beside the file before you use it. The Qwen-Image 2.1 adapter is built with Qwen. The MiniMax H3 adapter is a Model Derivative of MiniMax H3.
## Use
1. Install the [ComfyUI-UniversalConditioner](https://github.com/igorls/ComfyUI-UniversalConditioner) node pack.
2. Put the adapter file in `ComfyUI/models/universal_conditioner/`.
3. Keep the target model's text encoder file in `ComfyUI/models/text_encoders/`. It is read from disk for its token table and is not loaded onto the GPU. For Qwen-Image 2.1 that is `qwen3vl_8b_int8_convrot.safetensors`; for MiniMax H3, `qwen3vl_32b_minimax_h3_nvfp4_awq.safetensors`.
4. Run a server that answers `POST /v1/hidden_states` with the source model loaded, and set its address on the Universal Conditioner node. The pack's README describes the request and response.
## Source model
The adapters read hidden states from Qwen3.8-27B.
- Recommended: [neroued/Qwen3.8-27B-nvfp4-NInfer](https://huggingface.co/neroued/Qwen3.8-27B-nvfp4-NInfer). Both adapters are fitted on this model.
- Also supported: [igorls/Qwen3.8-27B-Uncensored-NVFP4-NInfer](https://huggingface.co/igorls/Qwen3.8-27B-Uncensored-NVFP4-NInfer). Scores on it are slightly lower; the adapter card lists both.
## Status
Experimental. Each adapter card gives the held-out scores, the checks against the native encoder, and the known limits. For MiniMax H3, speech in Japanese is below the native encoder, and the vision projection is not shown to change renders.