With the increasing adoption of graph neural networks (GNNs) in the machine learning community, GPUs have become an essential tool to accelerate GNN training. However, training GNNs on very large graphs that do not fit in GPU memory is still a challenging task. Unlike conventional neural networks, mini-batching input samples in GNNs requires complicated tasks such as traversing neighboring nodes and gathering their feature values. While this process accounts for a significant portion of the training time, we find existing GNN implementations using popular deep neural network (DNN) libraries such as PyTorch are limited to a CPU-centric approach for the entire data preparation step. This "all-in-CPU" approach has negative impact on the overall GNN training performance as it over-utilizes CPU resources and hinders GPU acceleration of GNN training. To overcome such limitations, we introduce PyTorch-Direct, which enables a GPU-centric data accessing paradigm for GNN training. In PyTorch-Direct, GPUs are capable of efficiently accessing complicated data structures in host memory directly without CPU intervention. Our microbenchmark and end-to-end GNN training results show that PyTorch-Direct reduces data transfer time by 47.1% on average and speeds up GNN training by up to 1.6x. Furthermore, by reducing CPU utilization, PyTorch-Direct also saves system power by 12.4% to 17.5% during training. To minimize programmer effort, we introduce a new "unified tensor" type along with necessary changes to the PyTorch memory allocator, dispatch logic, and placement rules. As a result, users need to change at most two lines of their PyTorch GNN training code for each tensor object to take advantage of PyTorch-Direct.
pyFAST: A Modular PyTorch Framework for Time Series Modeling with Multi-source and Sparse Data
College of Computer Engineering, Jimei University(嘉应大学计算机工程学院);Chengyi College, Jimei University(嘉应大学 Chengyi 学院);Department of Technology, Management and Economics, Technical University of Denmark(丹麦技术大学技术、管理与经济系)
Instituto de Física Corpuscular (IFIC), CSIC-Universitat de València(瓦伦西亚大学-西班牙国家研究委员会粒子物理研究所(IFIC));Flatiron Institute(熨斗研究所);Princeton University(普林斯顿大学);University of Connecticut(康涅狄格大学);Columbia University(哥伦比亚大学);Università di Bologna(博洛尼亚大学);Center for Astrophysics — Harvard & Smithsonian(哈佛-史密森尼天体物理中心)
SiHGNN: Leveraging Properties of Semantic Graphs for Efficient HGNN Acceleration
State Key Lab of Processors, Institute of Computing Technology, Chinese Academy of Sciences(中国科学院计算技术研究所 国家处理器重点实验室);University of Chinese Academy of Sciences(中国科学院大学);Faculty of Computility Microelectronics, Shenzhen University of Advanced Technology(深圳先进技术学院 计算微电子学院)
A physics-informed neural network framework for modeling obstacle-related equations
African Institute for Mathematical Sciences(非洲数学科学研究所);Technical University Berlin(柏林工业大学);German Aerospace Center (DLR)(德国航空航天中心);Quantum leap Africa(非洲量子飞跃组织)