gpt4all icon indicating copy to clipboard operation
gpt4all copied to clipboard

[Feature] Support for Intel GPUs (HD Graphics, Iris Xe, Arc)

Open zwilch opened this issue 7 months ago • 10 comments

System Info

32GB RAM Intel HD 520, Win10 Intel Graphics Version 31.0.101.2111

Information

  • [X] The official example notebooks/scripts
  • [ ] My own modified scripts

Reproduction

Select GPU Intel HD Graphics 520

Expected behavior

All answhere are unreadable like

Ich The „ I … ... I „ In S _ E

_ \ ** #smith " # _ Englishimster glob Qsmith

zwilch avatar Nov 23 '23 08:11 zwilch

I can reproduce this on an Intel Arc A770 dGPU, without fail. Arch Linux, latest updates.

tazz4843 avatar Dec 02 '23 21:12 tazz4843

Same here Intel ARC A770:

Python 3.11.7 (main, Dec 18 2023, 00:00:00) [GCC 13.2.1 20231205 (Red Hat 13.2.1-6)] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> from gpt4all import GPT4All
>>> model = GPT4All("mistral-7b-openorca.Q4_0.gguf", device='intel')
llama_new_context_with_model: max tensor size =   102.55 MB
llama.cpp: using Vulkan on Intel(R) Arc(tm) A770 Graphics (DG2)
>>> 
>>> output = model.generate("The capital of Canada is ", max_tokens=10)
>>> print(output)
5 city K   
 S ,  “

goldyfruit avatar Dec 29 '23 21:12 goldyfruit

OneAPI might solve this issue, i have also seen this thread.

koech-v avatar Dec 30 '23 08:12 koech-v

GPT4ALLv2 6 1_IntelHD520 Version 2.6.1 Bug is still there

zwilch avatar Jan 29 '24 14:01 zwilch

GPT4ALLv2 6 2_IntelHD520 Version 2.6.1

Garbage output on Intel GPUs (HD 520 Graphics )

zwilch avatar Feb 05 '24 16:02 zwilch

GPT4ALLv2 7 0_IntelHD520

Gargage output on Intel GPUs (HD 520 Graphics) gpt4all V.2.7.0

zwilch avatar Feb 19 '24 07:02 zwilch

I have another problem with Arc with GPT4All, that is that it just doesn't recognize my GPU at all, leaving me the option just for CPU

TheWonderfulTartiflette avatar Feb 28 '24 17:02 TheWonderfulTartiflette

I have another problem with Arc with GPT4All, that is that it just doesn't recognize my GPU at all, leaving me the option just for CPU

This is because we recently started hiding these GPUs in the UI, such that GPT4All doesn't use them by default given that they are known not to be compatible.

cebtenzzre avatar Feb 28 '24 18:02 cebtenzzre

I have another problem with Arc with GPT4All, that is that it just doesn't recognize my GPU at all, leaving me the option just for CPU

This is because we recently started hiding these GPUs in the UI, such that GPT4All doesn't use them by default given that they are known not to be compatible.

is it possible to use them and if so how can we use them? its the only gpu that i have and cant test others

simplybel9000 avatar Apr 01 '24 12:04 simplybel9000

Intel Arc A770 with the latest llama.cpp (and SYCL enabled) works for me (on Linux). Can we enable these discrete graphics?

enzy avatar Apr 02 '24 07:04 enzy