docs: Set the correct command for compiling with syscl support (#1172)

This commit is contained in:
Akarshan Biswas 2024-02-12 00:25:15 +05:30 committed by GitHub
parent 19b55ad3e5
commit 918ff27e50
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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