Nodes/ComfyUI-Ollama-ImageList/Llama.cpp Sequential Generate
ComfyUI Node

Llama.cpp Sequential Generate

Loads llama.cpp once, resets context before every independent item, runs the input list sequentially, and unloads once after the sequence.

By craftingmod·Created 19 days ago·Updated 9 days ago· 2
Llama.cpp Sequential Generate
  • model_profile
  • hardware_profile
  • reasoning
  • speculative
  • images
  • audio
  • video
  • response
  • thinking
  • raw JSON
  • metrics
  • media diagnostics
model_path[no GGUF models found]
mmproj_path[none]
system
prompt
n_ctx8192
max_tokens512
image_max_tokens0
seed-1
stop
verbosefalse
image_min_tokens0
CategoryOllama/llama_cpp/compact

Inputs (18)

NameTypeDefaultDescription
model_pathCOMBO[no GGUF models found]1 options: [no GGUF models found]
mmproj_pathCOMBO[none]1 options: [none]
model_profileOLLAMA_IMAGE_LIST_LLAMA_CPP_MODEL_PROFILERequired output from Llama.cpp Model Profile.
systemSTRING
promptSTRING
n_ctxINT8192512–1048576
max_tokensINT5121–131072
image_max_tokensINT00–655360 uses the mmproj/handler default. A positive value overrides the per-image or per-video-frame token ceiling.
seedINT-1-1–4294967295
stopSTRING
verboseBOOLEANfalse
image_min_tokensINT00–655360 keeps the projector default. Qwen-VL grounding tasks may require 1024.
hardware_profileoptOLLAMA_IMAGE_LIST_LLAMA_CPP_HARDWARE_RUNTIME_PROFILEOptional output from Llama.cpp Hardware Runtime Profile. Disconnected uses GPU Full Offload.
reasoningoptOLLAMA_IMAGE_LIST_LLAMA_CPP_REASONING_CONFIGOptional output from Llama.cpp Thinking / Reasoning Config. Disconnected uses model-default reasoning behavior.
speculativeoptOLLAMA_IMAGE_LIST_LLAMA_CPP_SPECULATIVE_CONFIGOptional shared output from a Compact N-gram or Native Speculative Config node.
imagesoptIMAGE
audiooptAUDIO
videooptVIDEO

Outputs (5)

NameTypeDescription
responseSTRING
thinkingSTRING
raw JSONSTRING
metricsSTRING
media diagnosticsOLLAMA_IMAGE_LIST_LLAMA_CPP_MEDIA_DIAGNOSTICS