4 ms·
Cool project. I'd never heard of Zig, but it looks like an interesting solution to the need you've identified. I'd definitely agree that it seems valuable to h
by jeffreysmith 6y ago
Cool project. I'd never heard of Zig, but it looks like an interesting solution to the need you've identified.
I'd definitely agree that it seems valuable to have an Nx version that comes with a smaller, simpler install for development purposes. XLA is amazing, but it's not obvious that you want to have that toolchain setup for local development in all scenarios.
Would be great to see several different backends created for Nx as a way of exploring what feature sets are really needed and ensuring that the integration mechanisms are sufficiently simple and general to support multiple solutions.
- dnautics 6y agoWell another place is for elixir nerves. You probably don't want to figure out how to shipping the xla architecture to your embedded device (I think it has to JIT the code); with nerves you can trivially cross-compile the nif shared library with zigler and deploy to arm architecture. But kudos to José for building an architecture at a very good level of abstraction, you know, just in case xla falls out of favor (it is a Google project), nx won't have a hard dependency, and there will be trivial migration paths out. I think there could be some other interesting nx backends, like "remote computation", or "transpile elixir and run on a Julia worker node"