mirror of
https://github.com/MacRimi/ProxMenux.git
synced 2026-11-02 10:52:22 +00:00
fix(oci): run Ollama and llama.cpp on Intel and AMD integrated GPUs
This commit is contained in:
@@ -51,9 +51,60 @@
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "vulkan",
|
||||
"label": "Intel/AMD (Vulkan)",
|
||||
"architectures": [
|
||||
"amd64"
|
||||
],
|
||||
"image": {
|
||||
"reference": "ollama/ollama:latest",
|
||||
"registry": "docker.io",
|
||||
"repository": "ollama/ollama",
|
||||
"tag": "latest",
|
||||
"digest": null,
|
||||
"pull_policy": "resolve-selected-tag-to-architecture-digest-at-install"
|
||||
},
|
||||
"device_requests": [
|
||||
{
|
||||
"id": "gpu-render",
|
||||
"path_prompt": "GPU render device",
|
||||
"host_path_default": "/dev/dri/renderD128",
|
||||
"mode": "0660",
|
||||
"deny_write": false,
|
||||
"gid_strategy": "host-device-gid",
|
||||
"kind": "character-device",
|
||||
"container_path_strategy": "same-as-host",
|
||||
"drm_vendor_ids": [
|
||||
"0x8086",
|
||||
"0x1002"
|
||||
]
|
||||
}
|
||||
],
|
||||
"environment": [
|
||||
{
|
||||
"name": "OLLAMA_IGPU_ENABLE",
|
||||
"value": "1"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "rocm",
|
||||
"label": "AMD (ROCm)",
|
||||
"amd_gfx_targets": [
|
||||
90008,
|
||||
90010,
|
||||
90402,
|
||||
90500,
|
||||
100300,
|
||||
110000,
|
||||
110001,
|
||||
110002,
|
||||
110500,
|
||||
110501,
|
||||
120000,
|
||||
120001
|
||||
],
|
||||
"architectures": [
|
||||
"amd64"
|
||||
],
|
||||
@@ -89,6 +140,12 @@
|
||||
"kind": "character-device",
|
||||
"container_path_strategy": "same-as-host"
|
||||
}
|
||||
],
|
||||
"environment": [
|
||||
{
|
||||
"name": "OLLAMA_IGPU_ENABLE",
|
||||
"value": "1"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user