Skip to content

Commit

Permalink
[Fix] Don't create extra formats in dataloader (dmlc#2551)
Browse files Browse the repository at this point in the history
Co-authored-by: Minjie Wang <[email protected]>
  • Loading branch information
nv-dlasalle and jermainewang authored Jan 24, 2021
1 parent 2288098 commit a6abffe
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions python/dgl/dataloading/dataloader.py
Original file line number Diff line number Diff line change
Expand Up @@ -251,8 +251,6 @@ def sample_blocks(self, g, seed_nodes, exclude_eids=None):

seed_nodes = {ntype: block.srcnodes[ntype].data[NID] for ntype in block.srctypes}

# Pre-generate CSR format so that it can be used in training directly
block.create_formats_()
blocks.insert(0, block)
return blocks

Expand Down

0 comments on commit a6abffe

Please sign in to comment.