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

Sharpe Linux-x86 #541

Closed
Damibu opened this issue Jan 26, 2024 · 2 comments · Fixed by #545
Closed

Sharpe Linux-x86 #541

Damibu opened this issue Jan 26, 2024 · 2 comments · Fixed by #545
Labels
question Further information is requested

Comments

@Damibu
Copy link

Damibu commented Jan 26, 2024

Question

Hi,

Firstly, many thanks for all your work.

My use case is to generate sentence embeddings for semantic matching. I develop on Mac but deploy to AWS Lambda.

Your package runs fine out the box on my Mac but fails to load Sharp on Lambda. I spent a couple of days trying lots of different things (fetching and building for Linux x86 and moving files around), but I never got it to work. In the end I removed the dependency on Sharp and it worked.

All's well, at present, but I do have a requirement in the future to embed images.

Sorry, I realise this may be more of a NPM issue (or more likely my knowledge of it), but any help would be appreciated.

Thanks
Dave

@Damibu Damibu added the question Further information is requested label Jan 26, 2024
@Damibu
Copy link
Author

Damibu commented Jan 29, 2024

Great, many thanks

@michaelsteenkamp
Copy link

@Damibu How did you remove the dependency on sharp? Running into the same AWS Lambda issue!

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

Successfully merging a pull request may close this issue.

2 participants