lllyasviel / lllyasviel/FramePack

torch.OutOfMemoryError: CUDA out of memory. Tried to allocate 28.87 GiB.

Open
#233 16 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

I have a Tesla P40 with 24GBs of VRAM and for some reason FramePack wants to allocate 28GBs of VRAM. How can I decrease the VRAM usage?

Image

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

No files, tests, or entry points are named. Start by reproducing the reported allocation on a Tesla P40 and trace the FramePack execution path that requests 28.87 GiB; done means the workload runs within the available 24 GB of VRAM without the CUDA out-of-memory error.

Written by the indexing model from the issue text.

Assessment

Tech stack
python, pytorch
Domain
machine-learning, performance
Issue type
Bug
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.