ComfyUI Node
QWEN VLM MACHINE (Safetensors)
A ComfyUI node in Qwen2-VL with 17 inputs and 1 output.
QWEN VLM MACHINE (Safetensors)
- image
- video
- text
◄model_nameQwen/Qwen2-VL-7B-Instruct►
◄quantization4bit►
◄attention_modeauto►
◄use_torch_compilefalse►
◄deviceauto►
◄preset_promptDetailed Description►
◄custom_prompt►
◄max_tokens512►
◄temperature0.60►
◄top_p0.90►
◄num_beams1►
◄repetition_penalty1.20►
◄frame_count16►
◄keep_model_loadedtrue►
◄seed0►
CategoryQwen2-VL
Inputs (17)
| Name | Type | Default | Description |
|---|---|---|---|
| model_name | STRING | Qwen/Qwen2-VL-7B-Instruct | — |
| quantization | COMBO | 4bit | 4 options: None (FP16), None (BF16), 4bit, 8bit |
| attention_mode | COMBO | auto | 4 options: auto, flash_attention_2, sdpa, eager |
| use_torch_compile | BOOLEAN | false | — |
| device | COMBO | auto | 3 options: auto, cuda, cpu |
| preset_prompt | COMBO | Detailed Description | 5 options: Custom, Detailed Description, Cinematic Description, Booru Tags, Short Caption |
| custom_prompt | STRING | — | |
| max_tokens | INT | 51264–8192 | — |
| temperature | FLOAT | 0.600–2 | — |
| top_p | FLOAT | 0.900–1 | — |
| num_beams | INT | 11–8 | — |
| repetition_penalty | FLOAT | 1.201–2 | — |
| frame_count | INT | 161–128 | — |
| keep_model_loaded | BOOLEAN | true | — |
| seed | INT | 00–18446744073709550000 | — |
| imageopt | IMAGE | — | |
| videoopt | IMAGE | — |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| text | STRING | — |