Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dependency on packed_simd #20

Closed
bwindsor22 opened this issue Apr 25, 2021 · 9 comments
Closed

Dependency on packed_simd #20

bwindsor22 opened this issue Apr 25, 2021 · 9 comments
Assignees

Comments

@bwindsor22
Copy link

Hnsw depends on packed_simd, which is no longer in development.

On my mac, this is hnsw is showing the same issues seen with pack_simd in other libraries:
rust-lang/cargo#9139

It would be great to move to https://github.com/rust-lang/stdsimd maybe

packed_simd v0.3.3
└── hnsw v0.3.1
@vadixidav
Copy link
Member

If it supports the same capabilities, I can look into it. I have some time today to take a look.

@vadixidav vadixidav self-assigned this Apr 25, 2021
@vadixidav
Copy link
Member

It seems that stdsimd isn't published on crates.io, nor is it yet part of the standard library yet. I will continue looking into alternatives to packed_simd.

@vadixidav
Copy link
Member

vadixidav commented Apr 25, 2021

It seems that the only maintained alternative that I can use right now is faster: https://crates.io/crates/faster

I am going to see if I can use this and get similar performance.

Edit: Nevermind, I can't even build packed_simd anymore, so I am going to just try it.

@vadixidav
Copy link
Member

It seems that faster also uses packed_simd. I am not really sure what to do here. I will look for more obscure alternatives. There might just not be a sufficient solution.

@vadixidav
Copy link
Member

I have been looking at simdeez: https://crates.io/crates/simdeez. It doesn't seem to work in a way that is what we need. I am not sure if there is any alternative in the Rust ecosystem to packed_simd at this time. Even the simba crate (https://docs.rs/simba/0.4.0/simba/) uses packed_simd. The fact that it is not building is definitely a huge issue.

@vadixidav
Copy link
Member

Okay, looking at those other crates, it seems that this is what I need to use: https://crates.io/crates/packed_simd_2/0.3.4

@vadixidav
Copy link
Member

Published version 0.11.0 of space: https://crates.io/crates/space/0.11.0.

@vadixidav
Copy link
Member

Okay, @bwindsor22, please check if the newly released version of HNSW v0.7.0 still has build issues. https://crates.io/crates/hnsw/0.7.0

If its all good, we can close this issue.

@vadixidav
Copy link
Member

I am going to close this issue, as this should likely be resolved. I also recommend using HGG (https://github.com/rust-cv/hgg) at this point as an alternative to HNSW.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants