dgl icon indicating copy to clipboard operation
dgl copied to clipboard

[Feature] enable to save graphs in multiple formats

Open Rhett-Ying opened this issue 2 years ago • 12 comments

Description

For now, only single format is saved. But multiple formats could be beneficial in some scenarios such as etype sorted for DistDGL.

Checklist

Please feel free to remove inapplicable items for your PR.

  • [ ] The PR title starts with [$CATEGORY] (such as [NN], [Model], [Doc], [Feature]])
  • [ ] Changes are complete (i.e. I finished coding on this PR)
  • [ ] All changes have test coverage
  • [ ] Code is well-documented
  • [ ] To the best of my knowledge, examples are either not affected by this change, or have been fixed to be compatible with this change
  • [ ] Related issue is referred in this PR
  • [ ] If the PR is for a new model/paper, I've updated the example index here.

Changes

Rhett-Ying avatar Jul 19 '22 06:07 Rhett-Ying

To trigger regression tests:

  • @dgl-bot run [instance-type] [which tests] [compare-with-branch]; For example: @dgl-bot run g4dn.4xlarge all dmlc/master or @dgl-bot run c5.9xlarge kernel,api dmlc/master

dgl-bot avatar Jul 19 '22 06:07 dgl-bot

Commit ID: db0d07b0b78794ed8466394ed8299fa8abb567d0

Build ID: 1

Status: ✅ CI test succeeded

Report path: link

Full logs path: link

dgl-bot avatar Jul 19 '22 07:07 dgl-bot

The suggestion is to refactor the code to use a dedicated stream that subclasses the base DMLC stream class.

jermainewang avatar Aug 10 '22 07:08 jermainewang

code refactor is required. It will take at least 3 days...

Rhett-Ying avatar Aug 31 '22 08:08 Rhett-Ying

Commit ID: 6784d559fadb93b46a608f917627e9c7987977dc

Build ID: 4

Status: ✅ CI test succeeded

Report path: link

Full logs path: link

Rhett-Ying avatar Sep 04 '22 11:09 Rhett-Ying

Commit ID: None

Build ID: 5

Status: ✅ CI test succeeded

Report path: link

Full logs path: link

dgl-bot avatar Sep 06 '22 01:09 dgl-bot

Commit ID: d942662f644b122b65722c75d1a10e80fd513652

Build ID: 6

Status: ✅ CI test succeeded

Report path: link

Full logs path: link

dgl-bot avatar Oct 09 '22 06:10 dgl-bot

Commit ID: 0030f2927ba6b25bbc92c991b0a46575df40fa5f

Build ID: 7

Status: ❌ CI test failed in Stage [Lint Check].

Report path: link

Full logs path: link

dgl-bot avatar Oct 09 '22 10:10 dgl-bot

Commit ID: 06570dfeabf7b0cd61ed710b7349c07a1d71d645

Build ID: 8

Status: ❌ CI test failed in Stage [Torch CPU (Win64) Unit test].

Report path: link

Full logs path: link

dgl-bot avatar Oct 09 '22 11:10 dgl-bot

Commit ID: 02fcafcb20006c7b93e249324d030e9cb7bb480a

Build ID: 9

Status: ✅ CI test succeeded

Report path: link

Full logs path: link

dgl-bot avatar Oct 10 '22 01:10 dgl-bot

Commit ID: 0e28261e4ad1139cfc03bda337c3d7e3939e9b28

Build ID: 10

Status: ❌ CI test failed in Stage [CPU Build].

Report path: link

Full logs path: link

dgl-bot avatar Oct 12 '22 05:10 dgl-bot

Commit ID: 0fceaadc578d1fe7aad14f274b9b8697a1a11fd2

Build ID: 11

Status: ✅ CI test succeeded

Report path: link

Full logs path: link

dgl-bot avatar Oct 12 '22 07:10 dgl-bot

Commit ID: 4d8066bd58e9ea27f1c18ce02a4457e5a2192711

Build ID: 12

Status: ❌ CI test failed in Stage [Lint Check].

Report path: link

Full logs path: link

dgl-bot avatar Oct 19 '22 04:10 dgl-bot

Commit ID: e32e7884853d2aff4176c56df5532d9cc7d393f3

Build ID: 13

Status: ✅ CI test succeeded

Report path: link

Full logs path: link

dgl-bot avatar Oct 19 '22 06:10 dgl-bot