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

comfyui won't build with rocm, due to broken python3.12-torch-2.5.1 #107

Open
AshleyYakeley opened this issue Feb 4, 2025 · 5 comments
Open

Comments

@AshleyYakeley
Copy link

I set:

acceleration = "rocm";
rocmOverrideGfx = "10.3.0";

I get this during evaluation:

error: Package ‘python3.12-torch-2.5.1’ in /nix/store/p6ccgjymrlv4wwnxkx9hbhz0rbd5mnlr-source/pkgs/development/python-modules/torch/default.nix:691 is marked as broken, refusing to evaluate.
@MatthewCroughan
Copy link
Member

As highlighted in the README.md:

Image

If you think you can fix it via overlays and more, then please make a PR and I can test and merge it :D

@AshleyYakeley
Copy link
Author

Do you know why python3.12-torch-2.5.1 has been marked broken?

@MatthewCroughan
Copy link
Member

Yes, because there is not enough time or resources in Nixpkgs to maintain ROCM, so any fixes you find should be contributed there, and-or applied in an overlay here. In general ROCM stuff is pretty poorly supported in many distributions since AMD is also seemingly not very deeply invested in making things work properly, and attempts to make AMD GPUs work with CUDA get taken down https://www.phoronix.com/news/AMD-ZLUDA-CUDA-Taken-Down

@AshleyYakeley
Copy link
Author

Hmm, ROCM seems to work fine with the ollama in nixpkgs. Or does that not use PyTorch?

@AshleyYakeley
Copy link
Author

Tracking issue: NixOS/nixpkgs#197885

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants