Comments (11)
Hi.. Could you tell me which example you are trying to run? I notice that the blas
dependencies can be troublesome.
from lsh-rs.
Sorry, coulda been more specific. I get the error when running make build
in examples/neural-network
from lsh-rs.
I believe the examples are not up to date anymore indeed. The lsh-rs
library still builds on my side (I hope on yours as well). However the examples don't work anymore because my blas libraries don't compile. At the moment I am too busy too work that out. But as the main library still builds I believe it should work with updating some dependencies / toggling off blas. If you believe there are any issues with the main library let me know, I'll figure it out.
from lsh-rs.
Also seeing this error when I add lsh-rs = "0.4.0"
to cargo.toml and run the install.
from lsh-rs.
Hey, so I managed to compile by pulling the code out of lsh-rs/lsh-rs/src/ and copying into my src, with some module changes.. you can see this commit here if it's helpful bwindsor22/thistle@477cd93
As an aside, for vector similarity lookup, you might also check out granne, hnswlib-rs, and hnsw libraries
from lsh-rs.
@ritchie46 thanks for the comment on blas, was helpful -- thoughts on shipping the examples separately? Something like Cargo.toml -> RemoveMe.Cargo.toml for a quick fix
from lsh-rs.
@ritchie46 err, looking back, some of the errors that @ijsnow saw were things I fixed locally -- e.g. changing this to std::marker::PhantomData
8 | use serde::export::PhantomData;
| ^^^^^^ private module
from lsh-rs.
... however when git clone and cargo make locally, I do get the blas error. So I think the blas error is an issue, but as I can get the code to compile without solving it, it might be possible to ship a working version of this lib only by quarantining the blas bit and separately solving the serde errors ijsnow was seeing
from lsh-rs.
@ritchie46 err, looking back, some of the errors that @ijsnow saw were things I fixed locally -- e.g. changing this to std::marker::PhantomData
8 | use serde::export::PhantomData;
| ^^^^^^ private module
Yes, that's definitly a good one. Could you make a PR for that fix?
from lsh-rs.
uarantining the blas bit and
This make sense, BLAS is only for squeezing out max performance, but should definitely be opt in.
from lsh-rs.
Great, submitted.
from lsh-rs.
Related Issues (11)
- How to use for vanilla K,L LSH with precomputed hashes HOT 6
- Make BLAS an optional version of install to avoid local build issues for some users
- Can't obtain results using Rust implementation HOT 2
- rust 1.57.0 compatibility issue
- Rust compilation error based on potentially broken serde API
- Set sqlite pragma mmap as builder patter option for LSH struct
- Drop Error return in builder pattern?
- Implement delete method for Sqlite backend.
- Fix travis.yml for mac
- how to add more HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from lsh-rs.