Exploring FPGA designs for MX and beyond

被引:0
|
作者
Samson, Ebby [1 ]
Mellempudi, Naveen [2 ]
Luk, Wayne [1 ]
Constantinides, George A. [1 ]
机构
[1] Imperial Coll London, London, England
[2] AMD, Austin, TX USA
关键词
MX; FPGA; Brevitas; quantization; scale;
D O I
10.1109/FPL64840.2024.00049
中图分类号
TP18 [人工智能理论];
学科分类号
081104 ; 0812 ; 0835 ; 1405 ;
摘要
A number of companies recently worked together to release the new Open Compute Project MX standard for low-precision computation, aimed at efficient neural network implementation. In this paper, we describe and evaluate the first open-source FPGA implementation of the arithmetic defined in the standard. Our designs fully support all the standard's concrete formats for conversion into and out of MX formats and for the standard-defined arithmetic operations, as well as arbitrary fixed-point and floating-point formats. Certain elements of the standard are left as implementation-defined, and we present the first concrete FPGA-inspired choices for these elements, which we outline in the paper. Our library of optimized hardware components is available open source, and can be used to build larger systems. For this purpose, we also describe and release an open-source Pytorch library for quantization into the new standard, integrated with the Brevitas library so that the community can develop novel neural network designs quantized with MX formats in mind. We demonstrate the usability and efficacy of our libraries via the implementation of example neural networks such as ResNet-18 on the ImageNet ILSVRC12 dataset. Our testing shows that MX is very effective for formats such as INT5 or FP6 which are not natively supported on GPUs. This gives FPGAs an advantage as they have the flexibility to implement a custom datapath and take advantage of the smaller area footprints offered by these formats.
引用
收藏
页码:304 / 310
页数:7
相关论文
共 50 条
  • [31] Unified OpenCL Integration Methodology for FPGA Designs
    Leppanen, Topi
    Mousouliotis, Panagiotis
    Keramidas, Georgios
    Multanen, Joonas
    Jaaskeleainen, Pekka
    2021 IEEE NORDIC CIRCUITS AND SYSTEMS CONFERENCE (NORCAS), 2021,
  • [32] Exploring Writeback Designs for Efficiently Leveraging Parallel-Execution Units in FPGA-Based Soft-Processors
    Matthews, Eric
    Gao, Yuhui
    Shannon, Lesley
    28TH IEEE INTERNATIONAL SYMPOSIUM ON FIELD-PROGRAMMABLE CUSTOM COMPUTING MACHINES (FCCM), 2020, : 120 - 128
  • [33] Using OpenCL to Rapidly Prototype FPGA Designs
    Wang, Kui
    Nurmi, Jari
    2016 2ND IEEE NORDIC CIRCUITS AND SYSTEMS CONFERENCE (NORCAS), 2016,
  • [34] Automatic FPGA Placement Configuration for Customer Designs
    Enns V.I.
    Gavrilov S.V.
    Chochaev R.Z.
    Russian Microelectronics, 2022, 51 (07) : 579 - 584
  • [35] POWER fortunes ESTIMATING POWER IN FPGA DESIGNS
    Wilson, Ron
    EDN, 2009, 54 (08) : 28 - +
  • [36] A|RT of optimizing designs for minimum FPGA size
    Neale, Ron
    Electronic Engineering (London), 2000, 72 (879): : 83 - 84
  • [37] Flexible Mx Specification of Various Extended Twin (ET) Kinship Designs
    Maes, H. H.
    Neale, M. C.
    Medland, S. E.
    Keller, M. C.
    Eaves, L. J.
    BEHAVIOR GENETICS, 2008, 38 (06) : 638 - 638
  • [38] Exploring beyond methacrylates
    Guggenberger, R
    Weinmann, W
    AMERICAN JOURNAL OF DENTISTRY, 2000, 13 : 82D - 84D
  • [39] BEYOND TRADITIONAL DESIGNS AND STANDARD ANALYSES
    Terry, M. B.
    AMERICAN JOURNAL OF EPIDEMIOLOGY, 2009, 169 : S84 - S84
  • [40] Beyond the path (Japanese garden designs)
    Hammatt, H
    LANDSCAPE ARCHITECTURE, 2005, 95 (01): : 96 - 101