Created
October 5, 2018 21:59
-
-
Save jamesr66a/bb9fab69f69785239e6a6127638009c5 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ERROR: test_async_script (__main__.TestAsync) | |
---------------------------------------------------------------------- | |
Traceback (most recent call last): | |
File "test/test_jit.py", line 8425, in test_async_script | |
y, y_hat = wait_script(x) | |
File "/Users/jamesreed/onnx-fairseq/pytorch/torch/nn/modules/module.py", line 477, in __call__ | |
result = self.forward(*input, **kwargs) | |
RuntimeError: n->inBlockList() ASSERT FAILED at ../torch/csrc/jit/ir.h:549, please report a bug to PyTorch. (insertBefore at ../torch/csrc/jit/ir.h:549) | |
frame #0: torch::jit::Node::moveBefore(torch::jit::Node*) + 45 (0x126357edd in libtorch.dylib) | |
frame #1: torch::jit::(anonymous namespace)::desugarForkJoin(torch::jit::Block*) + 883 (0x1263535d3 in libtorch.dylib) | |
frame #2: torch::jit::PreprocessGraph::PreprocessGraph(torch::jit::Graph&) + 1024 (0x126352830 in libtorch.dylib) | |
frame #3: torch::jit::PreprocessGraph::PreprocessGraph(torch::jit::Graph&) + 29 (0x126350f7d in libtorch.dylib) | |
frame #4: torch::jit::CodeImpl::CodeImpl(std::__1::shared_ptr<torch::jit::Graph>&) + 169 (0x126350639 in libtorch.dylib) | |
frame #5: torch::jit::CodeImpl::CodeImpl(std::__1::shared_ptr<torch::jit::Graph>&) + 29 (0x12634eb2d in libtorch.dylib) | |
frame #6: torch::jit::Code::Code(std::__1::shared_ptr<torch::jit::Graph>&) + 68 (0x12634eab4 in libtorch.dylib) | |
frame #7: torch::jit::Code::Code(std::__1::shared_ptr<torch::jit::Graph>&) + 29 (0x12634eb8d in libtorch.dylib) | |
frame #8: torch::jit::(anonymous namespace)::ExecutionPlan::ExecutionPlan(std::__1::shared_ptr<torch::jit::Graph>) + 29 (0x1262b4fbd in libtorch.dylib) | |
frame #9: torch::jit::(anonymous namespace)::ExecutionPlan::ExecutionPlan(std::__1::shared_ptr<torch::jit::Graph>) + 21 (0x1262b1275 in libtorch.dylib) | |
frame #10: torch::jit::GraphExecutorImpl::compileSpec(torch::jit::ArgumentSpec const&) + 1827 (0x1262b0333 in libtorch.dylib) | |
frame #11: torch::jit::GraphExecutorImpl::getOrCompile(std::__1::vector<torch::jit::IValue, std::__1::allocator<torch::jit::IValue> > const&) + 995 (0x12629f543 in libtorch.dylib) | |
frame #12: torch::jit::GraphExecutorImpl::run(std::__1::vector<torch::jit::IValue, std::__1::allocator<torch::jit::IValue> >&) + 475 (0x126297aab in libtorch.dylib) | |
frame #13: torch::jit::GraphExecutor::run(std::__1::vector<torch::jit::IValue, std::__1::allocator<torch::jit::IValue> >&) + 40 (0x1262978c8 in libtorch.dylib) | |
frame #14: torch::jit::script::Method::run(std::__1::vector<torch::jit::IValue, std::__1::allocator<torch::jit::IValue> >&) + 1144 (0x11e07ace8 in _C.cpython-36m-darwin.so) | |
frame #15: torch::jit::invokeScriptMethodFromPython(torch::jit::script::Method&, pybind11::args, pybind11::kwargs) + 195 (0x11e209593 in _C.cpython-36m-darwin.so) | |
frame #16: torch::jit::script::initJitScriptBindings(_object*)::$_18::operator()(torch::jit::script::Module&, pybind11::args, pybind11::kwargs) const + 352 (0x11e26e6a0 in _C.cpython-36m-darwin.so) | |
frame #17: pybind11::object pybind11::detail::argument_loader<torch::jit::script::Module&, pybind11::args, pybind11::kwargs>::call_impl<pybind11::object, torch::jit::script::initJitScriptBindings(_object*)::$_18&, 0ul, 1ul, 2ul, pybind11::detail::void_type>(torch::jit::script::initJitScriptBindings(_object*)::$_18&&&, pybind11::detail::index_sequence<0ul, 1ul, 2ul>, pybind11::detail::void_type&&) + 276 (0x11e26e4d4 in _C.cpython-36m-darwin.so) | |
frame #18: std::__1::enable_if<!(std::is_void<pybind11::object>::value), pybind11::object>::type pybind11::detail::argument_loader<torch::jit::script::Module&, pybind11::args, pybind11::kwargs>::call<pybind11::object, pybind11::detail::void_type, torch::jit::script::initJitScriptBindings(_object*)::$_18&>(torch::jit::script::initJitScriptBindings(_object*)::$_18&&&) + 56 (0x11e26e3a8 in _C.cpython-36m-darwin.so) | |
frame #19: void pybind11::cpp_function::initialize<torch::jit::script::initJitScriptBindings(_object*)::$_18, pybind11::object, torch::jit::script::Module&, pybind11::args, pybind11::kwargs, pybind11::name, pybind11::is_method, pybind11::sibling>(torch::jit::script::initJitScriptBindings(_object*)::$_18&&, pybind11::object (*)(torch::jit::script::Module&, pybind11::args, pybind11::kwargs), pybind11::name const&, pybind11::is_method const&, pybind11::sibling const&)::'lambda'(pybind11::detail::function_call&)::operator()(pybind11::detail::function_call&) const + 229 (0x11e26e2a5 in _C.cpython-36m-darwin.so) | |
frame #20: void pybind11::cpp_function::initialize<torch::jit::script::initJitScriptBindings(_object*)::$_18, pybind11::object, torch::jit::script::Module&, pybind11::args, pybind11::kwargs, pybind11::name, pybind11::is_method, pybind11::sibling>(torch::jit::script::initJitScriptBindings(_object*)::$_18&&, pybind11::object (*)(torch::jit::script::Module&, pybind11::args, pybind11::kwargs), pybind11::name const&, pybind11::is_method const&, pybind11::sibling const&)::'lambda'(pybind11::detail::function_call&)::__invoke(pybind11::detail::function_call&) + 24 (0x11e26e1a8 in _C.cpython-36m-darwin.so) | |
frame #21: pybind11::cpp_function::dispatcher(_object*, _object*, _object*) + 6919 (0x11daa36a7 in _C.cpython-36m-darwin.so) | |
<omitting python frames> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment