MMU disabled while generate nbg from tflite
Hello.
This problem has bothered me a lot.
I generated an nbg modle form my tflite model:
adam@Ubuntu22:~/STM32MPU_workspace/stedgeai/2.0/Utilities/linux$ ./stedgeai generate --model test.tflite --target stm32mp25
ST Edge AI Core v2.0.0-20049
PASS: 0%| | 0/2 [00:00<?, ?it/s]Galcore warning: MMU is disabled!
Model was successfully compiled to NBG: /home/adam/STM32MPU_workspace/stedgeai/2.0/Utilities/linux/stm32ai_output/test.nb
PASS: 100%
elapsed time (generate): 39.985s
I am not sure if the waring "MMU is disabled" meaning my model will works in low efficiency or not. But I definitely monitored the gpu load while inferenceing and the maximum occupancy rate is 2% only. Then I tried to changed batch size to 32 to improve gpu load. But the result is:
[ 9143.030372] [galcore]: GPU[0] core0 hang, automatic recovery.
[ 9143.030732] [galcore]: recovery done
I changed the batch size to 6, it's OK, and the up threshold is 6.
I thinks that may be something wrong about my model or my environment settings. That's the details:
input_image = tf.keras.Input(shape=(28, 28, 1), name='input_image')
tf.nn.conv2d, tf.transpose, tf.constant, tf.multiply, tf.add, tf.subtract , tf.squrat, tf.sqrt, tf.devide, tf.greater, tf.cast operators were used.
How can I solve it?
Thank you for your time and assistance.
Best regards,
CanY
