Skip to content

ggml 8de5c82360 broke image generation on Vulkan #847

@wbruna

Description

@wbruna

This revision is not yet on sd.cpp, but it's included as part of ggml 0.9.1 (8c18eabe19).

./sd -m ./dreamshaper_8.safetensors -p 'fast car' -o (...).png

Testing master-301, including ROCm as a baseline:

ROCm ROCm + ggml 8c18eabe19 Vulkan Vulkan + ggml 8c18eabe19
Image Image Image Image

Bisect points to ggml-org/ggml@8de5c82 (llama.cpp ggml-org/llama.cpp@803dac2 , PR ggml-org/llama.cpp#16056 ) :

Vulkan + ggml d98d650b62 Vulkan + ggml 8de5c82360
Image Image

Edit: the device is:

ggml_vulkan: 1 = AMD Radeon RX 7600 XT (RADV NAVI33) (radv) | uma: 0 | fp16: 1 | bf16: 0 | warp size: 64 | shared memory: 65536 | int dot: 1 | matrix cores: KHR_coopmat

My iGPU is affected too:

ggml_vulkan: 0 = AMD Radeon Vega 11 Graphics (RADV RAVEN) (radv) | uma: 1 | fp16: 1 | bf16: 0 | warp size: 64 | shared memory: 65536 | int dot: 0 | matrix cores: none

Also happens with amdvlk:

ggml_vulkan: 0 = AMD Radeon RX 7600 XT (AMD open-source driver) | uma: 0 | fp16: 1 | bf16: 0 | warp size: 64 | shared memory: 32768 | int dot: 1 | matrix cores: KHR_coopmat

This is on Debian 13, mainline amdgpu (both on mainline kernel 6.12.43 and 6.16.3 from backports), and Mesa 25.0.7 .

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions