this post was submitted on 20 May 2025
9 points (90.9% liked)

Free Open-Source Artificial Intelligence

3578 readers
1 users here now

Welcome to Free Open-Source Artificial Intelligence!

We are a community dedicated to forwarding the availability and access to:

Free Open Source Artificial Intelligence (F.O.S.A.I.)

More AI Communities

LLM Leaderboards

Developer Resources

GitHub Projects

FOSAI Time Capsule

founded 2 years ago
MODERATORS
 

Background: This Nomic blog article from September 2023 promises better performance in GPT4All for AMD graphics card owners.

Run LLMs on Any GPU: GPT4All Universal GPU Support

Likewise on GPT4All's GitHub page.

September 18th, 2023: Nomic Vulkan launches supporting local LLM inference on NVIDIA and AMD GPUs.

Problem: In GPT4All, under Settings > Application Settings > Device, I've selected my AMD graphics card, but I'm seeing no improvement over CPU performance. In both cases (AMD graphics card or CPU), it crawls along at about 4-5 tokens per second. The interaction in the screenshot below took 174 seconds to generate the response.

Question: Do I have to use a specific model to benefit from this advancement? Do I need to install a different AMD driver? What steps can I take to troubleshoot this?

Sorry if this is an obvious question. Sometimes I feel like the answer is right in front of me, but I'm unsure of which key words from the documentation should jump out at me.

My system info:

  • GPU: Radeon RX 6750 XT
  • CPU: Ryzen 7 5800X3D processor
  • RAM: 32 GB @ 3200 MHz
  • OS: Linux Bazzite
  • I've installed GPT4All as a flatpak
you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 3 points 4 weeks ago (4 children)

My best guess would be that you installed the flatpak version of gpt4all, and somehow that messed with it's ability to use the GPU.

Vulkan should work with your GPU, the model you chose should fit in your GPU if it is q4_0 or q4_1 which is the default in gpt4all I think.

[–] [email protected] 2 points 4 weeks ago* (last edited 4 weeks ago) (3 children)

I'll try installing non-flatpak GPT4All in a distrobox and see if I get a different result. Thanks for the idea.

[–] [email protected] 1 points 4 weeks ago (2 children)
[–] [email protected] 4 points 4 weeks ago* (last edited 4 weeks ago) (1 children)

Update: I thought I'd report back on my progress. I tried installing GPT4All in distrobox containers, several different images (Ubuntu 24.04 and 22.04, and Fedora 41), but in every case, the installation script fails due to missing dependencies. I can't get to the installer GUI. Upon further investigation, it appears that GPT4All does not support Wayland. There is an open feature request from last year, but I'm not holding my breath. I did some cursory searches for workarounds, but couldn't figure it out in the time I had available today.

[me@UbuntuTestingGpt4All ~]$ ./gpt4all-installer-linux.run 
./gpt4all-installer-linux.run: error while loading shared libraries: libxkbcommon-x11.so.0: cannot open shared object file: No such file or directory

I wonder if I would have the same issue if I tried this while running an X session on the host machine. I'll post another update if I test this scenario.

Anyway, thanks again for the tip.

[–] [email protected] 1 points 4 weeks ago