Skip to content

Comments

fix: chunked VAE encoding for OOM prevention#502

Open
livepeer-robot wants to merge 1 commit intodaydreamlive:mainfrom
livepeer-robot:fix/issue-488
Open

fix: chunked VAE encoding for OOM prevention#502
livepeer-robot wants to merge 1 commit intodaydreamlive:mainfrom
livepeer-robot:fix/issue-488

Conversation

@livepeer-robot
Copy link

Adds chunked VAE encoding in PrepareVideoLatentsBlock to prevent CUDA OOM during video latent encoding. Frames are processed in batches of 8 with torch.cuda.empty_cache() between chunks.

Fixes #488

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

CUDA OOM in PrepareVideoLatentsBlock during video latent encoding (wan2.1 pipeline)

1 participant