Closed hummat closed 2 months ago
Using LFQ with DDP fails with AttributeError: module 'torch.distributed' has no attribute 'nn'. Using from torch.distributed import nn as dist_nn seems to work, which is strange.
AttributeError: module 'torch.distributed' has no attribute 'nn'
from torch.distributed import nn as dist_nn
@hummat oops, fixed!
Using LFQ with DDP fails with
AttributeError: module 'torch.distributed' has no attribute 'nn'
. Usingfrom torch.distributed import nn as dist_nn
seems to work, which is strange.