Hacker News new | ask | show | jobs
by antimora 13 days ago
https://github.com/tracel-ai/burn-onnx

I maintain this project at the moment.

It convert ONNX models into native, backend-agnostic Burn code for inference and fine-tuning.

2 comments

This looks awesome, i may be using this in prod very soon. Ive had some ONNX issues this looks to solve
Have used it with wasm and it's lovely, but I was kindof disappointed to learn internally it's basically another serialisation format. I imagined gigabytes of generated Rust code hehe
The graph is converted into Rust code that calls Burn APIs but the weights are converted into Burn's format, called burnpack (similar to safetensors but instead of JSON we use CBOR for weights meta data).