InvokeAI icon indicating copy to clipboard operation
InvokeAI copied to clipboard

[bug]: ROCm docker container doesn't work

Open ai-mind opened this issue 2 months ago • 1 comments

Is there an existing issue for this problem?

  • [x] I have searched the existing issues

Install method

Manual

Operating system

Linux

GPU vendor

AMD (ROCm)

GPU model

RX 7900 GRE

GPU VRAM

16gb gddr6

Version number

6.8

Browser

No response

System Information

No response

What happened

Bitsandbytes compiled incorrectly. I tried pulling latest invokeai:main-rocm, invokeai:6.4-rocm, and build the image manually. All methods return the same.

bitsandbytes library load error: Configured CUDA binary not found at /opt/venv/lib/python3.12/site-packages/bitsandbytes/libbitsandbytes_rocm63.so Traceback (most recent call last): File "/opt/venv/lib/python3.12/site-packages/bitsandbytes/cextension.py", line 290, in lib = get_native_library() ^^^^^^^^^^^^^^^^^^^^ File "/opt/venv/lib/python3.12/site-packages/bitsandbytes/cextension.py", line 270, in get_native_library raise RuntimeError(f"Configured CUDA binary not found at {cuda_binary_path}") RuntimeError: Configured CUDA binary not found at /opt/venv/lib/python3.12/site-packages/bitsandbytes/libbitsandbytes_rocm63.so

What you expected to happen

Expect quantization to work

How to reproduce the problem

No response

Additional context

No response

Discord username

No response

ai-mind avatar Sep 21 '25 03:09 ai-mind

Same issue, I remember back in the days having to patch a rocm version of Bitsandbytes for another project.

light-on-shadow avatar Sep 29 '25 14:09 light-on-shadow

👀 but I don't have that hardware so I might need help testing changes...

heathen711 avatar Nov 10 '25 21:11 heathen711