Skip to content

Support for Intel iGPU? #1725

Answered by mudler
DenuxPlays asked this question in Q&A
Feb 19, 2024 · 3 comments · 1 reply
Discussion options

You must be logged in to vote

Intel GPU is supported with sycl and, specifically sycl images.

While documentation is not there yet, you can already use the sycl images, for instance:

docker run -ti -p 8080:8080 -v $PWD/models:/build/models \
   --rm -e DEBUG=1 -e GGML_SYCL_DEVICE=0 \
   --device /dev/dri:/dev/dri -t \
   quay.io/go-skynet/local-ai:v2.8.2-sycl-f32-ffmpeg-core https://gist.githubusercontent.com/mudler/103de2576a8fd4b583f9bd53f4e4cefd/raw/9181d4add553326806b8fdbf4ff0cd65d2145bff/phi-2-sycl.yaml

If you are running it manually (by copying models config file into the model directory), mind to disable mmap. I also suggest to disable f16 which otherwise would yield into poor results.

Replies: 3 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Answer selected by DenuxPlays
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@fakezeta
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
5 participants