ExecuTorch is a PyTorch platform that provides infrastructure to run PyTorch programs everywhere from AR/VR wearables to standard on-device iOS and Android mobile deployments. One of the main goals for ExecuTorch is to enable wider customization and deployment capabilities of the PyTorch programs.
The executorch pip package is in alpha.
The prebuilt executorch.extension.pybindings.portable_lib module included in this package provides a way to run ExecuTorch .pte files, with some restrictions:
Please visit the ExecuTorch website for tutorials and documentation. Here are some starting points:
nn.Module to ExecuTorch, and optimizing its performance using quantization and hardware delegation.