Uminosachi/inpaint-anything

Inpaint Anything 运行报错

DavidT9500 opened this issue · 1 comments

运行 Inpaint Anything 总是报内存不足,没有一次成功的,R5 3600 3060ti RAM16G 是不是这个卡无法运行这个插件,
2024-02-03 20:39:53,872 - Inpaint Anything - ERROR - Allocation on device 0 would exceed allowed memory. (out of memory)
Currently allocated : 3.26 GiB
Requested : 2.64 GiB
Device limit : 8.00 GiB
Free (according to CUDA): 0 bytes
PyTorch limit (set by user-supplied memory fraction)
: 17179869184.00 GiB

How about trying to force reinstall PyTorch?

python3 -m pip install --force-reinstall torch==2.0.1 torchvision==0.15.2 --index-url https://download.pytorch.org/whl/cu118