IOPaint
IOPaint copied to clipboard
[BUG]Memory keeps rising and not released
Model Lama
Describe the bug
lama-cleaner --model=lama --device=cuda --port=9003
During use, the memory will continue to increase without any release. Is there any way to automatically free the memory?
Screenshots
System Info Software version used
- lama-cleaner: 1.1.2
- pytorch: 2.0.1
- CUDA: 12.0.0
Hi, I didn't encounter this issue on PyTorch 1.13 + CUDA 11.4. Could you try using a different version of PyTorch and see if the problem persists? I will test the version you mentioned when I have free time.
Hi, I didn't encounter this issue on PyTorch 1.13 + CUDA 11.4. Could you try using a different version of PyTorch and see if the problem persists? I will test the version you mentioned when I have free time.
Thank you for your reply in your busy schedule. I also test other versions of PyTorch. I almost forgot to tell you that my system uses ubuntu server 22.04