Hi, I’m not sure why but today when I run the same code that I ran last night I get this error:
from ignite.utils import setup_logger
File "/home/mia/anaconda3/envs/idk/lib/python3.7/site-packages/ignite/__init__.py", line 2, in <module>
import ignite.distributed
File "/home/user/anaconda3/envs/idk/lib/python3.7/site-packages/ignite/distributed/__init__.py", line 1, in <module>
from ignite.distributed.auto import *
File "/home/user/anaconda3/envs/idk/lib/python3.7/site-packages/ignite/distributed/auto.py", line 10, in <module>
from ignite.distributed import utils as idist
File "/home/useranaconda3/envs/idk/lib/python3.7/site-packages/ignite/distributed/utils.py", line 8, in <module>
from ignite.distributed.comp_models import (
File "/home/user/anaconda3/envs/idk/lib/python3.7/site-packages/ignite/distributed/comp_models/__init__.py", line 2, in <module>
from ignite.distributed.comp_models.native import has_native_dist_support
File "/home/user/anaconda3/envs/idk/lib/python3.7/site-packages/ignite/distributed/comp_models/native.py", line 22, in <module>
class _NativeDistModel(ComputationModel):
File "/home/user/anaconda3/envs/idk/lib/python3.7/site-packages/ignite/distributed/comp_models/native.py", line 305, in _NativeDistModel
"AND": dist.ReduceOp.BAND,
AttributeError: type object 'torch.distributed.ReduceOp' has no attribute 'BAND'
Any idea?