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

Could not allocate tensor with 58982400 bytes. There is not enough GPU video memory available! #3869

Closed
gitspringcould opened this issue Jun 26, 2024 · 4 comments
Labels
User Support A user needs help with something, probably not a bug.

Comments

@gitspringcould
Copy link

Could not allocate tensor with 58982400 bytes. There is not enough GPU video memory available!

@mcmonkey4eva mcmonkey4eva added the User Support A user needs help with something, probably not a bug. label Jun 26, 2024
@mcmonkey4eva
Copy link
Collaborator

That... sounds like you ran out of VRAM. If you need help with this, you'll need to specify more information (what are you trying to do? What GPU do you have? Be sure to post the rest of your logs as well)

@gitspringcould
Copy link
Author

That... sounds like you ran out of VRAM. If you need help with this, you'll need to specify more information (what are you trying to do? What GPU do you have? Be sure to post the rest of your logs as well)

I don't have GPU. How I try it

@mcmonkey4eva
Copy link
Collaborator

(A) use your CPU: Use the portable ComfyUI installer and use the run_cpu.bat file, or if using eg swarm, edit --cpu into your launch args -- note that AI on CPU is extremely slow.
or (B) use a cloud GPU provider: eg Colab, Runpod, etc. If you're new to AI stuff I'd recommend you use Swarm (friendlier frontend wrapper around Comfy). Cloud usage info for Swarm here https://github.com/mcmonkeyprojects/SwarmUI?tab=readme-ov-file#try-it-on-google-colab-or-runpod

@gitspringcould
Copy link
Author

(A) use your CPU: Use the portable ComfyUI installer and use the run_cpu.bat file, or if using eg swarm, edit --cpu into your launch args -- note that AI on CPU is extremely slow. or (B) use a cloud GPU provider: eg Colab, Runpod, etc. If you're new to AI stuff I'd recommend you use Swarm (friendlier frontend wrapper around Comfy). Cloud usage info for Swarm here https://github.com/mcmonkeyprojects/SwarmUI?tab=readme-ov-file#try-it-on-google-colab-or-runpod

Thank you. I solved my problem by using --cpu

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
User Support A user needs help with something, probably not a bug.
Projects
None yet
Development

No branches or pull requests

2 participants