You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
when I use single GPU, the ABC will produce the error,
I find the answer on the Internet,
it's the reason that ABC use the synbatchnorm,
So,
when use the single GPU,
you need to init the process_group,
maybe you can updata the code to main
————————————————————
——————————————————————
cuda_num = os.environ['CUDA_VISIBLE_DEVICES']
cuda_num_list = list(cuda_num.split(","))
if len(cuda_num_list) == 1:
import torch.distributed as dist
when I use single GPU, the ABC will produce the error,
I find the answer on the Internet,
it's the reason that ABC use the synbatchnorm,
So,
when use the single GPU,
you need to init the process_group,
maybe you can updata the code to main
————————————————————
——————————————————————
cuda_num = os.environ['CUDA_VISIBLE_DEVICES']
cuda_num_list = list(cuda_num.split(","))
if len(cuda_num_list) == 1:
import torch.distributed as dist
The text was updated successfully, but these errors were encountered: