dmlc/dgl

Support TorchScript for DGL Sparse

Aperta

#5275 aperta il 9 feb 2023

 (3 commenti) (0 reazioni) (1 assegnatario)Python (2928 fork)batch import
feature requesthelp wanted

Metriche repository

Star
 (12.665 stelle)
Metriche merge PR
 (Metriche PR in attesa)

Descrizione

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

Guida contributor