Skip to content

Remove redundant softmax callbacks#2289

Open
CasualAutopsy wants to merge 2 commits into
LostRuins:concedo_experimentalfrom
CasualAutopsy:concedo_experimental
Open

Remove redundant softmax callbacks#2289
CasualAutopsy wants to merge 2 commits into
LostRuins:concedo_experimentalfrom
CasualAutopsy:concedo_experimental

Conversation

@CasualAutopsy

Copy link
Copy Markdown

Removes unneeded softmax calculations since nearly every sampler applies it before base sampler calculations.

For the sake of keeping old presets the same, I've added the boolean norm_minp which makes it so that Min P calculates token softmax before applying Min P itself.

Samplers that have had redundant softmax calculations removed:

  • Top N Sigma
  • Smooth Sampling
  • Dyna. Temp.

@CasualAutopsy CasualAutopsy marked this pull request as ready for review June 26, 2026 21:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant