lllyasviel / lllyasviel/FramePack

Unload system RAM after video generation is complete

Open
#404 0 comments 2 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
17.3k
Forks
1.7k
PR merge metrics
No merged PRs in 30d

Description

Framepack uses most of my 32GB system ram but doesn't unload it when the video is done generating. Not sure if this puts unnecessary stress on my ram (does it?) but wouldn't it be better to release the ram when finished with a generation? You can see the drop when the ram was released only when I closed out Framepack.

![Image](https://github.com/user-attachments/assets/bcd55463-03af-44f7-a3ec-a6ef3d8eff77)

Contributor guide

No contributing guide indexed for this repository

Research direction

No file, test, or entry point is named. Reproduce a video generation while monitoring system RAM, then locate the generation-completion and cleanup paths to determine which resources remain held after completion. Done means memory is released without requiring FramePack to close, with a regression test or documented verification of the behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
machine-learning
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.