Nodes/ComfyUI-llama-multimodal/[llama.cpp] Create Native Session
ComfyUI Node

[llama.cpp] Create Native Session

Keeps one Llama.cpp model resident until Llama.cpp Unload Session. Sessions left open during an interrupted workflow unload at prompt end. Place this before Start Loop and carry its session through End Loop.

By craftingmod·Created 2 months ago·Updated 4 days ago· 3
[llama.cpp] Create Native Session
  • model_profile
  • hardware_profile
  • reasoning
  • speculative
  • prefill_profile
  • session
◄model_path[no GGUF models found]►
◄mmproj_path[none]►
◄custom_handlerauto►
◄n_ctx8192►
◄verbosefalse►
◄custom_chat_template—►
Categoryllama_cpp/session

Inputs (11)

NameTypeDefaultDescription
model_pathCOMBO[no GGUF models found]1 options: [no GGUF models found]
mmproj_pathCOMBO[none]1 options: [none]
custom_handlerCOMBOautoA specific handler overrides Model Profile; auto keeps the profile's handler.
n_ctxINT8192512–1048576—
verboseBOOLEANfalse—
model_profileoptOLLAMA_IMAGE_LIST_LLAMA_CPP_MODEL_PROFILE—
custom_chat_templateoptSTRINGOptional custom Jinja template for this native session. When disconnected, the GGUF metadata template is used.
hardware_profileoptOLLAMA_IMAGE_LIST_LLAMA_CPP_HARDWARE_RUNTIME_PROFILE—
reasoningoptOLLAMA_IMAGE_LIST_LLAMA_CPP_REASONING_CONFIG—
speculativeoptOLLAMA_IMAGE_LIST_LLAMA_CPP_SPECULATIVE_CONFIG—
prefill_profileoptOLLAMA_IMAGE_LIST_LLAMA_CPP_PREFILL_PROFILE—

Outputs (1)

NameTypeDescription
sessionOLLAMA_IMAGE_LIST_LLAMA_CPP_SESSION—