summaryrefslogtreecommitdiff
path: root/llama.cpp/examples/sycl/win-run-llama2.bat
diff options
context:
space:
mode:
authorMitja Felicijan <mitja.felicijan@gmail.com>2026-02-12 20:57:17 +0100
committerMitja Felicijan <mitja.felicijan@gmail.com>2026-02-12 20:57:17 +0100
commitb333b06772c89d96aacb5490d6a219fba7c09cc6 (patch)
tree211df60083a5946baa2ed61d33d8121b7e251b06 /llama.cpp/examples/sycl/win-run-llama2.bat
downloadllmnpc-b333b06772c89d96aacb5490d6a219fba7c09cc6.tar.gz
Engage!
Diffstat (limited to 'llama.cpp/examples/sycl/win-run-llama2.bat')
-rw-r--r--llama.cpp/examples/sycl/win-run-llama2.bat11
1 files changed, 11 insertions, 0 deletions
diff --git a/llama.cpp/examples/sycl/win-run-llama2.bat b/llama.cpp/examples/sycl/win-run-llama2.bat
new file mode 100644
index 0000000..1f2dab8
--- /dev/null
+++ b/llama.cpp/examples/sycl/win-run-llama2.bat
@@ -0,0 +1,11 @@
+:: MIT license
+:: Copyright (C) 2024 Intel Corporation
+:: SPDX-License-Identifier: MIT
+
+set INPUT2="Building a website can be done in 10 simple steps:\nStep 1:"
+@call "C:\Program Files (x86)\Intel\oneAPI\setvars.bat" intel64 --force
+
+:: support malloc device memory more than 4GB.
+set UR_L0_ENABLE_RELAXED_ALLOCATION_LIMITS=1
+set LOAD_MODE="--mmap"
+.\build\bin\llama-completion.exe -m models\llama-2-7b.Q4_0.gguf -no-cnv -p %INPUT2% -n 400 -e -ngl 99 -s 0 %LOAD_MODE%