Traceback (most recent call last):


 "/usr/local/lib/python3.6/site-packages/logbook/handlers.py", line 216, in handle

self.emit(record)


 "/usr/local/lib/python3.6/site-packages/dbt/logger.py", line 461, in emit

'too many messages received before initilization!'
AssertionError: too many messages received before initilization!

Traceback (most recent call last):


 "/home/ubuntu/ddp_test/iris.py", line 88, in <module>

torch.save(trainer.model, "iris_gpu.pt")


 "/home/ubuntu/anaconda3/envs/pytorch_p38/lib/python3.8/site-packages/torch/serialization.py", line 364, in save

_save(obj, opened_zipfile, pickle_module, pickle_protocol)


 "/home/ubuntu/anaconda3/envs/pytorch_p38/lib/python3.8/site-packages/torch/serialization.py", line 466, in _save

pickler.dump(obj)


 "/home/ubuntu/anaconda3/envs/pytorch_p38/lib/python3.8/site-packages/torch/nn/parallel/distributed.py", line 452, in __getstate__

self._check_default_group()


 "/home/ubuntu/anaconda3/envs/pytorch_p38/lib/python3.8/site-packages/torch/nn/parallel/distributed.py", line 475, in _check_default_group

raise RuntimeError("DDP Pickling/Unpickling are only supported "
RuntimeError: DDP Pickling/Unpickling are only supported when using DDP with the default process group. That is, when you have called init_process_group and have not passed process_group argument to DDP constructor
