14 releases (9 breaking)

0.16.0 Jan 14, 2025
0.15.0 Oct 28, 2024
0.14.0 Aug 27, 2024
0.13.2 May 3, 2024
0.8.0 Jul 25, 2023

#695 in Machine learning

Download history 97/week @ 2024-10-07 128/week @ 2024-10-14 70/week @ 2024-10-21 292/week @ 2024-10-28 134/week @ 2024-11-04 80/week @ 2024-11-11 71/week @ 2024-11-18 66/week @ 2024-11-25 113/week @ 2024-12-02 287/week @ 2024-12-09 129/week @ 2024-12-16 43/week @ 2024-12-23 43/week @ 2024-12-30 121/week @ 2025-01-06 280/week @ 2025-01-13 251/week @ 2025-01-20

706 downloads per month
Used in 3 crates

MIT/Apache

1MB
19K SLoC

Importing Models

The Burn project supports the import of models from various frameworks, emphasizing efficiency and compatibility. Currently, it handles two primary model formats:

  1. ONNX: Facilitates direct import, ensuring the model's performance and structure are maintained.

  2. PyTorch: Enables the loading of PyTorch model weights into Burn’s native model architecture, ensuring seamless integration.

Contribution

Interested in contributing to burn-import? Check out our development guide for more information.


lib.rs:

burn-import is a crate designed to simplify the process of importing models trained in other machine learning frameworks into the Burn framework. This tool generates a Rust source file that aligns the imported model with Burn's model and converts tensor data into a format compatible with Burn.

Dependencies

~62–98MB
~2M SLoC