Converting Pytorch To Litert

Converts PyTorch models (e.g. ResNet, timm, HuggingFace transformers) directly to LiteRT (.tflite) flatbuffer format. Use when converting PyTorch models to TFLite, setting up export environments, or troubleshooting torch-to-litert conversion bugs. Don't use for ONNX exports or converting existing TensorFlow models.

google-ai-edge Updated 25.3k repo stars

File contents

google-ai-edge/litert-torch commit 93342be243

Frequently asked questions

npx get-skill add google-ai-edge/converting-pytorch-to-litert