BERT4Rec-VAE-Pytorch
BERT4Rec-VAE-Pytorch copied to clipboard
Out of Memory CUDA Error with Increased Data Size in BERT4Rec
I initially tested the functionality with one day’s worth of my custom data, and successfully trained and evaluated BERT4Rec without any issues. However, when I tried to input a week’s worth of data for additional training, I encountered an out of memory CUDA error.
By reducing the 'bert_max_len' and 'batch size' in the 'templates.py' file, I managed to get it to work, but I do not understand why the increase in data size would cause an out of memory error.
Is there a part of the code where the increased data size might be impacting memory usage? If so, could you point out where this might be occurring?
Thank you for your assistance.