-
Notifications
You must be signed in to change notification settings - Fork 0
changed image #3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|
| @@ -1,4 +1,4 @@ | ||||||||||
| FROM ollama/ollama:0.17.7 | ||||||||||
| FROM ollama/ollama:rocm | ||||||||||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
The previous tag
Suggested change
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 🧩 Analysis chain🏁 Script executed: #!/bin/bash
# Verify whether compose/deployment config exposes AMD ROCm devices.
rg -n -C3 'devices:|/dev/kfd|/dev/dri|device_cgroup_rules|group_add' docker-compose.ymlRepository: appwrite/docker-ollama Length of output: 48 🏁 Script executed: #!/bin/bash
# Check if docker-compose files exist and their locations
find . -name "*docker-compose*" -type f 2>/dev/nullRepository: appwrite/docker-ollama Length of output: 86 🏁 Script executed: #!/bin/bash
# List files at the repository root to understand structure
ls -la | head -30Repository: appwrite/docker-ollama Length of output: 590 🏁 Script executed: #!/bin/bash
# Check the contents of docker-compose.yml if it exists at root
if [ -f "docker-compose.yml" ]; then
cat -n docker-compose.yml
fiRepository: appwrite/docker-ollama Length of output: 554 Add AMD GPU device configuration to expose ROCm acceleration. The Dockerfile uses 🤖 Prompt for AI Agents🧩 Analysis chain🌐 Web query:
💡 Result: The current immutable digest for ollama/ollama:rocm is sha256:e6777885093e. It supports the linux/amd64 platform exclusively, as indicated by the OS/ARCH listing on Docker Hub tags page for the rocm tag (last pushed 2 days ago, aligning with today's date of 2026-03-30 given recent updates). No other platforms like arm64 are listed for rocm, unlike the latest tag. Citations:
Pin Using a floating tag makes builds non-deterministic and can introduce unreviewed runtime changes. The current Suggested change-FROM ollama/ollama:rocm
+FROM ollama/ollama:rocm@sha256:e6777885093e📝 Committable suggestion
Suggested change
🤖 Prompt for AI Agents |
||||||||||
|
|
||||||||||
| # Preload specific models | ||||||||||
| ARG MODELS | ||||||||||
|
|
||||||||||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The
ollama/ollama:rocmtag is specifically built for AMD GPUs using the ROCm framework. Switching to this tag means the image will no longer work for users running on NVIDIA GPUs (CUDA) or CPU-only environments — which are far more common deployment targets.The original
ollama/ollama:0.17.7is a multi-backend image that supports NVIDIA, Apple Silicon (Metal), and CPU inference. Replacing it with the ROCm variant is a significant regression in hardware compatibility.If AMD GPU support is needed, consider instead using a build argument or a separate Dockerfile variant rather than changing the default image. If the intent truly is AMD-only, this needs to be explicitly documented and communicated to users of this project.