pykeio / ort

Fast ML inference & training for Rust with ONNX Runtime
https://ort.pyke.io/
Apache License 2.0
847 stars 100 forks source link

Build failure when feature "half" is not enabled #305

Closed jawj closed 5 hours ago

jawj commented 5 hours ago

In src/tensor/types.rs there are always references made to Float16 and Bfloat16, but these enum values only exist when #[cfg(feature = "half")].

Hence these errors: https://github.com/Anush008/fastembed-rs/actions/runs/11420241429/job/31775708538?pr=120

jawj commented 3 hours ago

Thanks for the quick response! And sorry, but any chance of another RC release with this?

decahedron1 commented 2 hours ago

With rc.7 being released just yesterday and rc.8 today, probably not for at least another week, unfortunately.