Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 918ff27

Browse filesBrowse files
author
Akarshan Biswas
authored
docs: Set the correct command for compiling with syscl support (abetlen#1172)
1 parent 19b55ad commit 918ff27
Copy full SHA for 918ff27

File tree

Expand file treeCollapse file tree

1 file changed

+2
-1
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+2
-1
lines changed

‎README.md

Copy file name to clipboardExpand all lines: README.md
+2-1Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,8 @@ CMAKE_ARGS="-DLLAMA_KOMPUTE=on" pip install llama-cpp-python
118118
To install with SYCL support, set the `LLAMA_SYCL=on` environment variable before installing:
119119

120120
```bash
121-
CMAKE_ARGS="-DLLAMA_SYCL=on" pip install llama-cpp-python
121+
source /opt/intel/oneapi/setvars.sh
122+
CMAKE_ARGS="-DLLAMA_SYCL=on -DCMAKE_C_COMPILER=icx -DCMAKE_CXX_COMPILER=icpx" pip install llama-cpp-python
122123
```
123124

124125
### Windows Notes

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.