lllyasviel / lllyasviel/FramePack

Is there any way to re-balance the memory use?

Open
#74 14 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
17.3k
Forks
1.7k
PR merge metrics
No merged PRs in 30d

Description

With 32GB RAM and 16GB VRAM the VRAM usage peaks at 50% max, but the regular memory is 95% full. Is there any way to keep some of the models in VRAM instead?

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reading issue #74 and reproducing the reported memory balance with 32GB RAM and 16GB VRAM. Investigate how FramePack currently places models between regular memory and VRAM; done means providing a documented, working way to keep more model data in VRAM without exceeding available memory.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
machine-learning, performance
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.