You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
torch.OutOfMemoryError: CUDA out of memory. Tried to allocate 1004.00 MiB. GPU 0 has a total capacity of 15.77 GiB of which 756.69 MiB is free. Including non-PyTorch memory, this process has 15.02 GiB memory in use. Of the allocated memory 14.58 GiB is allocated by PyTorch, and 144.06 MiB is reserved by PyTorch but unallocated. If reserved but unallocated memory is large try setting PYTORCH_CUDA_ALLOC_CONF=expandable_segments:True to avoid fragmentation. See documentation for Memory Management (https://pytorch.org/docs/stable/notes/cuda.html#environment-variables) --
The text was updated successfully, but these errors were encountered:
Description:
I'm encountering a
torch.OutOfMemoryError
while running a preprocessing command for the HunyuanVideo model on an AWS EC2 instance.Environment:
p3.8xlarge
Linux/UNIX (Ubuntu)
4 x NVIDIA Tesla V100
16 GiB per GPU
Model Details:
HunyuanVideo
720px x 1280px x 129f
60GB
(as stated in the README)Steps to Reproduce:
torch.OutOfMemoryError: CUDA out of memory. Tried to allocate 1004.00 MiB. GPU 0 has a total capacity of 15.77 GiB of which 756.69 MiB is free. Including non-PyTorch memory, this process has 15.02 GiB memory in use. Of the allocated memory 14.58 GiB is allocated by PyTorch, and 144.06 MiB is reserved by PyTorch but unallocated. If reserved but unallocated memory is large try setting PYTORCH_CUDA_ALLOC_CONF=expandable_segments:True to avoid fragmentation. See documentation for Memory Management (https://pytorch.org/docs/stable/notes/cuda.html#environment-variables) --
The text was updated successfully, but these errors were encountered: