Ver código fonte

fix(docker): add missing libglvnd libraries to Vulkan image (#18664)

Add libglvnd0, libgl1, libglx0, libegl1, libgles2 to the Vulkan
Dockerfile base image. These libraries are required by mesa-vulkan-drivers
to properly initialize the Vulkan ICD and detect GPU devices.

Without these libraries, vkEnumeratePhysicalDevices() returns an empty
list, resulting in "ggml_vulkan: No devices found." error.

Fixes #17761
R 3 semanas atrás
pai
commit
ae9f8df778
1 arquivos alterados com 1 adições e 0 exclusões
  1. 1 0
      .devops/vulkan.Dockerfile

+ 1 - 0
.devops/vulkan.Dockerfile

@@ -33,6 +33,7 @@ FROM ubuntu:$UBUNTU_VERSION AS base
 
 RUN apt-get update \
     && apt-get install -y libgomp1 curl libvulkan1 mesa-vulkan-drivers \
+    libglvnd0 libgl1 libglx0 libegl1 libgles2 \
     && apt autoremove -y \
     && apt clean -y \
     && rm -rf /tmp/* /var/tmp/* \