~/Projects/llama.cpp
git clone https://code.lsong.org/llama.cpp
Commit
- Commit
- f7dc43bc0d759732815856183246f167111587ad
- Author
- tjohnman <[email protected]>
- Date
- 2023-03-23 01:30:23 +0100 +0100
- Diffstat
main.cpp | 3 ++-
Fix instruct mode broken by PR #354 (#409) Co-authored-by: Johnman <tjohnman@github>
diff --git a/main.cpp b/main.cpp index 4569ef2a11fbbdd1139a984b1fd863b07dee904f..431c94b52ebc5d8f024cf452eb87140a178550c7 100644 --- a/main.cpp +++ b/main.cpp @@ -300,8 +300,9 @@ " - Press Ctrl+C to interject at any time.\n" #endif " - Press Return to return control to LLaMa.\n" " - If you want to submit another line, end your input in '\\'.\n\n"); +#include "llama.h" #include "ggml.h" -#if defined (__unix__) || (defined (__APPLE__) && defined (__MACH__)) +#include <cmath> } int input_consumed = 0;