Allow tracing with fork/wait (#15184)
authorJames Sun <jamessun@fb.com>
Tue, 18 Dec 2018 04:28:00 +0000 (20:28 -0800)
committerFacebook Github Bot <facebook-github-bot@users.noreply.github.com>
Tue, 18 Dec 2018 04:34:26 +0000 (20:34 -0800)
commite37a22128eca7ccac6e289659587a9e1bfe6d242
tree4969b8549da2555b4c8d009e665151605c64a386
parentbd958cde685c2de67ecf691934470ef3c289e00d
Allow tracing with fork/wait (#15184)

Summary:
There is still limitation on this: if a script module is somewhere
in the trace, the inputs/outputs can only be tensors or tuples of
tensors.

resolves #15052
Pull Request resolved: https://github.com/pytorch/pytorch/pull/15184

Differential Revision: D13457691

Pulled By: highker

fbshipit-source-id: 8fe46afc41357a0eb8eadd83f687b31d074deb0e
aten/src/ATen/core/jit_type.h
test/test_jit.py
torch/csrc/jit/graph_executor.cpp
torch/csrc/jit/tracer.cpp
torch/csrc/jit/tracer.h