char-fork/llama.cpp
git clone https://git.t4t.associates/char-fork/llama.cpp
ca86fb222
char/aliceai-t5-moe
1#include <clocale> 2#include <cstdio> 3#include <cstdlib> 4#include <string> 5 6int main (int argc ,char ** argv ) { 7 std::setlocale (LC_NUMERIC ,"C" ); 8 9 std::string filename = "main" ; 10if (argc >=1 ) { 11filename = argv [0 ]; 12 } 13 14// Get only the program name from the full path 15size_t pos = filename .find_last_of ("/\\" ); 16if (pos != std::string::npos ) { 17filename = filename .substr (pos + 1 ); 18 } 19 20fprintf (stdout ,"\n" ); 21fprintf (stdout ,"WARNING: The binary '%s' is deprecated.\n" ,filename .c_str ()); 22fprintf (stdout ,"Please use 'llama-mtmd-cli' instead.\n" ); 23fprintf (stdout ,"\n" ); 24 25return EXIT_FAILURE ; 26}