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

Add support for alpine image #23

Closed
PylotLight opened this issue Dec 7, 2024 · 4 comments
Closed

Add support for alpine image #23

PylotLight opened this issue Dec 7, 2024 · 4 comments

Comments

@PylotLight
Copy link

Currently getting errors around @anush008/tokenizers-linux-x64-musl.
I imagine this is because of using nod:alpine image?

024-12-07 04:32:53 [ERROR]: ❌ [server]: Error during initDatabase with file /usr/src/packages/server/node_modules/flowise-components/dist/nodes/embeddings/FastEmbed/FastEmbedEmbedding.js: Cannot find module '@anush008/tokenizers-linux-x64-musl'
2024-12-07 15:32:53.063Z 1:00 Require stack:
2024-12-07 15:32:53.063Z 1:00 - /usr/src/node_modules/.pnpm/@Anush008[email protected]/node_modules/@anush008/tokenizers/index.js
2024-12-07 15:32:53.063Z 1:00 - /usr/src/node_modules/.pnpm/[email protected]/node_modules/fastembed/lib/cjs/fastembed.js
2024-12-07 15:32:53.063Z 1:00 - /usr/src/node_modules/.pnpm/[email protected]/node_modules/fastembed/lib/cjs/index.js
2024-12-07 15:32:53.063Z 1:00 - /usr/src/packages/components/dist/nodes/embeddings/FastEmbed/FastEmbedEmbedding.js

@Anush008
Copy link
Owner

Anush008 commented Dec 7, 2024

Can you try Linux x64 GNU?

@PylotLight
Copy link
Author

PylotLight commented Dec 7, 2024 via email

@PylotLight
Copy link
Author

Looks like lower level support is required for dependancy package tokenizers which fastembed uses.
Created issue here for follow up: huggingface/tokenizers#1703

@PylotLight
Copy link
Author

given the issue is likely solely with dependency, we can probably close this one until tokenizers supports musl on alpine.

@Anush008 Anush008 closed this as not planned Won't fix, can't repro, duplicate, stale Dec 24, 2024
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