Comments (7)
Hi @HenryHengZJ Apologize for the delay in resolving this issue. Here are some updates:
The build for arm64
was fixed in CMakeList.txt
and it is possible to build the package.
However, The part of uploading pre-built binaries to GitHub release still has something to do. The build for arm64 is very slow (about 4 hours), but the previously used tools prebuild
failed easily, I need to replace it with GitHub Actions.
I'm currently facing some environment and configuration issues with GitHub Actions. Unfortunately, I have been occupied with work recently. and, I will be traveling for the next 6 days starting tomorrow. If things goes well, I expect to resolve this issue next week.
from faiss-node.
@HenryHengZJ Thank you for reporting, I am going to deal with it next.
from faiss-node.
@HenryHengZJ The new version was released.
from faiss-node.
blocked by:
from faiss-node.
hey @ewfian just wondering any progress on this? thanks!
from faiss-node.
I just got a macbook pro with an M2 MAX and I am having the same error:
#0 129.2 [5/5] Building fresh packages...
#0 131.3 error /usr/src/packages/node_modules/faiss-node: Command failed.
#0 131.3 Exit code: 127
#0 131.3 Command: prebuild-install --runtime napi --verbose || npm run build
#0 131.3 Arguments:
#0 131.3 Directory: /usr/src/packages/node_modules/faiss-node
#0 131.3 Output:
#0 131.3 prebuild-install info begin Prebuild-install version 7.1.1
#0 131.3 prebuild-install info looking for local prebuild @ prebuilds/faiss-node-v0.2.1-napi-v8-linuxmusl-arm64.tar.gz
#0 131.3 prebuild-install info looking for cached prebuild @ /root/.npm/_prebuilds/c598fd-faiss-node-v0.2.1-napi-v8-linuxmusl-arm64.tar.gz
#0 131.3 prebuild-install http request GET https://github.com/ewfian/faiss-node/releases/download/v0.2.1/faiss-node-v0.2.1-napi-v8-linuxmusl-arm64.tar.gz
#0 131.3 prebuild-install http 404 https://github.com/ewfian/faiss-node/releases/download/v0.2.1/faiss-node-v0.2.1-napi-v8-linuxmusl-arm64.tar.gz
#0 131.3 prebuild-install warn install No prebuilt binaries found (target=8 runtime=napi arch=arm64 libc=musl platform=linux)
#0 131.3
#0 131.3 > [email protected] build
#0 131.3 > cmake-js compile
#0 131.3
#0 131.3 sh: cmake-js: not found
#0 131.3 info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.
------
Dockerfile:27
--------------------
25 | COPY packages/server/package.json ./packages/server/package.json
26 |
27 | >>> RUN yarn install
28 |
29 | # Copy app source
--------------------
ERROR: failed to solve: process "/bin/sh -c yarn install" did not complete successfully: exit code: 127
from faiss-node.
thanks for looking into it @ewfian!
from faiss-node.
Related Issues (20)
- dlopen Symbol not found error on macOS 10.15.7 and Netlify HOT 1
- Docker Installation Failed HOT 2
- CI: Add import test for docker
- Replace prebuild with github cli for upload assets
- CUDA/GPU Support? HOT 1
- Unavailable non-musl ARM64 build HOT 1
- Using Faiss-node in aws having problem working fine locally HOT 16
- Possible to reduce node package size? HOT 6
- Add the option to get the cosine similarity value (score) for each returned label in the search function
- Install failed HOT 2
- Support remove_ids
- [AWS]Any chance of an arm64 build of the Node.js layer HOT 4
- Ability to encode/decode buffers when FS not available? HOT 4
- Error: faiss-node package.json is not node-pre-gyp ready HOT 1
- No way to get the original vector value from the index
- Docker Build Fails on ARM v7 HOT 3
- Add support for threshold based cosine similarity search
- Does not work without internet connection HOT 1
- Vector store initial
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 faiss-node.