From 31cfbb1013a482e89c72146e2063ac4362becae7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tobias=20L=C3=BCtke?= Date: Wed, 5 Jul 2023 16:51:13 -0400 Subject: Expose generation timings from server & update completions.js (#2116) * use javascript generators as much cleaner API Also add ways to access completion as promise and EventSource * export llama_timings as struct and expose them in server * update readme, update baked includes * llama : uniform variable names + struct init --------- Co-authored-by: Georgi Gerganov --- examples/server/deps.sh | 4 ---- 1 file changed, 4 deletions(-) (limited to 'examples/server/deps.sh') diff --git a/examples/server/deps.sh b/examples/server/deps.sh index cf995162..1e9fe964 100755 --- a/examples/server/deps.sh +++ b/examples/server/deps.sh @@ -4,10 +4,6 @@ # get the directory of this script file DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )" PUBLIC=$DIR/public -OUTPUT=$DIR/templats.hpp - -echo "// Generated file, do not edit" > $OUTPUT -echo "" > $OUTPUT echo "download js bundle files" curl https://npm.reversehttp.com/@preact/signals-core,@preact/signals,htm/preact,preact,preact/hooks > $PUBLIC/index.js -- cgit v1.2.3