]> git.djapps.eu Git - pkg/ggml/sources/llama.cpp/commit
common : use enums for sampler types (#5418)
authorAlexey Parfenov <redacted>
Sun, 11 Feb 2024 13:43:31 +0000 (13:43 +0000)
committerGitHub <redacted>
Sun, 11 Feb 2024 13:43:31 +0000 (15:43 +0200)
commita803333a4e6fc534c93afe90d741bc2388bdec87
tree0f4781f58f4391691823cdabaaf604afae333155
parent684780141a08200ec98eba3e982dbafd1d0b5000
common : use enums for sampler types (#5418)

* common: use enums for sampler types

* Apply suggestions from code review

Co-authored-by: Georgi Gerganov <redacted>
* minor : spaces

---------

Co-authored-by: Georgi Gerganov <redacted>
common/common.cpp
common/common.h
common/sampling.cpp
common/sampling.h