You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/backend/SYCL.md
+8Lines changed: 8 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -699,6 +699,14 @@ The parameters about device choose of llama.cpp works with SYCL backend rule to
699
699
700
700
It's same for other projects including llama.cpp SYCL backend.
701
701
702
+
- Meet issue: `Native API failed. Native API returns: -6 (PI_ERROR_OUT_OF_HOST_MEMORY) -6 (PI_ERROR_OUT_OF_HOST_MEMORY) -999 (UNKNOWN PI error)` or `failed to allocate SYCL0 buffer`
703
+
704
+
Device Memory is not enough.
705
+
706
+
|Reason|Solution|
707
+
|-|-|
708
+
|Default Context is too big. It leads to more memory usage.|Set `-c 8192` or smaller value.|
709
+
|Model is big and require more memory than device's.|Choose smaller quantized model, like Q5 -> Q4;<br>Use more than one devices to load model.|
702
710
703
711
### **GitHub contribution**:
704
712
Please add the **[SYCL]** prefix/tag in issues/PRs titles to help the SYCL-team check/address them without delay.
0 commit comments