summaryrefslogtreecommitdiff
path: root/candle-onnx/README.md
blob: af25b16286c7fba17071a158dcae3d429f4a6e5d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# 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](https://grpc.io/docs/protoc-installation/) for more information.