torch.OutOfMemoryError: Allocation on device 0 would exceed allowed memory. (out of memory)
- Dominant language
- Python
- Stars
- 133k
- Forks
- 15.7k
- Avg merge
- 1d 7h
- Merged PRs (30d)
- 158
Description
### Custom Node Testing
- [ ] 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)
### Expected Behavior
using "video_ltx2_3_t2v" with comfyui (on the program Stability Matrix on Windows 11)
### Actual Behavior
Error :
___________________________________________________________________________________________________________________
torch.OutOfMemoryError: Allocation on device 0 would exceed allowed memory.
(out of memory)Currently allocated : 3.21 GiB
Requested : 1.53 GiB
Device limit : 8.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. is
:issue
### Steps to Reproduce
Use LTX 2.3 text to video on Comfyui.
Duration on 15
FPS on 30
Click on Run
### Debug Logs
```powershell
Just click on the button Run of Comfyui
```
### Other
_No response_
Contributor guide
Assessment
This issue has not been assessed yet.