Comfy-Org / Comfy-Org/ComfyUI

is there any way we could lend some of the GPU work load on CPU in comfyui ?

Open
#14,468 4 comments 0 reactions 1 assignee Claimed by @rattus128 View on GitHub
User Support
Dominant language
Python
Stars
133k
Forks
15.7k
Avg merge
1d 7h
Merged PRs (30d)
158

Description

### Custom Node Testing

- [x] I have tried disabling custom nodes and the issue persists (see [how to disable custom nodes](https://docs.comfy.org/troubleshooting/custom-node-issues#step-1%3A-test-with-all-custom-nodes-disabled) if you need help)

### Your question

I want to make more use of my CPU in the process of Image to Video creation ..... Is this doable ?
I'll put the log as an example

I don't know if CPU or RAM is capable of calculating what GPU does ....

### Logs

```powershell
torch.OutOfMemoryError: Allocation on device 0 would exceed allowed memory. (out of memory)
Currently allocated : 1.02 GiB
Requested : 5.68 GiB
Device limit : 6.00 GiB
Free (according to CUDA): 0 bytes
PyTorch limit (set by user-supplied memory fraction)
: 17179869184.00 GiB
This error means you ran out of memory on your GPU.

TIPS: If the workflow worked before you might have accidentally set the batch_size to a large number.
```

### Other

my setup is
CPU : Core i9 12900K
Ram : DDR5 32G
GPU : Nvidia 3050 6G

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.