Traceback (most recent call last):


 "translate.py", line 36, in <module>

main(opt)


 "translate.py", line 24, in main

attn_debug=opt.attn_debug)


 "/home/users/sumith/OpenNMT-py/onmt/translate/translator.py", line 222, in translate

batch_data = self.translate_batch(batch, data, fast=self.fast)


 "/home/users/sumith/OpenNMT-py/onmt/translate/translator.py", line 326, in translate_batch

return self._translate_batch(batch, data)


 "/home/users/sumith/OpenNMT-py/onmt/translate/translator.py", line 627, in _translate_batch

beam_attn.data[:, j, :memory_lengths[j]])


 "/home/users/sumith/OpenNMT-py/onmt/translate/beam.py", line 142, in advance

if self.next_ys[-1][i] == self._eos:
RuntimeError: cuda runtime error (59) : device-side assert triggered at /pytorch/aten/src/THC/generic/THCStorage.cpp:36

`Exception in async_set_cast_info called from 
 "/usr/local/lib/python3.7/runpy.py", line 193, in _run_module_as_main "__main__", mod_spec) 
 "/usr/local/lib/python3.7/runpy.py", line 85, in _run_code exec(code, run_globals) 
 "/usr/src/homeassistant/homeassistant/__main__.py", line 364, in <module> sys.exit(main()) 
 "/usr/src/homeassistant/homeassistant/__main__.py", line 356, in main exit_code = asyncio.run(setup_and_run_hass(config_dir, args), debug=args.debug) 
 "/usr/local/lib/python3.7/asyncio/runners.py", line 43, in run return loop.run_until_complete(main) 
 "/usr/local/lib/python3.7/asyncio/base_events.py", line 574, in run_until_complete self.run_forever() 
 "/usr/local/lib/python3.7/asyncio/base_events.py", line 541, in run_forever self._run_once() 
 "/usr/local/lib/python3.7/asyncio/base_events.py", line 1786, in _run_once handle._run() 
 "/usr/local/lib/python3.7/asyncio/events.py", line 88, in _run self._context.run(self._callback, *self._args) 
 "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 441, in _async_add_entity await entity.async_added_to_hass() 
 "/usr/src/homeassistant/homeassistant/components/cast/media_player.py", line 219, in async_added_to_hass async_create_catching_coro(self.async_set_cast_info(self._cast_info)) Traceback (most recent call last): 
 "/usr/src/homeassistant/homeassistant/components/cast/media_player.py", line 282, in async_set_cast_info cast_info.friendly_name, 
 "/usr/local/lib/python3.7/concurrent/futures/thread.py", line 57, in run result = self.fn(*self.args, **self.kwargs) 
 "/usr/local/lib/python3.7/site-packages/pychromecast/__init__.py", line 86, in get_chromecast_from_service zconf=zconf, 
 "/usr/local/lib/python3.7/site-packages/pychromecast/__init__.py", line 260, in __init__ dev_status = get_device_status(self.host, services, zconf) 
 "/usr/local/lib/python3.7/site-packages/pychromecast/dial.py", line 75, in get_device_status status = _get_status(host, services, zconf, "/setup/eureka_info?options=detail") 
 "/usr/local/lib/python3.7/site-packages/pychromecast/dial.py", line 43, in _get_status host, _ = get_host_from_service_info(service_info) 
 "/usr/local/lib/python3.7/site-packages/pychromecast/discovery.py", line 186, in get_host_from_service_info if service_info.address: AttributeError: 'ServiceInfo' object has no attribute 'address'`

