win-run-llama2.bat 422 B

1234567891011
  1. :: MIT license
  2. :: Copyright (C) 2024 Intel Corporation
  3. :: SPDX-License-Identifier: MIT
  4. set INPUT2="Building a website can be done in 10 simple steps:\nStep 1:"
  5. @call "C:\Program Files (x86)\Intel\oneAPI\setvars.bat" intel64 --force
  6. :: support malloc device memory more than 4GB.
  7. set UR_L0_ENABLE_RELAXED_ALLOCATION_LIMITS=1
  8. .\build\bin\llama-cli.exe -m models\llama-2-7b.Q4_0.gguf -p %INPUT2% -n 400 -e -ngl 99 -s 0