mirror of
https://github.com/n8n-io/self-hosted-ai-starter-kit.git
synced 2026-03-15 08:48:08 +01:00
Add AMD GPU support on Linux (#16)
This commit is contained in:
@@ -115,6 +115,14 @@ services:
|
||||
count: 1
|
||||
capabilities: [gpu]
|
||||
|
||||
ollama-gpu-amd:
|
||||
profiles: ["gpu-amd"]
|
||||
<<: *service-ollama
|
||||
image: ollama/ollama:rocm
|
||||
devices:
|
||||
- "/dev/kfd"
|
||||
- "/dev/dri"
|
||||
|
||||
ollama-pull-llama-cpu:
|
||||
profiles: ["cpu"]
|
||||
<<: *init-ollama
|
||||
@@ -126,3 +134,10 @@ services:
|
||||
<<: *init-ollama
|
||||
depends_on:
|
||||
- ollama-gpu
|
||||
|
||||
ollama-pull-llama-gpu-amd:
|
||||
profiles: [gpu-amd]
|
||||
<<: *init-ollama
|
||||
image: ollama/ollama:rocm
|
||||
depends_on:
|
||||
- ollama-gpu-amd
|
||||
|
||||
Reference in New Issue
Block a user