13 releases (8 breaking)

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

#1049 in Machine learning

Download history 78/week @ 2024-07-18 123/week @ 2024-07-25 72/week @ 2024-08-01 44/week @ 2024-08-08 107/week @ 2024-08-15 210/week @ 2024-08-22 104/week @ 2024-08-29 112/week @ 2024-09-05 159/week @ 2024-09-12 104/week @ 2024-09-19 165/week @ 2024-09-26 146/week @ 2024-10-03 96/week @ 2024-10-10 94/week @ 2024-10-17 227/week @ 2024-10-24 132/week @ 2024-10-31

579 downloads per month
Used in fibertools-rs

MIT/Apache

590KB
14K 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

~64–99MB
~2M SLoC