Skip to content

[AMD Vulkan] Slow image generation, GPU is not used at 100% #2381

Description

@Karhunkaatolaulu

When generating images with any model, the GPU is not used at full capacity, the process takes much longer than, for example, in ComfyUI program. In Koboldcpp the generation process takes 10 minutes, while in ComfyUI it takes only 25 seconds. The same issue is observed in the Windows version of the program.
Using official kcppt-files from https://huggingface.co/koboldcpp/kcppt . Image models are z_image_turbo_bf16, krea2_turbo_fp8_scaled, flux-2-klein-9b-fp8 (all .safetensors).

Steps to reproduce:

  1. Execute Koboldcpp.
  2. Load kcppt-template.
  3. On the image generation tab select the manually downloaded model files.
  4. "Launch".
  5. Run any image generation in StableUI.
  6. Check GPU usage and Power Consumption in "nvtop" or similiar software.

Manjaro Linux KDE, Kernel 6.18.39, Mesa 21.6.5 and Windows 11 25H2 with the current drivers.
AMD Ryzen 7 5700X
32 GB DDR4 RAM
AMD Radeon RX 9060 XT 16GB
Nvme SSD
Koboldcpp ver. 1.118.1-nocuda

terminal.log

Image Image

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