Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

rocm package install of Comfyui keeps asking for CUDA and an Nvidia GPU but it is installed as rocm! #1171

Open
BrechtCorbeel opened this issue Feb 23, 2025 · 5 comments
Labels
bug Something isn't working

Comments

@BrechtCorbeel
Copy link

BrechtCorbeel commented Feb 23, 2025

Package

I don't get it what is this supposed to be?

When did the issue occur?

Installing the Package

What GPU / hardware type are you using?

RX 7900 XTX

What happened?

It doesn't do what it says it should

Console output

No response

Version

v2.13.3

What Operating System are you using?

Ubuntu 24.04

@BrechtCorbeel BrechtCorbeel added the bug Something isn't working label Feb 23, 2025
@BrechtCorbeel
Copy link
Author

I solved this by overwriting the pytorch files with rocm specific ones.

@BrechtCorbeel
Copy link
Author

Sadly after building another pc now it fails on the new one while this worked before.

@BrechtCorbeel
Copy link
Author

Another day has passed and the 2nd pc I installed this on is working. I guess if you build many of these systems you need to learn ubuntu and Linux from the inside out if unlucky.

What to do:

  • make sure you have rocm installed as per the latest or a compatible version from the website.

This could go wrong if it went wrong it might in my analysis be that further in the process when installing comfy through stabilitymatrix that we have issues launching a non cuda version making the system install cuda rather then rocm as it is the default.

  • remove the package initially installed or install the packages specified for Ubuntu in the Comfy manual.

There are issues with ubuntu 24. For example although using the same installation module right now i can not do anything login window etc. disappears and more. This unpredictable removal of package can cause issues.

@BrechtCorbeel
Copy link
Author

BrechtCorbeel commented Mar 6, 2025

My god are you guys F'ing with me it worked, after everything I went through it was running all the way up to ksampler then it got stuck there crashed my system and now after rebooting I am back at it asking for cuda, making my suspicions of the issue being with the rocm installation more sure, because comfyui updates is off.

I now keep getting asked for cuda again while it worked moments ago!

@BrechtCorbeel
Copy link
Author

BrechtCorbeel commented Mar 6, 2025

I got it to recognise my rx7900xtx after uninstalling torchsde. anything that could contain anything not rocm optimised can throw the whole thing off without warning or explanation. the problem now is that sde is missing which provides an error.

Reinstalling torchsde worked in the end for now, not done a run yet.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant