dmlc / dmlc/dgl

Add versioning in pickling

Open
#5,574 0 comments 2 reactions 0 assignees View on GitHub
Work Item
Dominant language
Python
Stars
14.3k
Forks
3.1k
PR merge metrics
No merged PRs in 30d

Description

## 🔨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

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.