Traceback (most recent call last):


 "/usr/lib/python3.5/threading.py", line 914, in _bootstrap_inner

self.run()


 "/usr/lib/python3.5/threading.py", line 862, in run

self._target(*self._args, **self._kwargs)


 "ex.py", line 9, in start_capture

for packet in capture.sniff_continuously(packet_count=5):


 "/usr/local/lib/python3.5/dist-packages/pyshark/capture/capture.py", line 227, in _packets_from_tshark_sync

tshark_process = existing_process or self.eventloop.run_until_complete(self._get_tshark_process())


 "/usr/lib/python3.5/asyncio/base_events.py", line 466, in run_until_complete

return future.result()


 "/usr/lib/python3.5/asyncio/futures.py", line 293, in result

raise self._exception


 "/usr/lib/python3.5/asyncio/tasks.py", line 239, in _step

result = coro.send(None)


 "/usr/local/lib/python3.5/dist-packages/pyshark/capture/live_capture.py", line 97, in _get_tshark_process

stderr=self._stderr_output())


 "/usr/lib/python3.5/asyncio/subprocess.py", line 212, in create_subprocess_exec

stderr=stderr, **kwds)


 "/usr/lib/python3.5/asyncio/base_events.py", line 1189, in subprocess_exec

bufsize, **kwargs)


 "/usr/lib/python3.5/asyncio/unix_events.py", line 194, in _make_subprocess_transport

self._child_watcher_callback, transp)


 "/usr/lib/python3.5/asyncio/unix_events.py", line 856, in add_child_handler

"Cannot add child handler, "
RuntimeError: Cannot add child handler, the child watcher does not have a loop attached

Traceback (most recent call last):


 "xla_spawn.py", line 72, in <module>

main()


 "xla_spawn.py", line 68, in main

xmp.spawn(mod._mp_fn, args=(), nprocs=args.num_cores)


 "/root/anaconda3/envs/pytorch/lib/python3.7/site-packages/torch_xla/distributed/xla_multiprocessing.py", line 387, in spawn

_start_fn(0, pf_cfg, fn, args)


 "/root/anaconda3/envs/pytorch/lib/python3.7/site-packages/torch_xla/distributed/xla_multiprocessing.py", line 324, in _start_fn

fn(gindex, *args)


 "/home/GPT/run_language_modeling.py", line 294, in _mp_fn

main()


 "/home/GPT/run_language_modeling.py", line 252, in main

prediction_loss_only=True,


 "/root/anaconda3/envs/pytorch/lib/python3.7/site-packages/transformers/trainer.py", line 229, in __init__

self.model = model.to(args.device) if model is not None else None


 "/root/anaconda3/envs/pytorch/lib/python3.7/site-packages/torch/nn/modules/module.py", line 612, in to

return self._apply(convert)


 "/root/anaconda3/envs/pytorch/lib/python3.7/site-packages/torch/nn/modules/module.py", line 359, in _apply

module._apply(fn)


 "/root/anaconda3/envs/pytorch/lib/python3.7/site-packages/torch/nn/modules/module.py", line 359, in _apply

module._apply(fn)


 "/root/anaconda3/envs/pytorch/lib/python3.7/site-packages/torch/nn/modules/module.py", line 359, in _apply

module._apply(fn)

[Previous line repeated 1 more time]


 "/root/anaconda3/envs/pytorch/lib/python3.7/site-packages/torch/nn/modules/module.py", line 402, in _apply

self._buffers[key] = fn(buf)


 "/root/anaconda3/envs/pytorch/lib/python3.7/site-packages/torch/nn/modules/module.py", line 610, in convert

return t.to(device, dtype if t.is_floating_point() else None, non_blocking)
RuntimeError: tensorflow/compiler/xla/xla_client/xrt_computation_client.cc:383 : Check failed: session->session()->Run( session_work->feed_inputs, session_work->outputs_handles, &outputs) == ::tensorflow::Status::OK() (Unimplemented: From /job:tpu_worker/replica:0/task:0:
