Lambda functions and DDP incompatibilities
See original GitHub issueAttributeError: Can't pickle local object 'WeightRegularizerMixin.__init__.<locals>.<lambda>'
The use of lambda functions causes distributed training to fail due to the use of pickling in fork. I searched for lambdas in the repo and there are only around 10 instances, should be an easy fix?
Issue Analytics
- State:
- Created 4 years ago
- Reactions:1
- Comments:11 (5 by maintainers)
Top Results From Across the Web
Lambda instruction set architectures - AWS Documentation
The instruction set architecture of a Lambda function determines the type of computer processor that Lambda uses to run the function.
Read more >Compatibility and requirements of AWS Lambda monitoring
Before enabling serverless monitoring for AWS Lambda, make sure you meet the requirements and learn about AWS charges resulting from its use.
Read more >Lambda expressions and anonymous functions | Microsoft Learn
C# lambda expressions that are used to create anonymous functions and expression bodied members.
Read more >Use Application Security layer to protect AWS Lambda functions
Adding protection to your Lambda function is simple and only requires adding the Application Security layer and adding the required configuration for the ......
Read more >Amazon Lambda – FAQs
Q: Do my Amazon Lambda functions remain available when I change my code or its configuration? Yes. When you update a Lambda function,...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

I removed all nested function definitions, so pickling loss functions works now. Hopefully that fixes it! fingers crossed
Awesome, I’ll test it out soon!
Edit: seems to be working! (after converting all args to keyword args)