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

Jetson Runtime Exception with sqlite-vec Extension Load Failure #1747

Closed
Links17 opened this issue Jan 3, 2025 · 4 comments
Closed

Jetson Runtime Exception with sqlite-vec Extension Load Failure #1747

Links17 opened this issue Jan 3, 2025 · 4 comments
Labels
bug Something isn't working

Comments

@Links17
Copy link

Links17 commented Jan 3, 2025

Describe the bug

When attempting to run an application on Jetson, it fails to load the sqlite-vec extensions. The specific error message suggests that the sqlite-vec-linux-arm64 package might not be installed.

To Reproduce

Steps to reproduce the behavior:

Start the application on Jetson.

pnpm i && pnpm start

Expected behavior
success

Screenshots
image

@Links17 Links17 added the bug Something isn't working label Jan 3, 2025
Copy link
Contributor

github-actions bot commented Jan 3, 2025

Hello @Links17! Welcome to the ai16z community. Thank you for opening your first issue; we appreciate your contribution. You are now a ai16z contributor!

@Links17
Copy link
Author

Links17 commented Jan 3, 2025

image

It seems that the issue has been resolved, but a new problem has arisen, so sad.

@kronael
Copy link

kronael commented Jan 5, 2025

There is not such package. Will try to create one. In the meantime, youll have to (on the arm machine)

cd
mkdir wk
cd ~/wk
git clone https://github.com/asg017/sqlite-vec.git
make -C sqlite-vec
cd ~/eliza/node_modules/.pnpm/[email protected]/node_modules
mkdir sqlite-vec-linux-arm64
cd sqlite-vec-linux-arm64
touch README.md
cat <<EOF >package.json
{"name":"sqlite-vec-linux-arm64","version":"0.1.6","author":"Ondrej Voxtal","license":"MIT OR Apache","description":"A vector search SQLite extension.","repository":{"type":"git","url":"https://TODO","directory":null},"main":"./index.cjs","module":"./index.mjs","types":"./index.d.ts","exports":{".":{"require":"./index.cjs","import":"./index.mjs","types":"./index.d.ts"}},"files":[],"keywords":[],"os":["linux"],"cpu":["arm64"]}
EOF
cp ~/sqlite-vec/dist/vec0.so
chmod 555 vec0.so

Hope you get what needs to be done and will be able to fix possible inconsistencies in my recipe. Happy hacking!

@AIFlowML
Copy link
Collaborator

AIFlowML commented Jan 6, 2025

Issue realated to the hardware and not related to the code.
I close this now also because there is a clear suggestion for a workaround made by @kronael
We will be monitoring the various platforms specs and in the new version we will have a bigger platform support.

@AIFlowML AIFlowML closed this as completed Jan 6, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants