]> git.djapps.eu Git - pkg/ggml/sources/llama.cpp/commit
sampling : custom samplers order (#4285)
authorMaggotHATE <redacted>
Tue, 5 Dec 2023 10:05:51 +0000 (15:05 +0500)
committerGitHub <redacted>
Tue, 5 Dec 2023 10:05:51 +0000 (12:05 +0200)
commit52c8bc3cf312e1caf02d37bfb9d9d865cbe33594
treea07536ee0a9be355f7b624f96119f443b5934817
parente4b76bbe316ee50fb17d9ac29e654c0edf830eba
sampling : custom samplers order (#4285)

* Samplers sequence order w parameter

* Cleaned commented code

* Fixed formatting

* Rewrote with unordered_map

* Revert and rewrite, too many problems and safeguards would be needed

* Fixed code style

* Code style fixes according to review

* More readable samplers input string, fixed help

* Style fix in sampler_queue

* Formatting fixes

* Fixing whitespaces
common/common.cpp
common/common.h
common/sampling.cpp
common/sampling.h
examples/main/main.cpp