tiktoken-node
tiktoken-node copied to clipboard
Can not work in aws lambda as it's lack of GLIBC_2.28
It would throw an error as :
node-loader:\nError: /lib64/libc.so.6: version GLIBC_2.28 not found (required by /var/task/tiktoken-node.linux-x64-gnu.node)
Need to rebuild the node module with GLIBC_2.27 or Amazon Linux 2 image.
Fixed in this pull request https://github.com/ceifa/tiktoken-node/pull/9
The same issue exists with GCP functions. Would love to see #9 go through.