ComfyUI Node
LLM Sampling Config
A ComfyUI node in π SimpleQwenVL with 11 inputs and 1 output.
LLM Sampling Config
- config
βmax_tokens2048βΊ
βtemperature0.70βΊ
βtop_p0.95βΊ
βmin_p0.05βΊ
βtop_k40βΊ
βrepeat_penalty1.10βΊ
βpresence_penalty0.0βΊ
βfrequency_penalty0.0βΊ
βimage_min_tokens0βΊ
βimage_max_tokens0βΊ
βconfig_overrideββΊ
Categoryπ SimpleQwenVL
Inputs (11)
| Name | Type | Default | Description |
|---|---|---|---|
| max_tokens | INT | 204816β32768 | Max output tokens. Thinking models need 4096+. |
| temperature | FLOAT | 0.700β2 | 0.1=focused, 0.7=balanced, 1.2+=creative. Lower = more deterministic. |
| top_p | FLOAT | 0.950β1 | Nucleus sampling: cumulative probability cutoff. Lower = more focused. |
| min_p | FLOAT | 0.050β1 | Cut off tokens with prob < min_p * (top_token_prob). Great for reducing garbage. |
| top_k | INT | 400β500 | Limit to top-K tokens. 0 = disabled. Good for strict output. |
| repeat_penalty | FLOAT | 1.101β2 | Penalty for repeating tokens. >1.0 discourages loops. |
| presence_penalty | FLOAT | 0.0-2β2 | Penalize tokens that appeared at all. >0 encourages new topics. |
| frequency_penalty | FLOAT | 0.0-2β2 | Penalize tokens by frequency. >0 reduces repetition of common words. |
| image_min_tokens | INT | 00β8192 | Min tokens for image embedding. 0 = not set |
| image_max_tokens | INT | 00β16384 | Max tokens for image embedding. 0 = not set |
| config_overrideopt | STRING | β |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| config | STRING | β |