Skip to content

Conversation

@tk3369
Copy link
Owner

@tk3369 tk3369 commented Jan 3, 2023

No description provided.

@tk3369 tk3369 mentioned this pull request Jan 3, 2023
@Scusemua
Copy link

Scusemua commented Jan 4, 2023

Right, so I went ahead and tried this branch, and it appears to get stuck while loading the user module...

OpenBLAS WARNING - could not determine the L2 cache size on this system, assuming 256k
[ Info: Loading user module
OpenBLAS WARNING - could not determine the L2 cache size on this system, assuming 256k
[ Info: Loading user module

There is no additional output from the function after this point. Do you have any ideas as to what could be going wrong? I cloned this repo and ran the script using this PR. It all works fine if I test it locally, but it does not work for me when deployed to AWS Lambda.

@tk3369
Copy link
Owner Author

tk3369 commented Jan 5, 2023

I think I did two more things for the function. From the AWS console, I had customized the function to have 512 MB memory and 60 seconds timeout. Maybe you can try that too?

@Scusemua
Copy link

Scusemua commented Jan 5, 2023

I think I did two more things for the function. From the AWS console, I had customized the function to have 512 MB memory and 60 seconds timeout. Maybe you can try that too?

That worked! 🎉 I'd accidentally increased the ephemeral storage parameter rather than the memory parameter when I was trying to figure it out before. Increasing the proper memory to 512 MB resolved the issue.

Thank you for the help! 🙂

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants