ComfyUI Node
T5Gemma Text Encoder
A ComfyUI node in llm_sdxl with 6 inputs and 3 outputs.
T5Gemma Text Encoder
- llm_model
- llm_tokenizer
- hidden_states
- attention_mask
- info
◄textmasterpiece, best quality, 1girl, anime style►
◄max_length512►
◄devicecuda►
◄dtypebfloat16►
Categoryllm_sdxl
Inputs (6)
| Name | Type | Default | Description |
|---|---|---|---|
| llm_model | LLM_MODEL | — | |
| llm_tokenizer | LLM_TOKENIZER | — | |
| text | STRING | masterpiece, best quality, 1girl, anime style | — |
| max_length | INT | 5128–4096 | — |
| device | COMBO | cuda | 2 options: cpu, cuda |
| dtype | COMBO | bfloat16 | 2 options: float32, bfloat16 |
Outputs (3)
| Name | Type | Description |
|---|---|---|
| hidden_states | LLM_HIDDEN_STATES | — |
| attention_mask | LLM_ATTENTION_MASK | — |
| info | STRING | — |