I’m iterating through batches and deleting tensors once processed. But yet torch is not clearing up the memory. The model is Conv1D based feed forward network. Here’s the code and a screenshot of memory snapshot :
The memory screenshot clearly shows even after variable is deleted, somehow, the tensors are still in cuda. What am I doing wrong here?
