aimet icon indicating copy to clipboard operation
aimet copied to clipboard

Memory Corruption Error: free(): invalid next size (fast) in bias_fold Method

Open e-said opened this issue 7 months ago • 0 comments

Hello,

The bias_fold method in the class HighBiasFold causes a memory corruption error (free(): invalid next size (fast)) during the second iteration of for loop, creating libpymo.LayerParams objects. This issue is observed when executing the following line in the method: prev_layer_params = libpymo.LayerParams()

Aimet torch version: 1.32

Any help or suggestions on how to debug and resolve this issue would be greatly appreciated.

Thank you

e-said avatar Jul 10 '24 13:07 e-said