]> git.djapps.eu Git - pkg/ggml/sources/llama.cpp/commit
llama : correct hparams comparison (#3446)
authorl3utterfly <redacted>
Fri, 6 Oct 2023 10:47:59 +0000 (18:47 +0800)
committerGitHub <redacted>
Fri, 6 Oct 2023 10:47:59 +0000 (13:47 +0300)
commit16820a5a0d885113f21021ce934f0b0027b9d69a
tree012fef425d65e6ac699613cd5f4167d1639fcf59
parent04b2f4386eda0264287156104cbf9d1b87895422
llama : correct hparams comparison (#3446)

* fixed floating point comparison issues

* updated implementation for hparam comparison to handle inf and NaN

* fixed code review comments

* minor simplification

* rename is_float_eq -> is_float_close

---------

Co-authored-by: Cebtenzzre <redacted>
llama.cpp