Skip to main content
Uhk.1
Visitor II
June 8, 2021
Question

How to use external RAM for activation buffer?

  • June 8, 2021
  • 1 reply
  • 735 views

Hello,

We are trying to convert a pre-trained model using X-CUBE-AI on STM32H747IDISO board. Analyze failed due to RAM usage is exceeding 512KB. When we enable Use External RAM & Use Activation Buffer option in advanced setting, it is still failed. RAM usage is not reduced.

Please let us know what other option need to enabled to use external RAM?

This topic has been closed for replies.

1 reply

fauvarque.daniel
ST Employee
June 8, 2021

The analyze just takes into account the internal available ram, this is something that could be improved

But the generated code should be ok and place your activation buffer in external Ram. You need to check manually that the available external ram is big enough for your activation buffer.

Regards

Daniel