* Move ONNX inference MNIST example to burn-onnx
Moving to https://github.com/tracel-ai/burn-onnx/tree/main/examples/onnx-inference
* Move Raspberry Pi Pico example project to burn-onnx
Moving to https://github.com/tracel-ai/burn-onnx/tree/main/examples/raspberry-pi-pico
* Move image-classification-web example to burn-onnx
Moving to https://github.com/tracel-ai/burn-onnx/tree/main/examples/image-classification-web
* Refactor import-model-weights example to use burn-store
Replace burn-import with burn-store for loading PyTorch and Safetensors
model weights. Convert from NamedMpk (.mpk) format to Burnpack (.bpk)
format for native Burn model storage.
- Use PytorchStore and SafetensorsStore for weight loading
- Use BurnpackStore for saving/loading converted models
- Rename namedmpk binary to burnpack
- Add PyTorchToBurnAdapter for Safetensors files exported from PyTorch
- Update inference to accept Model directly instead of ModelRecord
* Remove ONNX to Burn development guide from contributor-book
The guide has been moved to the burn-onnx repository:
https://github.com/tracel-ai/burn-onnx/blob/main/DEVELOPMENT-GUIDE.md
* Update Cargo.lock
* Move pytorch-tests and safetensors-tests from burn-import to burn-store
Migrate test directories from crates/burn-import/ to crates/burn-store/
and update all tests to use the new burn-store API.
Changes:
- Update Cargo.toml dependencies from burn-import to burn-store
- Replace PyTorchFileRecorder/SafetensorsFileRecorder with PytorchStore/SafetensorsStore
- Convert record-based loading to direct model loading via ModuleSnapshot::load_from()
- Convert LoadArgs options to fluent builder pattern (.with_key_remapping(), etc.)
- Fix model configurations to match actual PyTorch weight file dimensions
- Add init() methods for models that previously only had new_with(record)
All 37 pytorch tests and 1 safetensors test pass.
* Fix test file paths after moving test directories to burn-store
Update paths in burn-store/src tests to reference the new locations
of pytorch-tests and safetensors-tests directories.
* Add migration guide for burn-import to burn-store
Document migration path from deprecated PyTorchFileRecorder and
SafetensorsFileRecorder to the new PytorchStore and SafetensorsStore APIs.
Cover API mapping, code examples, and common migration issues.
Include details on printing LoadResult for debugging and helpful suggestions.
* Remove burn-import crate (moved to burn-onnx repo)
The burn-import crate has been moved to a separate repository:
https://github.com/tracel-ai/burn-onnx/tree/main/crates/burn-import
For loading PyTorch and SafeTensors model weights, use burn-store instead
with PytorchStore and SafetensorsStore.
* Replace pytorch/safetensors docs with unified model-weights page
Consolidate PyTorch and SafeTensors model import documentation into a
single comprehensive page covering burn-store usage. The new page covers:
- All supported formats (Burnpack, SafeTensors, PyTorch)
- Loading and saving workflows
- Advanced features (filtering, remapping, partial loading, zero-copy)
- API reference and troubleshooting
* Simplify burn-store README and point to Burn Book
* Consolidate model weights docs into saving-and-loading page
Merge the model-weights documentation into the main saving-and-loading
page, providing a single comprehensive guide for all model persistence
operations using burn-store.
- Remove separate import/model-weights.md page
- Update saving-and-loading.md with full burn-store documentation
- Remove unused SVG images from import folder
- Update navigation in SUMMARY.md and import/README.md
* Move ONNX import to standalone section, point to burn-onnx repo
- Create new onnx-import.md as standalone top-level section
- Update links to point to burn-onnx repo (github.com/tracel-ai/burn-onnx)
- Remove import/ folder (no longer needed)
- Streamline documentation with quick start focus
* Restore full ONNX import documentation content
Restored detailed content including:
- Understanding ONNX section
- Burn's ONNX Support advantages
- ONNX compatibility and opset version guidance
- Step-by-step guide with code examples
- Advanced configuration options
- Troubleshooting section
- Examples and resources with links to burn-onnx repo
* Update ONNX examples links to burn-onnx repo
* Update ONNX-related example links in examples.md to burn-onnx repo
* Fix Burnpack extension: .burnpack -> .bpk
* Remove ONNX Tests README reference from docs
* Improve table formatting in ONNX import and saving docs
Reformats markdown tables in onnx-import.md and saving-and-loading.md for better readability and consistency. No content changes, only improved alignment and line breaks.
* Remove onnx-ir and onnx-ir-derive crates
Moved to https://github.com/tracel-ai/burn-onnx
* Remove burn-onnx crate
Moved to https://github.com/tracel-ai/burn-onnx
* Remove ONNX references from workspace config and README
- Remove burn-onnx entries from Cargo.toml workspace members/exclude
- Remove RUSTSEC-2024-0437 (protobuf) from audit.toml
- Update README ONNX section to point to burn-onnx repo
- Update README model loading section to point to new docs
- Remove ONNX example from README (moved to burn-onnx)
* Clean up remaining ONNX references
- Remove ONNX publish jobs from publish.yml
- Update semver-checks exclude list
- Update burn-book overview.md links
- Update burn-book no-std.md links to burn-onnx repo
- Remove ONNX proto license from NOTICES.md
- Update .gitignore comment
* Remove unused protobuf and rust-format dependencies
* Remove onnx-tests example from contributor-book
* Update Cargo.lock
* Format long line in test for readability
Split a long line in the should_fail_if_struct_field_is_missing test to improve code readability. No functional changes were made.
* Restore Record-based saving/loading sections per PR feedback
* Explain burn-store motivation in saving-and-loading docs
* Remove em dash from burn-store intro
* Format long line in test for readability
* Move ONNX import into burn-onnx crate
* Update publish
* Update burn-import -> burn-onnx
* Fix clippy warnings that are no longer allowed
* Allow unused
* Update contributor book references to burn-onnx
Update all burn-import path references in the ONNX development guide
to point to the new burn-onnx crate location.
* Remove ONNX integration steps from burn op guide
Deleted the section detailing how to add a new operation to burn-onnx, including ONNX IR and code generation mapping steps. This streamlines the guide and removes outdated or redundant ONNX-specific instructions.
* Update onnx-ir references from burn-import to burn-onnx
Update documentation and code comments to reference the new burn-onnx
crate instead of burn-import.
* Update ONNX test producer name to burn-onnx-test
Update producer_name metadata in Python test scripts from
"burn-import-test" to "burn-onnx-test" for consistency.
* Undo ONNX file changes
* cfg_attr doc for build
* Copy katex header for publish workflow
* Fix some mul symbols
* Update v4.1
* Copy for dry-run only
* Undo copy
* Update to publish workflow v4 now it has been published
---------
Co-authored-by: Sylvain Benner <sylvain@benner.online>
Runners are now registered at the organization level so this prefix makes it
sure that we don't have id clashes accross repositories (highly unlikely
but let's make it extra sure).