-
Notifications
You must be signed in to change notification settings - Fork 52
Description
Can we revisit the idea of an API to load and run a model?
I've written up a draft explainer for what a Web ML Inference API might look like, as well as a bunch of issues and questions around it.
The idea was discussed way back in issue 3, and probably even earlier by many people in the group. For various reasons, the group decided to pursue a graph API instead.
Why revisit now? The TensorFlow team raised some concerns that a graph API may not be the right level of abstraction, due to how fast ML is evolving, and their experience with the rapid growth in operations in TensorFlow models. After digging a bit to understand where this caution came from, I learned about the efforts around MLIR, and how the TensorFlow team sees that fitting into the picture. Also, I had a chance to talk with Greg and others at Microsoft about the original reasons not to go with an inference API, and it seems like things may have changed.
If this is an interesting enough topic to people, we could consider talking about it during the face-to-face in Berlin.