onnxruntime-node
uncompressed too large for NextJS 15 API routes
#1164
Labels
question
Further information is requested
Question
Hello! I'm trying to deploy
xenova/bge-small-en-v1.5
locally to embed text in an Next 15 API route, but I'm encountering this error with the route's unzipped max size exceeding 250 MB. Wanted to check in to see if there's some error on my side? Doesn't seem likeonnxruntime-node
should be ~720 MB uncompressed by itself? Thanks!generateEmbeddingV2()
below is called within the API route.I also tried downloading the model file locally, but that didn't work in deployment either.
The text was updated successfully, but these errors were encountered: