[GH-ISSUE #8644] Endpoint to verify if Ollama is running on the GPU or the CPU #67654

Closed
opened 2026-05-04 11:14:16 -05:00 by GiteaMirror · 2 comments
Owner

Originally created by @ragranados on GitHub (Jan 29, 2025).
Original GitHub issue: https://github.com/ollama/ollama/issues/8644

Hi!

I think it would be useful to have and endpoint (or maybe this information to be part of another one, like ps for example) that tells you if you are using the GPU or the CPU.

Originally created by @ragranados on GitHub (Jan 29, 2025). Original GitHub issue: https://github.com/ollama/ollama/issues/8644 Hi! I think it would be useful to have and endpoint (or maybe this information to be part of another one, like `ps for example`) that tells you if you are using the GPU or the CPU.
GiteaMirror added the feature request label 2026-05-04 11:14:16 -05:00
Author
Owner

@rick-github commented on GitHub (Jan 29, 2025):

$ curl -s localhost:11434/api/ps | jq '.models[].size_vram'
6119991978
1221157120
<!-- gh-comment-id:2620312095 --> @rick-github commented on GitHub (Jan 29, 2025): ```console $ curl -s localhost:11434/api/ps | jq '.models[].size_vram' 6119991978 1221157120 ```
Author
Owner

@ragranados commented on GitHub (Jan 29, 2025):

Thanks @rick-github ! It worked for our use case :)

<!-- gh-comment-id:2622845616 --> @ragranados commented on GitHub (Jan 29, 2025): Thanks @rick-github ! It worked for our use case :)
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/ollama#67654