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 <cebtenzzre@gmail.com>
L
l3utterfly committed
16820a5a0d885113f21021ce934f0b0027b9d69a
Parent: 04b2f43
Committed by GitHub <noreply@github.com>
on 10/6/2023, 10:47:59 AM