|
|
|
|
|
by PartiallyTyped
919 days ago
|
|
The near term promise is that you can use AMD, CUDA, TPUs, CPUs etc without explicit vendor support for the framework on which the model was developed. Disclaimer: I will be very handwavey, reality is complex. This is achieved by compiling the graph into some intermediate representation. And then implementing the right backend. For projects here, look at stableHLO, IREE, openXLA. You can argue that Jax's jit compiler is a form of such compiler, mapping the traced operations down to XLA, which then does its own bit of magic to make it work on your backend. It's transformations and abstractions all the way down. |
|