From 918ff27e501f621ab7d511a9c71c0783d870082c Mon Sep 17 00:00:00 2001 From: Akarshan Biswas Date: Mon, 12 Feb 2024 00:25:15 +0530 Subject: [PATCH] docs: Set the correct command for compiling with syscl support (#1172) --- README.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index bddef64..59a7cd4 100644 --- a/README.md +++ b/README.md @@ -118,7 +118,8 @@ CMAKE_ARGS="-DLLAMA_KOMPUTE=on" pip install llama-cpp-python To install with SYCL support, set the `LLAMA_SYCL=on` environment variable before installing: ```bash -CMAKE_ARGS="-DLLAMA_SYCL=on" pip install llama-cpp-python +source /opt/intel/oneapi/setvars.sh +CMAKE_ARGS="-DLLAMA_SYCL=on -DCMAKE_C_COMPILER=icx -DCMAKE_CXX_COMPILER=icpx" pip install llama-cpp-python ``` ### Windows Notes