Ivy: Templated Deep Learning for Inter-Framework Portability
Daniel Lenton, Fabio Pardo, Fabian Falck, Stephen James, Ronald Clark

TL;DR
Ivy is a templated deep learning framework that abstracts multiple existing frameworks, enabling consistent code and reducing lines of code with minimal runtime overhead, thus facilitating inter-framework portability and collaboration.
Contribution
Ivy introduces a unified, framework-agnostic interface for deep learning frameworks, allowing seamless integration and extension with new functions and libraries.
Findings
Significantly reduces code complexity and size.
Maintains less than 1% runtime overhead.
Supports multiple frameworks including TensorFlow, PyTorch, MXNet, Jax, and NumPy.
Abstract
We introduce Ivy, a templated Deep Learning (DL) framework which abstracts existing DL frameworks. Ivy unifies the core functions of these frameworks to exhibit consistent call signatures, syntax and input-output behaviour. New high-level framework-agnostic functions and classes, which are usable alongside framework-specific code, can then be implemented as compositions of the unified low-level Ivy functions. Ivy currently supports TensorFlow, PyTorch, MXNet, Jax and NumPy. We also release four pure-Ivy libraries for mechanics, 3D vision, robotics, and differentiable environments. Through our evaluations, we show that Ivy can significantly reduce lines of code with a runtime overhead of less than 1% in most cases. We welcome developers to join the Ivy community by writing their own functions, layers and libraries in Ivy, maximizing their audience and helping to accelerate DL research…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Code & Models
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsAdvanced Neural Network Applications · Adversarial Robustness in Machine Learning · Human Pose and Action Recognition
