Skip to content

tfjs-node module exceed max serverless function size, 312 MB uncompressed / 74.1 MB compressed size #255

@helloivanco

Description

@helloivanco

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?

Screen Shot 2021-07-26 at 15 55 54 PM

Thank you.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions