[GH-ISSUE #8518] cannot find ROCM files/tools in docker image #52002

Closed
opened 2026-04-28 21:36:20 -05:00 by GiteaMirror · 1 comment
Owner

Originally created by @nicoKoehler on GitHub (Jan 21, 2025).
Original GitHub issue: https://github.com/ollama/ollama/issues/8518

I was trying to figure out which ROCM version the image was using (trying to get faster-whisper to run in docker too, so I thought this could be a lead) and could not find anything. Where would they be? Why arent there any of the typical files and folders?

System: Docker on Debian 12.5, 16GB, AMD RX 550 4GB
Docker image: ollama/ollama:rocm

Docker-compose

services:

  ollama:
    image: ollama/ollama:rocm
    container_name: ollama
    environment:
      OLLAMA_MODELS: /usr/share/ollama
      HSA_OVERRIDE_GFX_VERSION: "11.0.0"
      HIP_VISIBLE_DEVICES: "0"
    devices:
      - "/dev/kfd"
      - "/dev/dri"
    security_opt:
      - seccomp:unconfined
    cap_add:
      - SYS_PTRACE
    ipc: host
    group_add:
      - video
    volumes:
      - /home/username/.ollama:/root/.ollama
      - /home/username/ollama/models:/usr/share/ollama
    ports:
      - "11434:11434"

Running
find / -type d -name "*rocm*" 2>/dev/null

Turned up /usr/lib/ollama/runners/rocm_avx but could not find anything there.

Originally created by @nicoKoehler on GitHub (Jan 21, 2025). Original GitHub issue: https://github.com/ollama/ollama/issues/8518 I was trying to figure out which ROCM version the image was using (trying to get faster-whisper to run in docker too, so I thought this could be a lead) and could not find anything. Where would they be? Why arent there any of the typical files and folders? System: Docker on Debian 12.5, 16GB, AMD RX 550 4GB Docker image: ollama/ollama:rocm Docker-compose ``` services: ollama: image: ollama/ollama:rocm container_name: ollama environment: OLLAMA_MODELS: /usr/share/ollama HSA_OVERRIDE_GFX_VERSION: "11.0.0" HIP_VISIBLE_DEVICES: "0" devices: - "/dev/kfd" - "/dev/dri" security_opt: - seccomp:unconfined cap_add: - SYS_PTRACE ipc: host group_add: - video volumes: - /home/username/.ollama:/root/.ollama - /home/username/ollama/models:/usr/share/ollama ports: - "11434:11434" ``` Running `find / -type d -name "*rocm*" 2>/dev/null` Turned up `/usr/lib/ollama/runners/rocm_avx` but could not find anything there.
Author
Owner

@rick-github commented on GitHub (Jan 5, 2026):

Back then, libraries were packaged in the runners and extracted at runtime. Ollama currently distributes ROCm libraries in the docker image in /usr/lib/ollama/rocm.

<!-- gh-comment-id:3708748425 --> @rick-github commented on GitHub (Jan 5, 2026): Back then, libraries were packaged in the runners and extracted at runtime. Ollama currently distributes ROCm libraries in the docker image in `/usr/lib/ollama/rocm`.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/ollama#52002