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 条
  • [1] Exploring and optimizing partitioning of large designs for multi-FPGA based prototyping platforms
    Farooq, Umer
    Alzahrani, Bander A.
    COMPUTING, 2020, 102 (11) : 2361 - 2383
  • [2] Exploring and optimizing partitioning of large designs for multi-FPGA based prototyping platforms
    Umer Farooq
    Bander A. Alzahrani
    Computing, 2020, 102 : 2361 - 2383
  • [3] MX MISSILE - LOOK BEYOND THE OBVIOUS
    TSIPIS, KM
    TECHNOLOGY REVIEW, 1979, 81 (06): : 55 - 69
  • [4] Energy Profiling of FPGA Designs
    Cernazanu-Glavan, Cosmin
    Fedeac, Stefan
    Amaricai-Boncalo, Alexandru
    Marcu, Marius
    2014 IEEE INTERNATIONAL SYMPOSIUM ON ROBOTIC AND SENSORS ENVIRONMENTS (ROSE 2014), 2014,
  • [5] Templates for CPLD and FPGA Designs
    Kolouch, Jaromir
    PROCEEDINGS OF 19TH INTERNATIONAL CONFERENCE RADIOELEKTRONIKA 2009, 2009, : 211 - 213
  • [6] Get an advantage in FPGA designs
    Moretti, G
    EDN, 2001, 46 (13) : 19 - 19
  • [8] 42MX系列FPGA及其应用
    王家村
    陈勇生
    国外电子元器件, 2001, (08) : 24 - 26
  • [9] FPGA Trust Zone: Incorporating Trust and Reliability into FPGA designs
    Jyothi, Vinayaka
    Thoonoli, Manasa
    Stern, Richard
    Karri, Ramesh
    PROCEEDINGS OF THE 34TH IEEE INTERNATIONAL CONFERENCE ON COMPUTER DESIGN (ICCD), 2016, : 600 - 605
  • [10] Efficient Designs of Multiported Memory on FPGA
    Lai, Bo-Cheng Charles
    Lin, Jiun-Liang
    IEEE TRANSACTIONS ON VERY LARGE SCALE INTEGRATION (VLSI) SYSTEMS, 2017, 25 (01) : 139 - 150