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
"The torch.distributed is either unavailable and uninitiated when RankFilter is instantiated. "
"If torch.distributed is used, please ensure that the RankFilter() is called "
"after torch.distributed.init_process_group() in the script."
)
rankfilter is not well defined for the single gpu environment
File "/usr/lib/python3.10/logging/__init__.py", line 1465, in debug
self._log(DEBUG, msg, args, **kwargs)
File "/usr/lib/python3.10/logging/__init__.py", line 1624, in _log
self.handle(record)
File "/usr/lib/python3.10/logging/__init__.py", line 1634, in handle
self.callHandlers(record)
File "/usr/lib/python3.10/logging/__init__.py", line 1696, in callHandlers
hdlr.handle(record)
File "/usr/lib/python3.10/logging/__init__.py", line 964, in handle
rv = self.filter(record)
File "/usr/lib/python3.10/logging/__init__.py", line 821, in filter
result = f.filter(record)
File "/opt/monai/monai/utils/dist.py", line 207, in filter
return self.filter_fn(self.rank)
AttributeError: 'RankFilter' object has no attribute 'rank'
Activity
6894 update rank filter (#6895)
config rank filter (#298)