Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Inpaint Anything 运行报错 #33

Open
DavidT9500 opened this issue Feb 3, 2024 · 1 comment
Open

Inpaint Anything 运行报错 #33

DavidT9500 opened this issue Feb 3, 2024 · 1 comment

Comments

@DavidT9500
Copy link

运行 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

@DavidT9500 DavidT9500 changed the title Inpaint Anything Inpaint Anything 运行报错 Feb 3, 2024
@Uminosachi
Copy link
Owner

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants