llama.cpp/examples
Stephan Walter 436e561931
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>
2023-03-28 19:48:20 +03:00
..
embedding Fix missing ggml link in cmake for examples/* on w64-mingw32 (#542) 2023-03-27 07:55:26 +03:00
main all : be more strict about converting float to double (#458) 2023-03-28 19:48:20 +03:00
perplexity all : be more strict about converting float to double (#458) 2023-03-28 19:48:20 +03:00
quantize all : be more strict about converting float to double (#458) 2023-03-28 19:48:20 +03:00
alpaca.sh Move chat scripts into "./examples" 2023-03-25 20:37:09 +02:00
chat-13B.sh Move chat scripts into "./examples" 2023-03-25 20:37:09 +02:00
chat.sh If n_predict == -1, generate forever 2023-03-25 21:51:41 +02:00
CMakeLists.txt Overhaul the examples structure 2023-03-25 20:26:40 +02:00
common.cpp all : be more strict about converting float to double (#458) 2023-03-28 19:48:20 +03:00
common.h main.cpp fixes, refactoring (#571) 2023-03-28 17:09:55 +03:00