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

Add versioning in pickling #5574

Open
mufeili opened this issue Apr 20, 2023 · 0 comments
Open

Add versioning in pickling #5574

mufeili opened this issue Apr 20, 2023 · 0 comments
Labels
Work Item Work items tracked in project tracker

Comments

@mufeili
Copy link
Member

mufeili commented Apr 20, 2023

🔨Work Item

As reported in https://discuss.dgl.ai/t/how-to-use-pickle-load-lib-in-dgl/3606, a DGLGraph pickled with an old version of DGL may not work with a new version of DGL. It's better to include a versioning tag in pickle.dump and raise a warning in pickle.load if the version of DGL used for pickle.dump is different from the version used for pickle.load.

Description

Depending work items or issues

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Work Item Work items tracked in project tracker
Projects
Status: 🏠 Backlog
Development

No branches or pull requests

1 participant