Traceback (most recent call last):


 "/conda/lib/python3.7/site-packages/distributed/comm/tcp.py", line 237, in write

stream.write(b)


 "/conda/lib/python3.7/site-packages/tornado/iostream.py", line 546, in write

self._check_closed()


 "/conda/lib/python3.7/site-packages/tornado/iostream.py", line 1009, in _check_closed

raise StreamClosedError(real_error=self.error)
tornado.iostream.StreamClosedError: Stream is closed

Traceback (most recent call last):


 "decode_full_model.py", line 169, in <module>

args.max_dec_word, args.cuda)


 "decode_full_model.py", line 87, in decode

all_beams = abstractor(ext_arts, beam_size, diverse)


 "/home/arnav-gulati/Documents/other_models/fast_abs_rl-master/decoding.py", line 116, in __call__

all_beams = self._net.batched_beamsearch(*dec_args)


 "/home/arnav-gulati/Documents/other_models/fast_abs_rl-master/model/copy_summ.py", line 125, in batched_beamsearch

token, states, attention, beam_size)


 "/home/arnav-gulati/Documents/other_models/fast_abs_rl-master/model/copy_summ.py", line 245, in topk_step

source=score.contiguous().view(beam*batch, -1) * copy_prob
TypeError: scatter_add() missing 1 required positional arguments: "src"
