dmlc/dgl

Support TorchScript for DGL Sparse

Open

#5,275 opened on Feb 9, 2023

View on GitHub
 (3 comments) (0 reactions) (1 assignee)Python (12,665 stars) (2,928 forks)batch import
feature requesthelp wanted

Description

Description

There have been many requests to have DGL support JIT compilation. Unfortunately, it is difficult to JIT DGL's message passing API because it supports very flexible user-defined message and reduce functions. On the other hand, adding such support to DGL Sparse is relatively easier because DGL Sparse API is closer to PyTorch's Tensor API.

This issue is to track the progress of such support and list the encountered problems for open discussions.

Findings

Work items

  • #5412
  • #5413
  • #5414
  • #5415
  • #5416

Contributor guide