Closed x12901 closed 3 years ago
Can you find out what is not implemented from the c10::NotImplementedError
?
Can you find out what is not implemented from the
c10::NotImplementedError
? It stops at libtorch\include\ATen\core\dispatch\OperatorEntry.hconst KernelFunction& lookup(DispatchKey k) const { const auto& kernel = dispatchTable_[static_cast<uint8_t>(k)]; // A valid kernel *always* has a boxed kernel and *may* have an // unboxed kernel. However, we typically do unboxed calls in at:: // APIs, where the kernel 1) will very likely be valid and 2) // should have an unboxed kernel. Checking the unboxed kernel // first will allow us to avoid touching the boxed kernel at all // in the common case. if (C10_UNLIKELY(!kernel.isValidUnboxed())) { if (!kernel.isValid()) { reportError(k); } } return kernel; }
Did u figure out this problem? I'd rather to know that, cause I'm facing the same question as you. Thanks so much!
@x12901 Thanks
I'm trying to convert pytorch to torch script.I want to know whether the detection speed of the converted model has changed. Neither method in the document can be used. https://pytorch.org/tutorials/advanced/cpp_export.html
My C + + code reported an error when loading the model.
Unhandled exception at 0x00007FFB76BA4B89 in ConsoleApplication1.exe: Microsoft C++ exception: c10::NotImplementedError at memory location 0x00000095C3EFDD50.