Skip to content

Commit

Permalink
Upgrade to Cosmopolitan v3.5.1
Browse files Browse the repository at this point in the history
  • Loading branch information
jart committed Jun 24, 2024
1 parent 6d3590c commit 0c0e72a
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
6 changes: 3 additions & 3 deletions build/config.mk
Original file line number Diff line number Diff line change
Expand Up @@ -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.1
TOOLCHAIN = $(COSMOCC)/bin/cosmo

AR = $(TOOLCHAIN)ar
Expand Down Expand Up @@ -52,5 +52,5 @@ clean:; rm -rf o
.PHONY: distclean
distclean:; 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 ea1f47cd4ead6ce3038551be164ad357bd45a4b5b7824871c561d2af23f871d6
7 changes: 4 additions & 3 deletions llamafile/server/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand All @@ -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();
}

0 comments on commit 0c0e72a

Please sign in to comment.