Nodes/ComfyUI-Qwen2-VL-Nodes/QWEN VLM MACHINE (Safetensors)
ComfyUI Node

QWEN VLM MACHINE (Safetensors)

A ComfyUI node in Qwen2-VL with 17 inputs and 1 output.

By Darkdevworker·Created 2 months ago·Updated 2 months ago· 0
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)

NameTypeDefaultDescription
model_nameSTRINGQwen/Qwen2-VL-7B-Instruct
quantizationCOMBO4bit4 options: None (FP16), None (BF16), 4bit, 8bit
attention_modeCOMBOauto4 options: auto, flash_attention_2, sdpa, eager
use_torch_compileBOOLEANfalse
deviceCOMBOauto3 options: auto, cuda, cpu
preset_promptCOMBODetailed Description5 options: Custom, Detailed Description, Cinematic Description, Booru Tags, Short Caption
custom_promptSTRING
max_tokensINT51264–8192
temperatureFLOAT0.600–2
top_pFLOAT0.900–1
num_beamsINT11–8
repetition_penaltyFLOAT1.201–2
frame_countINT161–128
keep_model_loadedBOOLEANtrue
seedINT00–18446744073709550000
imageoptIMAGE
videooptIMAGE

Outputs (1)

NameTypeDescription
textSTRING