Closed dwh649821599 closed 1 year ago
Hi @dwh649821599 . Thanks for reporting the issue. This was an unexpected behavior. It seems like the difference should be around 200-300 MBs in different environments. The max RAM limit is now increased to 4000. The should be high enough for different environments.
Thank you so much for your timely response.
We found that the memory usage of the baseline is different on different OS. It exceeds the limit (about 3400MB) on Ubuntu20.04, but not on Ubuntu22.04. Additionally, we found that this seems to be caused by PyTorch. Here is the result of
memory-profiler
's analysis on theforward
function of the model.