I am using the PyTorch profiler to record memory consumption on a raspberry pi.
It is however causing the RAM to be fully consumed.
Is there a way I can limit the profiler RAM usage so it can dump its logs to disk instead of keeping it in memory till the end?
Thanks