Accelerating Graph Neural Networks in Pytorch with HLS and Deep Dataflows

被引:3
|
作者
Nunez-Yanez, Jose [1 ]
机构
[1] Linkoping Univ, Dept Elect Engn, Linkoping, Sweden
关键词
neural network; FPGA; sparse; HLS; GNN; Pytorch;
D O I
10.1007/978-3-031-42921-7_9
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
Graph neural networks (GNNs) combine sparse and dense data compute requirements that are challenging to meet in resource-constrained embedded hardware. In this paper, we investigate a dataflow of dataflows architecture that optimizes data access and processing element utilization. The architecture is described with high-level synthesis and offers multiple configuration options including varying the number of independent hardware threads, the interface data width and the number of compute units per thread. Each hardware thread uses a fine-grained dataflow to stream words with a bit-width that depends on the network precision while a coarse-grained dataflow links the thread stages streaming partially-computed matrix tiles. The accelerator is mapped to the programmable logic of a Zynq Ultrascale device whose processing system runs Pytorch extended with PYNQ overlays. Results based on the citation networks show a performance gain of up to 140x with multi-threaded hardware configurations compared with the optimized software implementation available in Pytorch. The results also show competitive performance of the embedded hardware compared with other high-performance state-of-the-art hardware accelerators.
引用
收藏
页码:131 / 145
页数:15
相关论文
共 50 条
  • [1] Accelerating Graph Neural Networks using GPU
    Nayak, Niharika
    Jatala, Vishwesh
    [J]. 2022 IEEE 29TH INTERNATIONAL CONFERENCE ON HIGH PERFORMANCE COMPUTING, DATA AND ANALYTICS WORKSHOP, HIPCW, 2022, : 73 - 73
  • [2] Graph Neural Networks in PyTorch for Link Prediction in Industry 4.0 Process Graphs
    Kafeza, Eleanna
    Drakpopoulos, Georgios
    Mylonas, Phivos
    [J]. ARTIFICIAL INTELLIGENCE APPLICATIONS AND INNOVATIONS, PT III, AIAI 2024, 2024, 713 : 220 - 234
  • [3] Accelerating network layouts using graph neural networks
    Both, Csaba
    Dehmamy, Nima
    Yu, Rose
    Barabasi, Albert-Laszlo
    [J]. NATURE COMMUNICATIONS, 2023, 14 (01)
  • [4] Accelerating Virtual Network Embedding with Graph Neural Networks
    Habibi, Farzad
    Dolati, Mahdi
    Khonsari, Ahmad
    Ghaderi, Majid
    [J]. 2020 16TH INTERNATIONAL CONFERENCE ON NETWORK AND SERVICE MANAGEMENT (CNSM), 2020,
  • [5] Accelerating network layouts using graph neural networks
    Csaba Both
    Nima Dehmamy
    Rose Yu
    Albert-László Barabási
    [J]. Nature Communications, 14
  • [6] Accelerating Deep Neural Networks implementation: A survey
    Dhouibi, Meriam
    Ben Salem, Ahmed Karim
    Saidi, Afef
    Ben Saoud, Slim
    [J]. IET COMPUTERS AND DIGITAL TECHNIQUES, 2021, 15 (02): : 79 - 96
  • [7] Accelerating Sparse Deep Neural Networks on FPGAs
    Huang, Sitao
    Pearson, Carl
    Nagi, Rakesh
    Xiong, Jinjun
    Chen, Deming
    Hwu, Wen-mei
    [J]. 2019 IEEE HIGH PERFORMANCE EXTREME COMPUTING CONFERENCE (HPEC), 2019,
  • [8] Accelerating Deep Neural Networks Using FPGA
    Adel, Esraa
    Magdy, Rana
    Mohamed, Sara
    Mamdouh, Mona
    El Mandouh, Eman
    Mostafa, Hassan
    [J]. 2018 30TH INTERNATIONAL CONFERENCE ON MICROELECTRONICS (ICM), 2018, : 176 - 179
  • [9] Fast and Deep Graph Neural Networks
    Gallicchio, Claudio
    Micheli, Alessio
    [J]. THIRTY-FOURTH AAAI CONFERENCE ON ARTIFICIAL INTELLIGENCE, THE THIRTY-SECOND INNOVATIVE APPLICATIONS OF ARTIFICIAL INTELLIGENCE CONFERENCE AND THE TENTH AAAI SYMPOSIUM ON EDUCATIONAL ADVANCES IN ARTIFICIAL INTELLIGENCE, 2020, 34 : 3898 - 3905
  • [10] Search for deep graph neural networks
    Feng, Guosheng
    Wang, Hongzhi
    Wang, Chunnan
    [J]. INFORMATION SCIENCES, 2023, 649