by whimsicalism · 5y ago · 0 comments
From my understanding, Tensor Comprehensions and Halide are both very tentative research projects.
> not having it's direction beholden to the whims of Alphabet (see: Swift for Tensorflow).
I don't think this is an accurate recreation of the history that led to FB working on pytorch.
It appears as though Flashlight is built on ArrayFire. I haven't seen how gradients are managed in arrayfire-ml, but perhaps it is the case that the autograd implementation in PyTorch was a bottleneck and this is a ground up approach.
Editing as I didn't address your second point. I can neither confirm or deny the motivations for creating Torch being related to FB's desire to depend on an Alphabet-managed codebase. I know there are lots of reasons why programmers prefer the UX of the PyTorch Python API (I do as well), and there are probably other reasons I can't recall off the top of my head. I am only saying that PyTorch is contributing to the ML ecosystem already by the sole virtue that it isn't a Google product.
[1] = https://github.com/microsoft/DeepSpeed [2] = https://pytorch.org/docs/stable/jit.html
Halide is still quite active, and was used in products at Adobe and Google circa 2016-2017. Not sure about the current state of industry usage though.
Maybe for training? But there aren't that many cpu bound components there, and you can write those in native code.
What would you say the motivation is for yet another ML framework, but in C++ this time?