Hacker Timesnew | past | comments | ask | show | jobs | submitlogin

Are there good Tensorflow and Pytorch alternatives in the works writen in Julia?


Yes, there are already a couple.

The most well known is a 100% Julia neural network library called Flux.jl [1], which aims to become what Swift for Tensorflow wants as well (to make the entire Julia language a fully differentiable language) through Zygote.jl [2], and even without it has already great integration with the ecosystem, for example with the differentiable equations library through DiffEqFlux.jl [3]. Plus the source code is very high level (while being high performance, including easy GPU support), so you can easily see what each component does and implement any extension directly on your code without worrying about performance.

There is also another feature complete native library that allows some very concise code, Knet.jl [4], and the Tensorflow bindings [5].

[1] https://github.com/FluxML/Flux.jl

[2] https://github.com/FluxML/Zygote.jl

[3] https://julialang.org/blog/2019/01/fluxdiffeq

[4] https://github.com/denizyuret/Knet.jl

[5] https://github.com/malmaud/TensorFlow.jl


Flux (https://fluxml.ai/) is one native Julia ML package. For a more detailed discussion of the use of Julia in the space see https://julialang.org/blog/2018/12/ml-language-compiler


Others have mentioned Flux.jl which aims to be idiomatic/native, but there are also MXNet bindings: https://github.com/apache/incubator-mxnet/tree/master/julia


Neural differential equations are something that's worked out in Julia. Neural ordinary differential equations (ODEs), stochastic differential equations (SDEs), and delay differential equations (DDEs) can be found in this blog post (https://julialang.org/blog/2019/01/fluxdiffeq). Neural jump diffusions (jump SDEs) and neural partial differential equations (PDEs) are described here: http://www.stochasticlifestyle.com/. All of this is built on the Flux.jl machine learning library which is extremely flexible.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: