Skip to content

[ROCm] Support building PyTorch with GLOO on Windows #461

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

jammm
Copy link

@jammm jammm commented Aug 7, 2025

Helps fix imports for transformers lib which seems to import torch.distributed. ROCm/TheRock#1202
It may or may not help in proper WIndows support for torch.distributed (since RCCL isn't on Windows atm), but it does let us build pytorch w/ USE_DISTRIBUTED=ON, which helps fix import errors like the above, so users on their single GPU systems can run comfyui without facing import errors.

Tested on Windows w/ PyTorch main branch via. TheRock.

@Nem404
Copy link

Nem404 commented Aug 14, 2025

@jammm sorry if I’m being impatient, but since this PR was approved, could it be merged?

@jammm
Copy link
Author

jammm commented Aug 14, 2025

@jammm sorry if I’m being impatient, but since this PR was approved, could it be merged?

It's not up to me to merge this unfortunately. The gloo maintainers need to merge it. It's my first PR here actually, so not sure of the exact flow.

@Nem404
Copy link

Nem404 commented Aug 14, 2025

It's not up to me to merge this unfortunately. The gloo maintainers need to merge it. It's my first PR here actually, so not sure of the exact flow.

Oh, I didn’t know that. Np, then we’ll wait for them.
I just thought anything is welcome that could help with: ROCm/TheRock#1202

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

Successfully merging this pull request may close these issues.

4 participants