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
(mmseg) lengyela@MAC-RXKFF69F0X mmsegmentation % python -c "from mmengine.utils.dl_utils import collect_env; print(collect_env())"
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/Users/lengyela/miniconda3/envs/mmseg/lib/python3.9/site-packages/mmengine/utils/dl_utils/__init__.py", line 8, in <module>
from .time_counter import TimeCounter
File "/Users/lengyela/miniconda3/envs/mmseg/lib/python3.9/site-packages/mmengine/utils/dl_utils/time_counter.py", line 8, in <module>
from mmengine.dist.utils import master_only
File "/Users/lengyela/miniconda3/envs/mmseg/lib/python3.9/site-packages/mmengine/dist/__init__.py", line 2, in <module>
from .dist import (all_gather_object, all_reduce, all_gather, all_reduce_dict,
File "/Users/lengyela/miniconda3/envs/mmseg/lib/python3.9/site-packages/mmengine/dist/dist.py", line 26, in <module>
def _get_reduce_op(name: str) -> torch_dist.ReduceOp:
AttributeError: module 'torch.distributed' has no attribute 'ReduceOp'
Reproduces the problem - error message
(mmseg) lengyela@MAC-RXKFF69F0X mmsegmentation % python -c "from mmengine.utils.dl_utils import collect_env; print(collect_env())"
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/Users/lengyela/miniconda3/envs/mmseg/lib/python3.9/site-packages/mmengine/utils/dl_utils/__init__.py", line 8, in <module>
from .time_counter import TimeCounter
File "/Users/lengyela/miniconda3/envs/mmseg/lib/python3.9/site-packages/mmengine/utils/dl_utils/time_counter.py", line 8, in <module>
from mmengine.dist.utils import master_only
File "/Users/lengyela/miniconda3/envs/mmseg/lib/python3.9/site-packages/mmengine/dist/__init__.py", line 2, in <module>
from .dist import (all_gather_object, all_reduce, all_gather, all_reduce_dict,
File "/Users/lengyela/miniconda3/envs/mmseg/lib/python3.9/site-packages/mmengine/dist/dist.py", line 26, in <module>
def _get_reduce_op(name: str) -> torch_dist.ReduceOp:
AttributeError: module 'torch.distributed' has no attribute 'ReduceOp'
Additional information
I have followed the CPU-only install instructions, but mmengine is not running correctly on MacOS.
The text was updated successfully, but these errors were encountered:
Prerequisite
Environment
Reproduces the problem - code sample
Reproduces the problem - command or script
Reproduces the problem - error message
Additional information
I have followed the CPU-only install instructions, but mmengine is not running correctly on MacOS.
The text was updated successfully, but these errors were encountered: