Traceback (most recent call last):
 
 "/my/venv/bin/monkeytype", line 11, in <module>

sys.exit(entry_point_main())


 "/my/venv/lib/python3.6/site-packages/monkeytype/cli.py", line 378, in entry_point_main

sys.exit(main(sys.argv[1:], sys.stdout, sys.stderr))


 "/my/venv/lib/python3.6/site-packages/monkeytype/cli.py", line 363, in main

handler(args, stdout, stderr)


 "/my/venv/lib/python3.6/site-packages/monkeytype/cli.py", line 187, in print_stub_handler

stub = get_stub(args, stdout, stderr)


 "/my/venv/lib/python3.6/site-packages/monkeytype/cli.py", line 122, in get_stub

rewriter=rewriter,


 "/my/venv/lib/python3.6/site-packages/monkeytype/stubs.py", line 583, in build_module_stubs_from_traces

defn = get_updated_definition(func, traces, rewriter, ignore_existing_annotations)


 "/my/venv/lib/python3.6/site-packages/monkeytype/stubs.py", line 256, in get_updated_definition

return_type = rewriter.rewrite(return_type)


 "/my/venv/lib/python3.6/site-packages/monkeytype/typing.py", line 236, in rewrite

typ = rw.rewrite(typ)


 "/my/venv/lib/python3.6/site-packages/monkeytype/typing.py", line 148, in rewrite

return rewriter(typ)


 "/my/venv/lib/python3.6/site-packages/monkeytype/typing.py", line 185, in rewrite_Union

key_type = key_type or e.__args__[0]
AttributeError: type object 'OrderedMultiDict' has no attribute '__args__'

Traceback (most recent call last):


 "train_cosine_iterations_distributed.py", line 420, in <module>

optimizer.backward(loss)


 "/home/ycg/anaconda3/lib/python3.6/site-packages/apex-0.1-py3.6-linux-x86_64.egg/apex/fp16_utils/fp16_optimizer.py", line 482, in backward

self.loss_scaler.backward(loss.float())


 "/home/ycg/anaconda3/lib/python3.6/site-packages/apex-0.1-py3.6-linux-x86_64.egg/apex/fp16_utils/loss_scaler.py", line 45, in backward

scaled_loss.backward()


 "/home/ycg/anaconda3/lib/python3.6/site-packages/torch/tensor.py", line 102, in backward

torch.autograd.backward(self, gradient, retain_graph, create_graph)


 "/home/ycg/anaconda3/lib/python3.6/site-packages/torch/autograd/__init__.py", line 90, in backward

allow_unreachable=True)
# allow_unreachable flag


 "/home/ycg/anaconda3/lib/python3.6/site-packages/apex-0.1-py3.6-linux-x86_64.egg/apex/parallel/distributed.py", line 340, in allreduce_hook

if not self.callback_queued:


 "/home/ycg/anaconda3/lib/python3.6/site-packages/torch/nn/modules/module.py", line 535, in __getattr__

type(self).__name__, name))
AttributeError: 'DistributedDataParallel' object has no attribute 'callback_queued'
