mirror of
https://github.com/huggingface/candle.git
synced 2025-06-14 01:48:08 +00:00

* onnx attention * setup an example, adding and fixing onnx ops bit by bit * model working, output is garbage data * trilu working * close but not quite, Issues still with scatterND * closer but the outputs are still slightly wrong * added tests for trilu and scatterND * lint * readme * clippy * removed unnessisary comments * changed device selection, took hyperparameters from model config
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.