Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Don't use lambdas in
JITFunction
to make it picklable (#5900)
PyTorch issue: pytorch/pytorch#146945 Functionality in PyTorch that started relying on serializability of `JITFunction`: pytorch/pytorch#146417 I suppose there are different ways to solve this problem, but at least the current lambdas are not necessary and can be easily rewritten. Signed-off-by: Anatoly Myachev <[email protected]>
- Loading branch information