llama.cpp
sampling: make top_n_sigma no-op at <=0 rather than <0
#13345
Merged

Commits
  • sampling: make nsigma == 0 a no-op
    DocShotgun committed 1 year ago
  • sampling: short-circuit nsigma when cur_p <= 1
    DocShotgun committed 1 year ago
  • sampling: fix top_n_sigma == 0 test to reflect new behavior
    DocShotgun committed 1 year ago
  • sampling: additional context to top_n_sigma test change
    DocShotgun committed 1 year ago
Loading