Nodes/Ray's Orenchi/πŸ’¬ Ray's LLM: Fast Qwen3-VL Infer
ComfyUI Node

πŸ’¬ Ray's LLM: Fast Qwen3-VL Infer

Generate text with ComfyUI-native Qwen models. Qwen3-VL supports optional images and Ray's fast decode path; text-only Qwen models ignore image input and use their native ComfyUI generator.

By MutantSparrowΒ·Created 4 months agoΒ·Updated 3 days agoΒ· 1
πŸ’¬ Ray's LLM: Fast Qwen3-VL Infer
  • clip
  • image
  • text
β—„promptDescribe this image in detail.β–Ί
β—„max_tokens256β–Ί
β—„temperature0.00β–Ί
β—„top_p0.90β–Ί
β—„top_k40β–Ί
β—„seed42β–Ί
β—„modefastβ–Ί
β—„sync_interval8β–Ί
β—„thinkingfalseβ–Ί
β—„repetition_penalty1.00β–Ί
β—„presence_penalty0.0β–Ί
β—„repeat_guardtrueβ–Ί
β—„generation_presetcustomβ–Ί
CategoryπŸ‘‘ Ray/πŸ’¬ LLM

Inputs (15)

NameTypeDefaultDescription
clipCLIPComfyUI-native generative Qwen text encoder: Qwen3, Qwen3.5, Qwen3-VL, or another compatible Qwen wrapper.
promptSTRINGDescribe this image in detail.Prompt for the Qwen model. The connected tokenizer owns the appropriate Qwen chat template.
max_tokensINT2561–8192Maximum generated tokens. Reaching the cap truncates the answer.
temperatureFLOAT0.000–2Sampling randomness. 0 is greedy decoding; higher values vary the wording.
top_pFLOAT0.900.01–1Nucleus sampling threshold. Ignored by greedy decoding.
top_kINT400–1000Top-k sampling limit. 0 disables it. Ignored by greedy decoding.
seedINT420–9223372036854776000Sampling seed when temperature is above 0.
imageoptIMAGEOptional image or image batch for Qwen3-VL. If the connected Qwen model is text-only, this input is ignored.
modeoptCOMBOfastfast: use Ray's optimized path when the model is a compatible Qwen3-VL; otherwise automatically use native ComfyUI generation. native: always use the model's stock ComfyUI generator.
sync_intervaloptINT81–32Qwen3-VL fast mode only: check stop tokens every N steps. May compute up to N-1 extra tokens which are discarded.
thinkingoptBOOLEANfalsePass the model's thinking-mode request through its tokenizer. Effect depends on the connected Qwen tokenizer/checkpoint.
repetition_penaltyoptFLOAT1.001–2Scale down scores of tokens already generated. 1 disables it.
presence_penaltyoptFLOAT0.00–2Discourage reusing generated tokens. Set 0 to disable.
repeat_guardoptBOOLEANtrueQwen3-VL fast mode only: stop if an identical 8–256-token phrase repeats three times.
generation_presetoptCOMBOcustomcustom uses the penalty controls (neutral defaults). anti_loop explicitly selects repetition 1.0 and presence 1.5; changes model behavior.

Outputs (1)

NameTypeDescription
textSTRINGDecoded answer from the connected Qwen model.