News for hackers. Stuff that matters.
Re:State of Machine Learning in Julia by WanderPanda on Wednesday January 12, 2022 @12:33PM (#29910038)
If it is all one language you can have very nice code-sharing. Imagine a function that takes some matrices and does some operation on them. If you now want to execute this function on a GPU you can just swapt the matrix type to GPU matrices and as long as you implement kernels for all the operators the function uses the function can be executed on the GPU without any modification. This modularity removes the requirement for each package that wants to use GPUs to recreate and ship their own numpy-like implementation (like Tensorflow, PyTorch etc.).

There are no comments on this comment yet.