tfjs-node module exceed max serverless function size, 312 MB uncompressed / 74.1 MB compressed size #256
Unanswered
helloivanco
asked this question in
Q&A
Replies: 1 comment 3 replies
-
@hellopaidco Sadly we can't do anything about that size, since it's an external package. Just a thought, since you using Nextjs, why not use danfojs browser version? It's much smaller. https://www.npmjs.com/package/danfojs |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Using danfojs-node in a NextJS project which I'm trying to deploy via Vercel.
I'm importing dfd via
const dfd = require('danfojs-node');
Unable to deploy build as the node_modules/@tensorflow/tfjs-node exceeds the max serverless function size of 50 MB compressed or 250 MB uncompressed. Everything works fine in dev.
Is there a way to reduce the module size / workaround to this issue?
Thank you.
Beta Was this translation helpful? Give feedback.
All reactions