Skip to content

Commit 0c0e72a

Browse files
committed
Upgrade to Cosmopolitan v3.5.1
1 parent 6d3590c commit 0c0e72a

File tree

2 files changed

+7
-6
lines changed

2 files changed

+7
-6
lines changed

build/config.mk

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
#── vi: set noet ft=make ts=8 sw=8 fenc=utf-8 :vi ────────────────────┘
33

44
PREFIX = /usr/local
5-
COSMOCC = .cosmocc/3.4.0
5+
COSMOCC = .cosmocc/3.5.1
66
TOOLCHAIN = $(COSMOCC)/bin/cosmo
77

88
AR = $(TOOLCHAIN)ar
@@ -52,5 +52,5 @@ clean:; rm -rf o
5252
.PHONY: distclean
5353
distclean:; rm -rf o .cosmocc
5454

55-
.cosmocc/3.4.0:
56-
build/download-cosmocc.sh $@ 3.4.0 475e24b84a18973312433f5280e267acbe1b4dac1b2e2ebb3cfce46051a8c08c
55+
.cosmocc/3.5.1:
56+
build/download-cosmocc.sh $@ 3.5.1 ea1f47cd4ead6ce3038551be164ad357bd45a4b5b7824871c561d2af23f871d6

llamafile/server/main.cpp

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ main(int argc, char* argv[])
5656
.progress_callback = nullptr,
5757
.progress_callback_user_data = nullptr,
5858
.kv_overrides = nullptr,
59-
.vocab_only = false,
59+
.vocab_only = true,
6060
.use_mmap = true,
6161
.use_mlock = false,
6262
.check_tensors = false,
@@ -83,8 +83,9 @@ main(int argc, char* argv[])
8383
g_server->shutdown();
8484
g_server->close();
8585
delete g_server;
86+
llama_free_model(g_model);
8687
LOG("exit");
8788

88-
// quality assurance
89-
CheckForMemoryLeaks();
89+
// // quality assurance
90+
// CheckForMemoryLeaks();
9091
}

0 commit comments

Comments
 (0)