Nodes/comfyui-llm-wildcard-manager/🎲 LLM Sampling Options
ComfyUI Node

🎲 LLM Sampling Options

A ComfyUI node in prompt/wildcards with 10 inputs and 2 outputs.

By pclshmΒ·Created 4 months agoΒ·Updated 3 months agoΒ· 1
🎲 LLM Sampling Options
  • server
  • server
  • options
β—„use_model_default_samplingfalseβ–Ί
β—„temperature-1.00β–Ί
β—„top_k0β–Ί
β—„top_p0.00β–Ί
β—„min_p0.00β–Ί
β—„repeat_penalty1.00β–Ί
β—„context_size0β–Ί
β—„system_promptβ–Ί
β—„show_everything_in_consolefalseβ–Ί
Categoryprompt/wildcards

Inputs (10)

NameTypeDefaultDescription
serverLLM_SERVERβ€”
use_model_default_samplingoptBOOLEANfalseIf ON, drop all sampling overrides and let the model use its built-in defaults. Temperature from the base server is still applied.
temperatureoptFLOAT-1.00-1–2Override the server's temperature (-1 = keep server value). 0.0 = deterministic, 2.0 = very random.
top_koptINT00–200Sample from top K tokens (0 = disabled / not sent).
top_poptFLOAT0.000–1Nucleus sampling threshold (0.0 = not sent).
min_poptFLOAT0.000–1Minimum probability relative to the top token (0.0 = not sent).
repeat_penaltyoptFLOAT1.001–2Repetition penalty (1.0 = no penalty / not sent).
context_sizeoptINT00–131072Context window size in tokens (0 = use server default / not sent).
system_promptoptSTRINGCustom system prompt. Used only when wired into a node that reads it (e.g. Prompt Generator). Leave empty to use the consumer's defaults.
show_everything_in_consoleoptBOOLEANfalsePrint system prompt, user prompt, sampling options, and raw replies to the ComfyUI console.

Outputs (2)

NameTypeDescription
serverLLM_SERVERβ€”
optionsOPTIONSβ€”