Share your thoughts, 1 month free Claude Pro on usSee more
WorkDL logo mark

PyG 2.0: Scalable Learning on Real World Graphs

About

PyG (PyTorch Geometric) has evolved significantly since its initial release, establishing itself as a leading framework for Graph Neural Networks. In this paper, we present Pyg 2.0 (and its subsequent minor versions), a comprehensive update that introduces substantial improvements in scalability and real-world application capabilities. We detail the framework's enhanced architecture, including support for heterogeneous and temporal graphs, scalable feature/graph stores, and various optimizations, enabling researchers and practitioners to tackle large-scale graph learning problems efficiently. Over the recent years, PyG has been supporting graph learning in a large variety of application areas, which we will summarize, while providing a deep dive into the important areas of relational deep learning and large language modeling.

Matthias Fey, Jinu Sunil, Akihiro Nitta, Rishi Puri, Manan Shah, Bla\v{z} Stojanovi\v{c}, Ramona Bendias, Alexandria Barghi, Vid Kocijan, Zecheng Zhang, Xinwei He, Jan Eric Lenssen, Jure Leskovec• 2025

Related benchmarks

TaskDatasetResultRank
Graph Transformer Efficiency BenchmarkingOgbn-arxiv
Latency Speedup (Forward)0.95
9
Graph Transformer Efficiency Benchmarkingcity-roads L
Latency Speedup (Forward)1.54
7
Graph Transformer Efficiency Benchmarkingtolokers 2
Latency Speedup (Forward Pass)0.45
6
SpMM with GCN operatorOgbn-arxiv
Forward Latency Speedup0.2
6
SpMM with GCN operatortwitch-views
Latency Speedup (fwd)0.06
6
SpMM with GCN operatortolokers 2
Latency Speedup (Forward)0.11
6
SpMM with GCN operatorcity-roads L
Latency Speedup (Forward)0.36
6
Graph Transformer Efficiency Benchmarkingcity-roads M
Latency Speedup (Forward)0.42
5
Efficiency evaluation of GATv2artnet-exp
Latency speedup (fwd)0.39
4
Efficiency evaluation of GATv2twitch-views
Latency Speedup (Forward)0.57
2
Showing 10 of 11 rows

Other info

Follow for update