blib-la/runpod-worker-comfy

[BUG]: /opt/nvidia/nvidia_entrypoint.sh failed: Exec format error

MarlowChen opened this issue · 3 comments

Describe the bug

I used this Dockerfile to build and attempted to deploy it to my Docker without any modifications. However, when I tried to run it through RunPod, I kept encountering this error. How can I resolve this issue?

Expected behavior

build and run

Screenshots

螢幕截圖 2023-11-29 下午4 34 46

@MarlowChen thanks for reporting this bug.

Can you please share the command you used to create the image? And also tell us, which OS you are using?

@MarlowChen thanks for reporting this bug.

Can you please share the command you used to create the image? And also tell us, which OS you are using?

Thank you very much for your reply, I have found a solution. I used Mac OS, this was my own issue. Thanks again.

@MarlowChen I just updated the README.md, as there was the information missing that you need to add --platform linux/amd64 when building the image.

But we're glad that you fixed it yourself too!