11 releases (6 breaking)

0.13.2 May 3, 2024
0.12.1 Feb 1, 2024
0.11.1 Dec 4, 2023
0.10.0 Oct 24, 2023
0.8.0 Jul 25, 2023

#816 in Machine learning

Download history 20/week @ 2024-01-29 13/week @ 2024-02-12 77/week @ 2024-02-19 42/week @ 2024-02-26 37/week @ 2024-03-04 106/week @ 2024-03-11 119/week @ 2024-03-18 20/week @ 2024-03-25 64/week @ 2024-04-01 122/week @ 2024-04-08 65/week @ 2024-04-15 170/week @ 2024-04-22 182/week @ 2024-04-29 60/week @ 2024-05-06

486 downloads per month
Used in fibertools-rs

MIT/Apache

340KB
7.5K 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

~38–75MB
~1.5M SLoC