5bbe6a9fe9
ggml : portability fixes for VS 2017 ( #12150 )
...
* Add include files for std::min/max and std::toupper/tolower
* win32: move _USE_MATH_DEFINES before includes to ensure M_PI is defined
* Use GGML_RESTRICT instead of "restrict" keyword everywhere, and use "__restrict" in MSVC plain C mode
* win32: only use __restrict in MSVC if C11/C17 support is not enabled
---------
Co-authored-by: Marcus Groeber <Marcus.Groeber@cerence.com >
2025-03-04 18:53:26 +02:00
mgroeber9110 and GitHub
ffd0821c57
vocab : correctly identify LF token for GPT-2 style BPE tokenizer ( #11496 )
2025-01-30 12:10:59 +02:00
mgroeber9110 and GitHub
3e2ee44315
server: do not remove whitespace at the start of a completion chunk ( #7830 )
2024-06-09 20:50:35 +10:00
mgroeber9110 and GitHub
9335b969e8
server: do not remove whitespace at the start of a completion chunk ( #7524 )
2024-05-28 14:55:51 +10:00
mgroeber9110 and GitHub
4dba7e8114
Replace "alternative" boolean operator in conditional compilation directive ( #6949 )
2024-04-27 21:02:06 +02:00
mgroeber9110 and GitHub
3fe847b574
server : do not apply Markdown formatting in code sections ( #6850 )
2024-04-24 13:54:24 +03:00
c2df36d60d
llama : consistently catch and throw only exceptions deriving from std::exception ( #1599 )
...
Co-authored-by: Georgi Gerganov <ggerganov@gmail.com >
2023-06-05 23:24:29 +03:00
mgroeber9110 and GitHub
9b0a4d4214
examples/main README improvements and some light refactoring ( #1131 )
2023-04-24 15:45:32 +00:00
mgroeber9110 and GitHub
53dbba7695
Windows: reactive sigint handler after each Ctrl-C ( #736 )
2023-04-03 18:00:55 +02:00