At Ivy, weβre on a mission to unify all ML frameworks π₯ + automate code conversions π
pip install ivy-core π, join our growing community π, and lets-unify.ai! π¦Ύ
In this post, we introduce Ivy, a new ML framework that currently supports JAX, TensorFlow, PyTorch, MXNet, and Numpy. Weβre very excited for you to try it out!
Next on our roadmap is to support automatic code conversions between any frameworks π, and add instant multi-framework support for all open-source libraries with only a few lines of code changed! Read on to learn more π
The post is split into a number of sub-pages explaining different aspects of why we created Ivy, how to use it, what weβve got planned on our roadmap, and how to contribute! Click on the sub-headings to check out these pages!
We use π§ to indicate that the feature being discussed is in development. We use β to indicate that it is already implemented!
Background
(a) ML Explosion
A huge number of ML tools have exploded onto the scene!
(b) Why Unify?
Why should we try to unify them?
(c) Standardization
Weβre collaborating with The Consortium for Python Data API Standards
Design
Ivy can fulfill two distinct purposes:
- enable automatic code conversions between frameworks π§
- serve as a new ML framework with multi-framework support β
The Ivy codebase can then be split into three categories, and can be further split into 8 distinct submodules, each of which fall into one of these three categories as follows:
(a) Building Blocks
back-end functional APIs β
Ivy functional API β
Framework Handler β
Ivy Compiler π§
(b) Ivy as a Transpiler
front-end functional APIs π§
(c) Ivy as a Framework
Ivy stateful API β
Ivy Container β
Ivy Array π§
Extensions
(a) Applied Libraries β
Ivy libraries in mechanics, vision, robotics, memory and other areas
(b) Builder [post coming soon!] β
ivy.Trainer, ivy.Dataset, ivy.Dataloader and other helpful classes and functions for creating training workflows in only a few lines of code
Roadmap
We strongly welcome and encourage contributions from the community as we take on this important journey towards ML framework unification. These posts will explain exactly how you can get involved π
(a) Standardize [post coming soon!] π§
Align Ivy with the Consortium for Python Data API Standards
(b) Front-Ends [post coming soon!] π§
Create framework-specific front-ends for each supported ML framework
(c) Code Conversions [post coming soon!] π§
Verify code conversions work for each back-end and front-end combo
(d) Ecosystem [post coming soon!] π§
Add multi-framework support to popular repos with a few lines changed
Contributing
Join our community as a code contributor, and help accelerate our journey to unify all ML frameworks! Find out more in our Contributing guide!
Article originally posted here. Reposted with permission.