Skip to content

Add reserved VRAM budget option - #9743

Open
JPPhoto wants to merge 4 commits into
invoke-ai:mainfrom
JPPhoto:reserve-vram
Open

JPPhoto wants to merge 4 commits into
invoke-ai:mainfrom
JPPhoto:reserve-vram

Conversation

@JPPhoto

@JPPhoto JPPhoto commented Oct 9, 2026

Copy link
Copy Markdown
Collaborator

Summary

Adds a reserve_vram_gb option to subtract a configured amount from the model cache's available VRAM budget. The default is 0.0, preserving existing behavior unless configured.

Related Issues / Discussions

QA Instructions

  • Added coverage for capped and uncapped cache budgets, with reserve values of 0.0 and 1.5 GB.

Review

No findings.

Compatibility / Rollout

Checklist

  • The PR has a short but descriptive title, suitable for a changelog
  • Meaningful regression coverage added / updated where needed; obsolete tests/code removed
  • Persisted-state and API changes include required migrations / compatibility validation
  • Relevant performance/efficiency opportunities considered; material claims have evidence
  • Material review findings resolved and relevant checks rerun
  • Documentation added / updated (if applicable)
  • Updated What's New copy (if doing a release after this PR)

Expose reserve_vram_gb in app configuration and subtract it from model cache availability.\nAdd VRAM accounting coverage for capped and uncapped budgets.
@github-actions github-actions Bot added python PRs that change python files backend PRs that change backend files services PRs that change app services python-tests PRs that change python tests labels Oct 9, 2026
Explain reserve_vram_gb and include it in safe VRAM cache sizing guidance.
@github-actions github-actions Bot added the docs PRs that change docs label Oct 9, 2026

This branch has not been deployed

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

Labels

backend PRs that change backend files docs PRs that change docs python PRs that change python files python-tests PRs that change python tests services PRs that change app services

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants