Draft
Conversation
Contributor
|
Too many files changed for review. ( |
paul-nechifor
commented
Feb 25, 2026
| opacity=0.2, | ||
| background="#484981", | ||
| ), | ||
| "world/camera_info": _convert_camera_info, |
Contributor
Author
There was a problem hiding this comment.
The reason this change is needed is because multiprocessing can't pickle lambdas. Lambdas don't have names so they can't be pickled because there's nothing to reference them from the other side.
Dask cheats by serializing the bytecode of the lambda.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Problem
core/__init__.pyCloses DIM-609
Solution
dimos.core. Now you have to import from the original place.dimos/core/__init__.py.dimosshut down cleanly, without any exceptions, and right away.Breaking Changes
multiprocessingrequires params to be pickleable, and lambdas are not because they don't have names. This worked with Dask because Dask serialized the bytecode of the lambda and reconstructed it on the other side.How to Test
Test any blueprint. Example:
Contributor License Agreement