Skip to content

check vram before downloading local models - #201

Open
skoobymatic wants to merge 1 commit into
omacom:masterfrom
skoobymatic:codex/fix-200-vram-preflight
Open

skoobymatic wants to merge 1 commit into
omacom:masterfrom
skoobymatic:codex/fix-200-vram-preflight

Conversation

@skoobymatic

@skoobymatic skoobymatic commented Dec 5, 2026 •

Copy link
Copy Markdown

Summary

Check free and reclaimable VRAM before offering or downloading a new model on a discrete GPU. Simulated RX 9070 and RTX 4090 setups now stop before downloading when VRAM is short and proceed when the GPU has enough room. Roll out this Local AI engine update first, then the Omarchy Agents picker update.

Fixes #200

Authored with help from 6.2 Sol; could benefit from an adversarial Claude / Gemini review. LMK if any questions.

@greptile-apps

greptile-apps Bot commented Dec 5, 2026 •

Copy link
Copy Markdown

Confidence Score: 5/5RetriggerView in Greptile

[Medium impact] The PR appears safe to merge; no actionable issues were found.

Summary

Checks free and reclaimable VRAM before offering or downloading new models on discrete GPUs.

  • Model listings and recommendations check how much VRAM a setup can use.
  • New model setups check GPU room again before downloading.

Diagram

%%{init: {'theme': 'neutral', 'htmlLabels': false}}%%
flowchart TD
  A[Choose compatible GPU and variant] --> B{New setup on discrete GPU?}
  B -->|No| F[Continue existing setup flow]
  B -->|Yes| C[Check free and reclaimable VRAM]
  C --> D{Same-context variant fits?}
  D -->|Yes| E[Recheck under setup lock]
  D -->|No| G[Try another eligible GPU or recommendation]
  G -->|None fits| H[Report shortfall before downloading]
  E -->|Enough room| F
  E -->|Too little room| H
Loading

Reviews (1) · Last reviewed commit: "check discrete vram before new model dow..." · Reviewed by Greptile

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.

Inkling 2 Mini is offered on a 16 GB card driving the desktop, then cannot start

1 participant