You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
The text was updated successfully, but these errors were encountered:
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
The text was updated successfully, but these errors were encountered: