Closed emilyaherbert closed 5 years ago
The Torch core is not ready yet -- PyTorch's ABI kept changing from 0.4 -> 0.4.1 -> 1.0 so that is now broken.
You can remove torch
from the .sbt
file and just use the jvm-ref-backend
(JVM reference backend, very slow, but runnable).
If you need to build the Torch SWIG bridge btw the C++ code and JVM, you need to first build ATen in PyTorch from source then use the build.sh
in the nexus/torch
directory. It is a lot hassle and I do not recommend doing that before PyTorch's ABI stabilized after 1.0 and I have time to sort that out.
Now fixed with PyTorch 1.0.
Got this compiling with sbt. Is the current version able to be built?