Skip to content

SD (Turbo) via ROCm backend fails to generate images on RX 6600 (CachyOS) #2422

Description

@soulafein83

Platform

Linux/Other (please specify)

Lemonade Version

10.8.1

GPU / APU Model

AMD RX6600 8 gb

Component

stable-diffusion.cpp

Bug Description

Describe the Bug

When trying to generate images using the SDXL-Turbo model with the sd-cpp ROCm backend, the server initializes successfully but fails during the actual image generation phase, returning a 500 error: generate_image returned no results.
Interestingly, switching to the Vulkan backend works perfectly fine with the exact same setup.
Is there a known compatibility issue with RDNA2 cards (specifically the RX 6600) and the ROCm backend in this context?

Environment

OS: CachyOS (Linux)
GPU: AMD Radeon RX 6600 (RDNA2)
System ROCm Version: 7.13.0
Model: SDXL-Turbo (sd_xl_turbo_1.0_fp16.safetensors)
Backend: sd-cpp:rocm-stable

Relevant Logs

Here is the log output from Lemonade Server showing the Auto-Tune memory allocation and the subsequent 500 error during generation:

sd_rocm.txt

Image

Steps to Reproduce

1.Load a model like SD-Turbo
2. Type "Make a picture of a black chat"
3. See the error

Expected vs Actual Behavior

No response

Log Output

Additional Context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingengine::sdstable-diffusion.cpp backend; image generation/edit/variationsruntime::rocmAMD ROCm runtime

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions