[GH-ISSUE #7911] Inference on an AMD mid-range GPU achieves 1.5 tokens/s, while LM Studio can reach 65 tokens/s #5063

Closed
opened 2026-04-12 16:09:18 -05:00 by GiteaMirror · 1 comment
Owner

Originally created by @blizzardwj on GitHub (Dec 2, 2024).
Original GitHub issue: https://github.com/ollama/ollama/issues/7911

What is the issue?

I'm just testing out Llama 3.1 8B q4_k_m with “tell me a joke". The performance gap between them is pretty huge. I'm using Ollama + Nvidia for work, but for home fun, I went with a 7800XT. I'm wondering if the performance issue is due to my setup or a limitation in Ollama itself.

Both are running Adrenalin Edition == 24.10.1

image

OS

Windows

GPU

AMD

CPU

AMD

Ollama version

0.4.7

Originally created by @blizzardwj on GitHub (Dec 2, 2024). Original GitHub issue: https://github.com/ollama/ollama/issues/7911 ### What is the issue? I'm just testing out Llama 3.1 8B q4_k_m with “tell me a joke". The performance gap between them is pretty huge. I'm using Ollama + Nvidia for work, but for home fun, I went with a 7800XT. I'm wondering if the performance issue is due to my setup or a limitation in Ollama itself. Both are running Adrenalin Edition == 24.10.1 ![image](https://github.com/user-attachments/assets/121b7ba8-f3dd-4bc1-a1ac-fcf8148a4c4f) ### OS Windows ### GPU AMD ### CPU AMD ### Ollama version 0.4.7
GiteaMirror added the needs more infobug labels 2026-04-12 16:09:18 -05:00
Author
Owner

@rick-github commented on GitHub (Dec 2, 2024):

Server logs will aid in debugging. The usual reason for slow generation is the model running in CPU rather than GPU. For example, if LM Studio was running when you did the ollama test, there may not have beeen enough VRAM for ollama to (fully) load the model.

$ ollama run llama3.1 --verbose
>>> Hi, tell me a joke
Here's one:

What do you call a fake noodle?

An impasta!

Hope that made you laugh! Do you want to hear another one?

total duration:       478.994822ms
load duration:        32.503088ms
prompt eval count:    16 token(s)
prompt eval duration: 69ms
prompt eval rate:     231.88 tokens/s
eval count:           32 token(s)
eval duration:        375ms
eval rate:            85.33 tokens/s

Screenshot from 2024-12-02 16-52-20

<!-- gh-comment-id:2511913203 --> @rick-github commented on GitHub (Dec 2, 2024): [Server logs](https://github.com/ollama/ollama/blob/main/docs/troubleshooting.md#how-to-troubleshoot-issues) will aid in debugging. The usual reason for slow generation is the model running in CPU rather than GPU. For example, if LM Studio was running when you did the ollama test, there may not have beeen enough VRAM for ollama to (fully) load the model. ```console $ ollama run llama3.1 --verbose >>> Hi, tell me a joke Here's one: What do you call a fake noodle? An impasta! Hope that made you laugh! Do you want to hear another one? total duration: 478.994822ms load duration: 32.503088ms prompt eval count: 16 token(s) prompt eval duration: 69ms prompt eval rate: 231.88 tokens/s eval count: 32 token(s) eval duration: 375ms eval rate: 85.33 tokens/s ``` ![Screenshot from 2024-12-02 16-52-20](https://github.com/user-attachments/assets/7e5c32dc-2c2e-4c47-85f3-2e3b77a6976c)
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/ollama#5063