mirror of
https://github.com/huggingface/candle.git
synced 2025-06-16 10:38:54 +00:00
Add some preliminary ONNX support (#1260)
* Add the onnx protos. * Move the reading bits. * Install protoc on the CI. * Install protoc on the cuda CI too. * Use clap for the onnx tool. * Tweak the CI protoc install. * Add some simple evalution function. * Add some binary operator support.
This commit is contained in:
6
candle-onnx/build.rs
Normal file
6
candle-onnx/build.rs
Normal file
@ -0,0 +1,6 @@
|
||||
use std::io::Result;
|
||||
|
||||
fn main() -> Result<()> {
|
||||
prost_build::compile_protos(&["src/onnx.proto3"], &["src/"])?;
|
||||
Ok(())
|
||||
}
|
Reference in New Issue
Block a user