Skip to content

Is ROCM backend build for Windows is actually usable? #71

Description

@DalekoDaleko

I am having troubles running ROCM backend build with AMD Radeon RX 7900 XTX.
After some troubleshooting, I have a suspicion, that the backend package isn't actually targeting the correct platform.
Here is why I suspect so:

cmake -G "Unix Makefiles" .. -DCMAKE_C_COMPILER="${env:HIP_PATH}\bin\clang.exe" -DCMAKE_CXX_COMPILER="${env:HIP_PATH}\bin\clang++.exe" -DGGML_HIP=ON -DCMAKE_BUILD_TYPE=Release -DAMDGPU_TARGETS="gfx1100;gfx1101;gfx1030" -DGGML_RPC=ON -DSD_BUILD_SHARED_LIBS=ON

has -DGGML_HIP=ON -DAMDGPU_TARGETS="gfx1100;gfx1101;gfx1030" preprocessor directives set.
Where as instruction is https://github.com/leejet/stable-diffusion.cpp/blob/636d3cb6ff25d1ffa7267e5f6dac9f2925945606/docs/hipBLAS_on_Windows.md and the respective source code use
-DSD_HIPBLAS=ON -DAMDGPU_TARGETS=gfx1100
and GGML_HIP is only referenced in https://github.com/leejet/ggml/blob/83835ffaa0f2e68bc8530bd0a7584711789dc23b/README.md.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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