Skip to content

[Issue]: AttributeError: module 'torch.distributed' has no attribute 'init_process_group' #1179

@AznamirWoW

Description

@AznamirWoW

Problem Description

installed the latest torch-2.9.0a0+rocm7.0.0rc20250728-cp311-cp311-win_amd64.whl

ran a training script that had

dist.init_process_group( backend="gloo" if sys.platform == "win32" or device.type != "cuda" else "nccl", init_method="env://", world_size=n_gpus if device.type == "cuda" else 1, rank=rank if device.type == "cuda" else 0, )

Operating System

Windows 11

CPU

7600x

GPU

7900 GRE

ROCm Version

7.0.0

ROCm Component

No response

Steps to Reproduce

No response

(Optional for Linux users) Output of /opt/rocm/bin/rocminfo --support

No response

Additional Information

No response

Metadata

Metadata

Assignees

Labels

status: triageIndicates an issue has been assigned for investigation.

Type

No type

Projects

Status

TODO

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions