dgl
dgl copied to clipboard
[Feature] enable to save graphs in multiple formats
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
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
Commit ID: db0d07b0b78794ed8466394ed8299fa8abb567d0
Build ID: 1
Status: ✅ CI test succeeded
Report path: link
Full logs path: link
The suggestion is to refactor the code to use a dedicated stream that subclasses the base DMLC stream class.
code refactor is required. It will take at least 3 days...
Commit ID: 6784d559fadb93b46a608f917627e9c7987977dc
Build ID: 4
Status: ✅ CI test succeeded
Report path: link
Full logs path: link
Commit ID: d942662f644b122b65722c75d1a10e80fd513652
Build ID: 6
Status: ✅ CI test succeeded
Report path: link
Full logs path: link
Commit ID: 0030f2927ba6b25bbc92c991b0a46575df40fa5f
Build ID: 7
Status: ❌ CI test failed in Stage [Lint Check].
Report path: link
Full logs path: link
Commit ID: 06570dfeabf7b0cd61ed710b7349c07a1d71d645
Build ID: 8
Status: ❌ CI test failed in Stage [Torch CPU (Win64) Unit test].
Report path: link
Full logs path: link
Commit ID: 02fcafcb20006c7b93e249324d030e9cb7bb480a
Build ID: 9
Status: ✅ CI test succeeded
Report path: link
Full logs path: link
Commit ID: 0e28261e4ad1139cfc03bda337c3d7e3939e9b28
Build ID: 10
Status: ❌ CI test failed in Stage [CPU Build].
Report path: link
Full logs path: link
Commit ID: 0fceaadc578d1fe7aad14f274b9b8697a1a11fd2
Build ID: 11
Status: ✅ CI test succeeded
Report path: link
Full logs path: link