torch.OutOfMemoryError: CUDA out of memory. Tried to allocate 28.86 GiB. GPU 0 has a total capacity of 22.00 GiB of which 17.49 GiB is free. Of the allocated memory 2.78 GiB is allocated by PyTorch, and 513.92 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/ ... vironment-variables)
Unloaded DynamicSwap_LlamaModel as complete.
Unloaded CLIPTextModel as complete.
Unloaded SiglipVisionModel as complete.
Unloaded AutoencoderKLHunyuanVideo as complete.
Unloaded DynamicSwap_HunyuanVideoTransformer3DModelPacked as complete.
torch.OutOfMemoryError: CUDA out of memory. Tried to allocate 28.86 GiB. GPU 0 has a total capacity of 22.00 GiB of which 17.49 GiB is free. Of the allocated memory 2.78 GiB is allocated by PyTorch, and 513.92 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/ ... vironment-variables)
Unloaded DynamicSwap_LlamaModel as complete.
Unloaded CLIPTextModel as complete.
Unloaded SiglipVisionModel as complete.
Unloaded AutoencoderKLHunyuanVideo as complete.
Unloaded DynamicSwap_HunyuanVideoTransformer3DModelPacked as complete.