Distribute and run LLMs with a single file.
C++ cross-platformggufllama-cpplocal-ailocal-inferencelocal-llmopen-source-aisingle-file-executablespeech-to-text
Upgrade to Cosmopolitan v3.5.1
Justine Tunney0c0e72a736d1
diff --git a/build/config.mk b/build/config.mkindex 0bf1af6b..54bbe291 100644--- a/build/config.mk+++ b/build/config.mk@@ -2,7 +2,7 @@#── vi: set noet ft=make ts=8 sw=8 fenc=utf-8 :vi ────────────────────┘PREFIX = /usr/local-COSMOCC = .cosmocc/3.4.0+COSMOCC = .cosmocc/3.5.1TOOLCHAIN = $(COSMOCC)/bin/cosmoAR = $(TOOLCHAIN)ar@@ -52,5 +52,5 @@ clean:; rm -rf o.PHONY: distcleandistclean:; rm -rf o .cosmocc-.cosmocc/3.4.0:- build/download-cosmocc.sh $@ 3.4.0 475e24b84a18973312433f5280e267acbe1b4dac1b2e2ebb3cfce46051a8c08c+.cosmocc/3.5.1:+ build/download-cosmocc.sh $@ 3.5.1 ea1f47cd4ead6ce3038551be164ad357bd45a4b5b7824871c561d2af23f871d6diff --git a/llamafile/server/main.cpp b/llamafile/server/main.cppindex 2e48aac1..0a195b44 100644--- a/llamafile/server/main.cpp+++ b/llamafile/server/main.cpp@@ -56,7 +56,7 @@ main(int argc, char* argv[]).progress_callback = nullptr,.progress_callback_user_data = nullptr,.kv_overrides = nullptr,- .vocab_only = false,+ .vocab_only = true,.use_mmap = true,.use_mlock = false,.check_tensors = false,@@ -83,8 +83,9 @@ main(int argc, char* argv[])g_server->shutdown();g_server->close();delete g_server;+ llama_free_model(g_model);LOG("exit");- // quality assurance- CheckForMemoryLeaks();+ // // quality assurance+ // CheckForMemoryLeaks();}