summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 4efdf6e..7267ff9 100644
--- a/Makefile
+++ b/Makefile
@@ -1,5 +1,5 @@
MAKEFLAGS += -j4
-MEX_ASSURE="cc docker"
+MEX_ASSURE="cc docker wget"
include makext.mk
@@ -21,6 +21,10 @@ llamacpp: .assure # Build llama.cpp libraries
cmake ../ -DBUILD_SHARED_LIBS=OFF && \
make -j8
+fetchmodels: .assure # Fetch GGUF models
+ -mkdir -p models
+ cd models && wget -nc -i ../models.txt
+
docker: .assure # Runs prompt in Docker container
docker build -t promptd .
docker run -it promptd bash