-
-
Notifications
You must be signed in to change notification settings - Fork 108
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
[Bug]: Not enough memory (Tried to allocate 52428800/4194304/19660800 bytes) #167
Comments
Error loading script: api_t2v.py Error loading script: text2vid.py |
Why are you sending an error in your console in my bug report? |
It seems the issue is that unpickler is catching this as potentially malicious:
I've seen other people have similar problems with the safety check. First thing I would try is finding that file and deleting it. It could have only downloaded partially or somehow been corrupted. The file should download automatically again. See if that fixes your issue. That being said, I'm not certain both tracebacks are related, but it's a good place to start. |
Is there an existing issue for this?
Are you using the latest version of the extension?
What happened?
Running into not enough memory problems, can't figure out why.
It was working before but not anymore for some reason.
Model Type: ModelScope
RuntimeError: [enforce fail at ..\c10\core\impl\alloc_cpu.cpp:72] data. DefaultCPUAllocator: not enough memory: you tried to allocate 52428800 bytes.
Model Type: VideoCrafter (WIP)
Note: Refer to Settings section Image 1
RuntimeError: [enforce fail at ..\c10\core\impl\alloc_cpu.cpp:72] data. DefaultCPUAllocator: not enough memory: you tried to allocate 4194304 bytes.
Model Type: VideoCrafter (WIP)
Note: Refer to Settings section Image 2
RuntimeError: [enforce fail at ..\c10\core\impl\alloc_cpu.cpp:72] data. DefaultCPUAllocator: not enough memory: you tried to allocate 19660800 bytes.
Steps to reproduce the problem
What should have happened?
It should've generated a video, but instead, it ran into a memory error
.
For this bug report purposes, I did "anime girl dancing" as the prompt. Instead of it generating the video based on the prompt, it shows a video showing "If you see this video it means an error check your logs".
WebUI and Deforum extension Commit IDs
WebUI commit id - v1.3.0-72-gb957dcfe
txt2vid commit id - a8937bafb63867d15bd5e62afe31f431fcde1c49
Torch version
torch: 2.0.1+cu118
What GPU were you using for launching?
ASUS TUF Gaming GeForce RTX 3080 Ti with 12GB of VRAM
On which platform are you launching the webui backend with the extension?
Local PC setup (Windows)
Settings
(Here are the settings I've tried using for figuring this stuff out)
Console logs
Additional information
I'm very new trying out things on my own with Stable Diffusion. I've followed the exact instructions given by TroubleChute's video tutorial and for the first couple of times with VideoCrafter it was working. After I did a restart, it suddenly refused to do anything due to memory issues.
The text was updated successfully, but these errors were encountered: