Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Research dill vs. cloudpickle for pickling functions #1387

Closed
Ark-kun opened this issue May 24, 2019 · 5 comments
Closed

Research dill vs. cloudpickle for pickling functions #1387

Ark-kun opened this issue May 24, 2019 · 5 comments
Assignees
Labels
area/sdk/dsl area/sdk kind/feature lifecycle/stale The issue / pull request is stale, any activities remove this label. priority/p2

Comments

@Ark-kun
Copy link
Contributor

Ark-kun commented May 24, 2019

We now use function pickling to capture python code and it's dependencies when creating components form python code. Fairing and Pipelines use the cloudpickle library for that, but some other projects use dill. We need to research the differences and possibly switch to a different library.

Cloudpickle: https://github.com/cloudpipe/cloudpickle
Dill: http://trac.mystic.cacr.caltech.edu/project/pathos/wiki/dill

Some relevant discussions:
piskvorky/gensim#558 (comment)
uqfoundation/multiprocess#22 (comment)

@vicaire
Copy link
Contributor

vicaire commented May 31, 2019

@Ark-kun, could you please add details about the feature that this research is related to?

@Ark-kun
Copy link
Contributor Author

Ark-kun commented Jun 1, 2019

@Ark-kun, could you please add details about the feature that this research is related to?

Done.

@gaoning777
Copy link
Contributor

I think you are working on the codegen part of the component authoring, I'll let you lead the efforts.

@stale
Copy link

stale bot commented Jun 25, 2020

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the lifecycle/stale The issue / pull request is stale, any activities remove this label. label Jun 25, 2020
@stale
Copy link

stale bot commented Jul 3, 2020

This issue has been automatically closed because it has not had recent activity. Please comment "/reopen" to reopen it.

@stale stale bot closed this as completed Jul 3, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/sdk/dsl area/sdk kind/feature lifecycle/stale The issue / pull request is stale, any activities remove this label. priority/p2
Projects
None yet
Development

No branches or pull requests

3 participants