summaryrefslogtreecommitdiff
path: root/llama.cpp/examples/sycl/win-test.bat
diff options
context:
space:
mode:
Diffstat (limited to 'llama.cpp/examples/sycl/win-test.bat')
-rw-r--r--llama.cpp/examples/sycl/win-test.bat11
1 files changed, 11 insertions, 0 deletions
diff --git a/llama.cpp/examples/sycl/win-test.bat b/llama.cpp/examples/sycl/win-test.bat
new file mode 100644
index 0000000..1f2dab8
--- /dev/null
+++ b/llama.cpp/examples/sycl/win-test.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%