SIGN IN SIGN UP

all : be more strict about converting float to double (#458)

* Be more strict about converting float to double

* Test equivalence of round, SILU implementations

Test module is commented out in CMakeLists.txt because the tests may
take a long time, depending on how much the compiler optimizes.

* Fix softmax in perplexity.cpp

* all : prefer float over double where appropriate

* perplexity : add <cmath>

---------

Co-authored-by: Georgi Gerganov <ggerganov@gmail.com>
S
Stephan Walter committed
436e56193199a1625f8c561069f702e8840a9e08
Parent: 20e1e84
Committed by GitHub <noreply@github.com> on 3/28/2023, 4:48:20 PM