Closed yueyericardo closed 3 years ago
We can not build a cuda extension with TorchScript support because of a PyTorch bug https://github.com/pytorch/pytorch/issues/47493, this bug is fixed in https://github.com/pytorch/pytorch/pull/47492, when the fix is merged, I will change https://github.com/aiqm/torchani/pull/516 and master branch to register the operator in a way that supports TorchScript. As a result, everyone will need to update your PyTorch to the latest nightly at that day.
This is fixed
When I follow Extending TorchScript with Custom C++ Operators, try to registering the cuaev with TorchScript.
I make the following changes (based on the error messages)
But got errors below