candle/candle-onnx
Laurent Mazare a4c56a958e
Add the const-set op. (#2910)
* Add the const-set op.

* Cuda implementation.

* Bugfix.

* Metal cleanup.

* Add the metal kernels.

* Add some testing.

* Finish the metal implementation.

* Bump the version.
2025-04-19 10:07:02 +02:00
..
src Add PRelu operation (#2904) 2025-04-19 07:24:10 +02:00
tests Add PRelu operation (#2904) 2025-04-19 07:24:10 +02:00
Cargo.toml Add the const-set op. (#2910) 2025-04-19 10:07:02 +02:00
README.md Put the onnx example behind a feature flag. (#1276) 2023-11-06 07:45:07 +01:00
build.rs Add some preliminary ONNX support (#1260) 2023-11-04 06:36:05 +01:00

README.md

candle-onnx

This crate adds ONNX support to candle

FAQ

Missing protoc installation when compiling candle-onnx

The candle-onnx dependency prost-build no longer comes bundled with prost binaries. This could cause the following error when attempting to compile candle-onnx:

error: failed to run custom build command for `candle-onnx`
Caused by: // (...)
  Could not find `protoc` installation and this build crate cannot proceed without this knowledge.

To fix this issue install protoc on your system and make it available in your system PATH. See the protoc documentation for more information.