Skip to content

[ROCm] Fix: Conditionally import torch.distributed to support builds without distributed#4017

Closed
0xDELUXA wants to merge 1 commit into
pytorch:mainfrom
0xDELUXA:fix-torch-distributed-import
Closed

[ROCm] Fix: Conditionally import torch.distributed to support builds without distributed#4017
0xDELUXA wants to merge 1 commit into
pytorch:mainfrom
0xDELUXA:fix-torch-distributed-import

Fix: conditionally import torch.distributed in nf4tensor, adam, quant…

7f5f895
Select commit
Loading
Failed to load commit list.
Meta CodeSync / Meta Import Checks succeeded Mar 14, 2026 in 0s

All checks passed, this Pull Request can be imported!

This check validates that the Pull Request can be imported to Meta internal infrastructure