Traceback (most recent call last):


 "/usr/local/lib/python3.7/dist-packages/torch/multiprocessing/spawn.py", line 20, in _wrap

fn(i, *args)


 "../../../espnet/asr/pytorch_backend/asr_deepspeed.py", line 671, in train

model_engine, optimizer, _, _ = deepspeed.initialize(args, model=model)


 "/home/xianjie.yang/.local/lib/python3.7/site-packages/deepspeed/__init__.py", line 119, in initialize

config_params=config_params)


 "/home/xianjie.yang/.local/lib/python3.7/site-packages/deepspeed/runtime/engine.py", line 150, in __init__

self._configure_distributed_model(model)


 "/home/xianjie.yang/.local/lib/python3.7/site-packages/deepspeed/runtime/engine.py", line 504, in _configure_distributed_model

self._broadcast_model()


 "/home/xianjie.yang/.local/lib/python3.7/site-packages/deepspeed/runtime/engine.py", line 482, in _broadcast_model

group=self.data_parallel_group)


 "/usr/local/lib/python3.7/dist-packages/torch/distributed/distributed_c10d.py", line 846, in broadcast

work = group.broadcast([tensor], opts)
RuntimeError: Broken pipe

Traceback (most recent call last):


 "/cnn-text-classification-pytorch/main.py", line 112, in <module>

train.train(train_iter, dev_iter, cnn, args)


 "/cnn-text-classification-pytorch/train.py", line 25, in train

feature.data.t_(), target.data.sub_(1)
# batch first, index align
RuntimeError: set_storage_offset is not allowed on Tensor created from .data or .detach()
