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

Unable to use tfjs-node in aws lambda environment #2809

Closed
saumilsdk opened this issue Mar 3, 2020 · 3 comments
Closed

Unable to use tfjs-node in aws lambda environment #2809

saumilsdk opened this issue Mar 3, 2020 · 3 comments

Comments

@saumilsdk
Copy link

saumilsdk commented Mar 3, 2020

TFJS Node Version
"@tensorflow/tfjs-node": "^1.5.2"

Problem:
Unable to use tfjs-node while running.

/data/home/skapadia/projects/cloud-telemetry/node_modules/mocha/node_modules/yargs/yargs.js:1163
      else throw err
           ^
Error: /usr/lib/x86_64-linux-gnu/libstdc++.so.6: version `GLIBCXX_3.4.21' not found (required by /data/home/skapadia/projects/cloud-telemetry/node_modules/@tensorflow/tfjs-node/lib/napi-v4/tfjs_binding.node)
    at Object.Module._extensions..node (internal/modules/cjs/loader.js:1021:18)
    at Module.load (internal/modules/cjs/loader.js:811:32)
    at Function.Module._load (internal/modules/cjs/loader.js:723:14)
    at Module.require (internal/modules/cjs/loader.js:848:19)
    at require (internal/modules/cjs/helpers.js:74:18)
@rthadur
Copy link
Contributor

rthadur commented Mar 3, 2020

@saumilsdk thanks for reporting , i believe the issue is with the operating system please check stack-overflow for similar issue.

@saumilsdk
Copy link
Author

hi @rthadur I am able to take care of libc version but now i am not able to deploy as tfjs-node size is large and >250MB limit of aws serverless. Any idea how to run tsjf-node in serverless?

@saumilsdk saumilsdk changed the title Unable to use tfjs-node in aws ec2 environment Unable to use tfjs-node in aws lambda environment Mar 4, 2020
@rthadur
Copy link
Contributor

rthadur commented Mar 4, 2020

Thank you, right now we don't support serverless , i have made #2817 as a feature request.

@rthadur rthadur closed this as completed Mar 4, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants