Skip to content

Commit eb98741

Browse files
committed
remove protoc install instructions from README.md
1 parent 40e7828 commit eb98741

File tree

2 files changed

+3
-21
lines changed

2 files changed

+3
-21
lines changed

candle-onnx/Cargo.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,9 @@ candle = { path = "../candle-core", package = "candle-core", version = "0.9.1" }
1414
candle-nn = { path = "../candle-nn", version = "0.9.1" }
1515
prost = "0.12.1"
1616

17-
[build-dependencies]
18-
prost-build = "0.12.1"
19-
protobuf-src = "2.1.1"
17+
# [build-dependencies]
18+
# prost-build = "0.12.1"
19+
# protobuf-src = "2.1.1"
2020

2121
[dev-dependencies]
2222
anyhow = { version = "1", features = ["backtrace"] }

candle-onnx/README.md

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,3 @@
11
# candle-onnx
22

33
This crate adds ONNX support to candle
4-
5-
## FAQ
6-
7-
#### Missing protoc installation when compiling candle-onnx
8-
9-
The candle-onnx dependency prost-build no longer comes bundled with prost
10-
binaries. This could cause the following error when attempting to compile
11-
candle-onnx:
12-
13-
```
14-
error: failed to run custom build command for `candle-onnx`
15-
Caused by: // (...)
16-
Could not find `protoc` installation and this build crate cannot proceed without this knowledge.
17-
```
18-
19-
To fix this issue install protoc on your system and make it available in your
20-
system `PATH`. See the [protoc
21-
documentation](https://grpc.io/docs/protoc-installation/) for more information.

0 commit comments

Comments
 (0)