create test.sh to enhance the parameters for testing, update the guide, rm useless script (#19243)

This commit is contained in:
Neo Zhang
2026-02-01 18:24:00 +08:00
committed by GitHub
parent 41ea26144e
commit 2634ed207a
6 changed files with 149 additions and 59 deletions
+11
View File
@@ -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%