Skip to main content

MLIA PyTorch Converter

Purpose​

mlia-converters-pytorch packages the PyTorch converters used by MLIA. It does not add a separate top-level command; MLIA runs these converters automatically when a PyTorch model flow needs them.

Included plugins​

  • Use nn_module_to_pt2 to export an in-memory torch.nn.Module.
  • Use pt2_to_tosa for PyTorch-to-TOSA conversion.
  • Use pt2_to_pte for PyTorch-to-PTE conversion.
  • Use pte_to_delegate for PTE-to-delegate conversion.

Documentation Map​

For shared CLI, installation, and plugin architecture guidance, see the MLIA core documentation.