Forum Discussion

RubenPadial's avatar
RubenPadial
Icon for Contributor rankContributor
3 years ago

HardSigmoid and Intel FPGA AI suite

Hello,

I have a trained neural network with PyTorch. I exported it in ONNX format and successfully obtained the IR model using the OpenVino toolkit. The model includes a HardSiLU (or H-Swish) activation layer, which is defined as x·hardsigmoid(x). I compiled the graph using the Intel FPGA AI Suite. The x·hardsigmoid(x) operation has been correctly identified but the problem is that, even though H-Sigmoid and H-Swish layers are compatible with Intel FPGA AI suite according to Intel FPGA AI Suite IP Reference Manual it seems that the HardSigmoid operation is being executed on the CPU instead of the FPGA. Is it possible that the layer has not been properly recognized by the Intel FPGA Suite? Why is it being executed on the CPU rather than the FPGA?

--

OpenVino version: 2022.3

Intel FPGA AI Suite version: 2023.2

Device: Intel Arria 10 SoC FPGA

OS: Ubuntu 20.04

18 Replies

  • JohnT_Altera's avatar
    JohnT_Altera
    Icon for Regular Contributor rankRegular Contributor

    Hi,


    I am still checking with marketing to see when the updated AN993 will be available.


  • Hello @JohnT_Intel ,

    This issue is still open. HardSigmoid is execued in CPU instead of FPGA. Why and how I cand solve it? Teste with A10_FP16_Performance architectured as well.

    • RubenPadial's avatar
      RubenPadial
      Icon for Contributor rankContributor

      Fix misspelling "This issue is still open. HardSigmoid is executed in CPU instead of FPGA. Why and how I can

      solve it? Tested with A10_FP16_Performance architectured as well."