Closed gabrevaya closed 3 months ago
I'm sorry, I've just noticed that the plotting with matplotlib alone is already causing a smaller memory leak which is probably potentiated when logged by Wandb. Maybe there is also a memory leak caused by the way I'm using Wandb so I'll wait until any opinions before closing the issue.
Seems like you resolved the issue. Also, from my recent experiments with CairoMakie with Wandb, I don't seem to find any issues. Feel free to reopen if this shows up again.
Hi, I've just realized that the cause of the memory leak that I was facing was due to logging (maybe in the wrong way) with Wandb.jl
I was using it like this:
In order to be able to pass
lg
to thetrain
function, and there to anothertraining_loop!
where I logged:where wandb_plot is:
Am I doing something wrong here? Can you see the reason for the memory leak? If I log the losses but not the plots, I don't see the memory leak.