Anush008 / fastembed-rs

Library for generating vector embeddings, reranking in Rust
https://docs.rs/fastembed
Apache License 2.0
264 stars 36 forks source link

[issue] Fastembed build is failing #73

Closed jay11ca39 closed 3 months ago

jay11ca39 commented 3 months ago

To reproduce: Create a sample cargo project: $ cargo init $ cargo add fastembed $ cargo build

Error:

   Compiling ort v2.0.0-rc.2
error[E0063]: missing fields `GetAliasMap`, `GetMayInplace`, `ReleaseAliasMap` and 1 other field in initializer of `OrtCustomOp`
  --> ~/.cargo/registry/src/github.com-1ecc6299db9ec823/ort-2.0.0-rc.2/src/operator/bound.rs:27:20
   |
27 |             implementation: ort_sys::OrtCustomOp {
   |                             ^^^^^^^^^^^^^^^^^^^^ missing `GetAliasMap`, `GetMayInplace`, `ReleaseAliasMap` and 1 other field

For more information about this error, try `rustc --explain E0063`.
error: could not compile `ort` (lib) due to 1 previous error

Note: Reason may be latest release from ort but fastembed do strict pinning.. not sure what is reason..

github-actions[bot] commented 3 months ago

:tada: This issue has been resolved in version 3.7.1 :tada:

The release is available on:

Your semantic-release bot :package::rocket:

Anush008 commented 3 months ago

Please update FastEmbed to latest. v3.7.1.

Thanks a lot for reporting.