r/pytorch • u/TopFar5998 • Sep 21 '20
Pytorch support for Julia
I am curious if Pytorch would support for Julia as like C++.
As all other, I also personally found c++ as jibrish, instead Julia which is as fast as c and as pythonic as python.
I would like to see if it happens in future.
2
u/haruishi Sep 21 '20
Are there many people wanting to use Pytorch on Julia? Julia has flux and some people made bindings for pytorch but I don’t see the popularity for Julia interface yet
1
u/chatterbox272 Sep 22 '20
Unlikely, the only strong pitch is that it may be easier to write low-level CUDA kernels rather than writing CUDA code directly, in which case we need CUDA.jl to be compilable to the same binary as we get from normal CUDA code and nvcc. The other parts of the pipeline are either fine in Python, or sufficiently served with TorchScript
3
u/MrAcurite Sep 21 '20
Is Julia really that much faster than Python though? I mean, what would you really be doing with it where you'd see a tangible benefit over Python, that outweighs the existing package support Python has?