Every earlier InvokeAI release let you upgrade in place: you pointed the new build at your old root directory and carried on. InvokeAI 7 breaks that assumption, and it is the first thing to understand before you install InvokeAI on Linux. The first time v7 opens a root it migrates the database one way, and v6.14 or later refuses to open it afterwards, so a clean v7 install starts from a new, empty root with its own Python 3.12 environment.
We installed InvokeAI 7 with uv on a rented RTX 4090 (24 GB) running Ubuntu 24.04 in November 2026. Then we generated images with six model families from the web UI and logged seconds per image and peak VRAM for each. This guide explains why each install step exists and the three errors a minimal Ubuntu image threw at us. It then shows how the model cache decides what stays on the GPU, and how our numbers compare with the vendor’s minimums and with ComfyUI on the same SDXL checkpoint.
What changes in InvokeAI 7 compared with 6.x
InvokeAI 7 changes the runtime underneath the app as much as the interface on top of it. The GitHub release notes and the v7 documentation list these changes, and each one affects how you install or upgrade:
- Python 3.12 only: 3.11 is no longer supported and 3.13 is not supported yet. uv downloads a managed 3.12, so the system Python does not matter.
- New CUDA build: the NVIDIA build is PyTorch 2.13 with CUDA 13.0, which needs an R580 or newer driver and a GPU with compute capability 7.5 or higher.
- One-way database migration: v7 updates
databases/invokeai.dbin place, and v6.14 then stops withDatabase contains unknown applied migration IDs. - New default interface: the workbench with Projects and the rebuilt canvas is the default front end, and
--web-legacybrings back the old one without every v7 feature. - FP8 Storage: the first v7 release notes say it keeps a model’s weights in 8-bit float on the GPU, and turns on by itself when you install an fp8 file, with FLUX.2 Klein 4B dropping from 7.4 GB to 3.9 GB. The FP8 Storage page puts the saving at roughly half the VRAM of the transformer or UNet. It covers full-precision SD, SDXL, FLUX, Z-Image, Qwen-Image and Wan models, but not VAEs, text encoders or GGUF and NF4 builds. None of the files in our table was an fp8 build and we left the setting off, so it played no part in our numbers.
- Model Manager changes: one model file can serve several roles, and the Install Queue shows every download with its failures. The latest release notes add that models you link under Related Models are listed first in the VAE, encoder, LoRA and reference-image pickers for the active main model.
v7 installs two ways, and the upgrading guide gives each its own rule for keeping a v6 install safe:
- Invoke Launcher: the GUI installer, which brings its own Python. Install into a new, empty folder and do not select your existing install, because that upgrades it in place. It suits a desktop where you click through the setup once.
- Manual install with uv: the manual installation goes into a new directory, and you start it with
--rootpointing there or withINVOKEAI_ROOTset. The root directory rules put--rootahead of the variable, which wins over the active virtual environment’s directory.
This guide uses uv because a headless GPU server reached over SSH has no desktop for the Launcher to run on. The uv route is also the one you can script, pin to an exact version and repeat on the next rented box, which is how every number below was produced.
The first page load of a fresh root opens a What’s New dialog that sums up the same list from the app’s side: the redesigned interface, Projects, the rebuilt canvas and the expanded model support. It also confirms which build you’re on before you touch a model.

Vector layers on the canvas also shipped in the 6.14.3 maintenance release, so they are not a reason to upgrade on their own. The driver floor is the change most likely to stop a Linux install, which is why the install starts there.
Which NVIDIA GPUs and drivers InvokeAI 7 supports
InvokeAI 7 runs on NVIDIA cards with compute capability 7.5 or newer (GTX 16xx, RTX 20xx and everything after) on an R580 series driver or newer. The v7 system requirements list Maxwell, Pascal and Volta cards as unsupported by the CUDA build. With a driver that is too old, Invoke starts on the CPU and logs an error. That line is easy to miss.
| Requirement | InvokeAI 7 | Our test host |
|---|---|---|
| GPU | Compute capability 7.5+ | RTX 4090, compute capability 8.9 |
| Driver | R580 series or newer | 595.99.02 |
| Python | 3.12 (uv managed) | CPython 3.12.16 from uv |
| PyTorch | 2.13 with CUDA 13.0 | 2.13.0+cu130 |
| OS | Linux x86_64 | Ubuntu 24.04.1, 16 vCPU, 31 GB RAM |
Check the card and driver before installing anything. This query prints the name, compute capability, driver and VRAM on one line, and the same capture then installs uv with Astral’s standalone installer:
nvidia-smi --query-gpu=name,compute_cap,driver_version,memory.total --format=csv
curl -LsSf https://astral.sh/uv/install.sh | sh
source ~/.local/bin/env
uv --version
On our host the card reported compute capability 8.9 and a 595 driver, well above the floor, and uv landed in ~/.local/bin:

A Pascal card such as a GTX 1080 or Tesla P40 needs a different route: the docs describe a manual install with --torch-backend=cu126 and without the cuda extra, a path the Invoke team says it doesn’t test.
How the uv install of InvokeAI 7 fits together
The manual install has three moving parts. uv supplies a portable Python 3.12, a virtual environment inside the install directory holds the invokeai package, and the cuda extra pins the PyTorch CUDA 13 build. The order matters because each step depends on the one before it:
- New root: make a directory that has never held InvokeAI.
~/invokeaiis the v6 default, so we used~/invokeai-v7. - Managed Python:
uv venv --python-preference only-manageddownloads its own 3.12 instead of trusting the distro’s interpreter. - Pinned package:
invokeai[cuda]with--torch-backend=cu130pulls the matching PyTorch wheels from the PyTorch index.
The uv PyTorch guide explains why the backend flag exists: PyTorch publishes each accelerator build on its own index, so +cu130 wheels never come from PyPI’s default resolution. The InvokeAI docs warn against pairing the cuda extra with any other backend. PyPI publishes the release as 7.0.0b2, and pinning it stops a later uv pip install from moving you:
mkdir ~/invokeai-v7 && cd ~/invokeai-v7
uv venv --relocatable --prompt invoke --python 3.12 --python-preference only-managed .venv
source .venv/bin/activate
# https://github.com/invoke-ai/InvokeAI/releases
uv pip install "invokeai[cuda]==7.0.0b2" --python 3.12 --python-preference only-managed --torch-backend=cu130 --force-reinstall
The whole resolve and download took 1 minute 10 seconds on the rented host. Before starting the server, we asked Python directly whether the installed torch could see the GPU, because that one line catches a CPU-only wheel or a driver mismatch before the web UI hides it:
python -c "import torch,invokeai.version as v;print(v.__version__, torch.__version__, torch.version.cuda, torch.cuda.is_available(), torch.cuda.get_device_name(0))"
The capture below shows the venv, the pinned install and that check together:

The check printed True and the RTX 4090’s name, so the CUDA build was in place. On a GTX 16xx or RTX 20xx card, the manual install page adds the xformers extra, which makes the specifier invokeai[cuda,xformers].
Why the first start fails on a minimal Ubuntu image
We started the server in the foreground first, with invokeai-web --root ~/invokeai-v7 from the activated environment. That first start on our host died before the server came up, because OpenCV’s wheel links against libGL.so.1 and a minimal or cloud Ubuntu image doesn’t ship it. Desktop installs usually have it already, which is why the error tends to surprise people on servers. Two packages fix it on Ubuntu 24.04 (on 22.04 and Debian 12 the second one is named libglib2.0-0):
sudo apt-get install -y libgl1 libglib2.0-0t64
The second start ran the one-way database migration we described earlier, wrote a backup next to the database and began listening on port 9090. Notice that the log names the CUDA device in its first line, which is the confirmation that the driver check paid off:

The server binds to 127.0.0.1 by default, which is the right default on a rented or shared box. We kept it that way and reached the UI through an SSH tunnel from a workstation, so nothing on port 9090 was ever exposed:
ssh -L 9090:127.0.0.1:9090 [email protected]
With the tunnel open, http://127.0.0.1:9090 in a local browser loads the UI. Our root opened straight into the workspace without a sign-in, because the version we installed still defaults multiuser to false in its config source, and the YAML config page confirms that releases up to it start without sign-in when the file has no multiuser line. In single-user mode, the multi-user admin guide warns that every visitor has full administrator control, model installs from any URL included. So if you plan to bind to the LAN, add multiuser: true to ~/invokeai-v7/invokeai.yaml first, make sure no INVOKEAI_MULTIUSER=false sits in the environment (it overrides the file), and restart. The Set up Invoke page then appears, and you create the administrator over the tunnel, since anyone who reaches that page can claim it. Only after that set host: 0.0.0.0 and limit port 9090 to your own network; otherwise stay on the tunnel.
How to keep the server running after you log out
A foreground invokeai-web dies with your SSH session, so we ran it inside tmux and teed the log to a file. The log file matters later, since it’s where Invoke prints per-image timing and VRAM after every generation:
cd ~/invokeai-v7
tmux new -d -s invoke "source .venv/bin/activate && invokeai-web --root ~/invokeai-v7 2>&1 | tee ~/invoke.log"
tmux attach -t invoke brings the console back, and tail -f ~/invoke.log follows it without attaching. Running a server like this leans on everyday Linux work such as following logs, finding processes and checking free disk before a 20 GB model download. The Linux commands cheat sheet for files, grep, find and processes keeps the everyday commands on one page.
How models get into the Model Manager
A fresh v7 root has no models, and everything goes through the Model Manager, which sits under MANAGE in the left sidebar. The left pane lists installed Models, and the Add Models tab takes a source in its URL, file path or Hugging Face repo field. You can paste a Hugging Face repo ID, a direct file URL or a local path there. Scan models folder registers files already on disk, and the Install Queue at the bottom tracks every download, including the ones that failed:

- 1Models
- 2Add Models
- 3URL, file path or Hugging Face repo
- 4Scan models folder
- 5Install Queue
Our queue read “17 jobs, no active installs, 2 need attention”, and the two failures were the same problem. The FLUX.1 schnell starter bundle fetches its autoencoder from black-forest-labs/FLUX.1-schnell, and an anonymous download from that repository came back HTTP 401 Unauthorized in invoke.log. Hugging Face marks that repository as gated, so you first accept its terms on the model page while signed in, then give Invoke a token from the same account. The Model Manager’s API Keys tab takes the token, as does the remote_api_tokens setting in invokeai.yaml. We pasted the URL of the same FLUX autoencoder file from the ungated Comfy-Org/Z-Image-Turbo repository on Hugging Face into the field instead, and it installed without a token.
Two rules matter when a v6 install lives on the same machine:
- Keep the models folders apart. The upgrading guide asks you to check that every absolute storage path for v7, models included, points to its own files. The reason sits in the model management page: Clean up orphaned models… lists every folder in the models folder without a record in this install’s database and deletes the ones you tick. Share one
models_dirbetween v6 and v7, and the other install’s models show up in that list as orphans. - Rescan after a rollback. This one applies only if v7 already upgraded your v6 root in place. Restoring the v6 database backup then leaves models installed under v7 on disk but out of v6’s model list. The first v7 release notes point to Scan Folder in v6’s Add Models panel as the quick way to register them again.
Separate roots avoid both problems, which is why this guide started from an empty ~/invokeai-v7.
How a generation runs from the Compose tab
Generating an image is five moves on the Compose tab, in the order the numbers below follow. Pick the Model, type the Positive prompt, set Width and Height, adjust Steps and CFG in the generation settings, and press Invoke to queue the job:

- 1Model
- 2Positive prompt
- 3Width and Height
- 4Steps and CFG
- 5Invoke
Two behaviors in this flow caught us out. Selecting a model didn’t apply that model’s default settings, so we set steps and CFG by hand for every family. Switching between families also opens a “Switch model?” dialog, and accepting it drops the old family’s encoders, which the toast then reports (for example “Removed: Qwen3-VL encoder and VAE”). That matters for timing, because the next image of the new family pays the full load again, so a fair comparison always counts the first image separately.
FLUX models add one more step. The main FLUX checkpoint does not carry its text encoders or VAE, so the Components panel has to name the T5 Encoder, the CLIP Embed model and the VAE before Invoke will queue anything:

- 1T5 Encoder
- 2CLIP Embed
- 3VAE
Our FLUX.1 schnell install left those pickers for us to fill, so this panel is the first place to look when a FLUX generation refuses to queue. With the components set, finished images land in the gallery on the right, each one carrying its prompt and settings as metadata:

That Juggernaut-XL-v9 image took 4.2 seconds warm at 1024×1024 and 30 steps, and the next sections explain where that number comes from.
Why the Qwen3 text encoders need a C compiler
Z-Image Turbo and Qwen-Image failed on their first run with an error from the text encoder node, not from the model itself. Their Qwen3-based encoders go through Triton, and Triton compiles a small helper with the system C compiler on first use. A rented or minimal image often has no gcc at all, and the log line says so plainly:
grep -m1 "Failed to find C compiler" ~/invoke.log
sudo apt-get install -y build-essential
After build-essential put gcc on the path, Z-Image Turbo and Qwen-Image generated normally. The capture below shows the original error from the z_image_text_encoder invocation, the empty which result and the compiler that fixed it:

SD1.5, SDXL and FLUX.1 never touched this code path, so you can run those families for days and only hit the error when you try a Qwen3-based model.
How the model cache decides what stays in VRAM
InvokeAI 7 does not require a model to fit in VRAM. With enable_partial_loading on by default, Invoke keeps as many of a model’s layers on the GPU as fit and streams the rest from RAM as each step needs them. The cost is speed rather than a crash, so the vendor’s VRAM figures are minimums for good performance, not hard limits. The low-VRAM guide lists the settings that shape this, all in invokeai.yaml and read at startup:
- device_working_mem_gb (default 3): VRAM kept free for the computation itself, raised when generation runs out of memory.
- reserve_vram_gb (default 0): VRAM kept away from the cache for other programs on the same GPU.
- max_cache_ram_gb: left unset, Invoke sizes the RAM cache itself. On our 31 GB host it logged 13.63 GB.
The cache also explains a gap you will see in the numbers. Invoke’s own “VRAM in use” counts the model weights it holds. nvidia-smi adds the working memory of the denoise and VAE decode, plus what the PyTorch allocator keeps reserved. After each image, Invoke prints a graph stats block in its log, and that’s the cleanest per-image measurement you can get without extra tools:
tail -n 5 ~/invoke.log
For a warm SDXL base image, the block read 4.274 seconds of graph time and 6.56 GB of VRAM in use:

During that same image, nvidia-smi sampled a peak of 14828 MiB, more than twice the weights figure. On a 12 or 16 GB card that gap is where out-of-memory errors come from, and device_working_mem_gb is the setting to raise first.
How much VRAM each model family used on a 24 GB card
We ran two images per family from the UI and emptied the model cache through the API’s empty_model_cache endpoint before each family, so every cold number includes loading from disk and no earlier model sat on the GPU. Seconds come from Invoke’s graph time, “in use” from its stats block, and the peak from nvidia-smi sampled every second. The vendor columns are from the v7 system requirements page:
| Family (model we ran) | Vendor min VRAM / RAM | Settings | Cold s | Warm s | VRAM in use | nvidia-smi peak |
|---|---|---|---|---|---|---|
| SD1.5 (dreamshaper-8) | 4 GB / 8 GB | 512×512, 30 steps | 2.88 | 1.26 | 1.78 GB | 4132 MiB |
| SDXL (Juggernaut-XL-v9) | 8 GB / 16 GB | 1024, 30 steps | 8.87 | 4.21 | 5.04 GB | 13160 MiB |
| FLUX.1 (schnell, bnb nf4) | 10 GB / 32 GB | 1024, 4 steps | 8.78 | 2.78 | 6.51 GB | 12050 MiB |
| Z-Image Turbo (Q4_K GGUF) | 8 GB / 16 GB | 1024, 9 steps | 17.73 | 5.57 | 5.78 GB | 10924 MiB |
| FLUX.3 Klein (Q8_0 GGUF) | 12 GB / 32 GB | 1024, 16 steps | 12.98 | 6.58 | 5.85 GB | 11212 MiB |
| Qwen-Image 2.1 (Turbo, int8) | 16 GB / 32 GB | 1024, 8 steps | 11.39 | 5.24 | 7.40 GB | 15994 MiB |
SD1.5 ran at its native 512×512, so its row is not comparable with the 1024 families below it. Three patterns stand out. The quantized 1024 families peaked between 10924 MiB and 15994 MiB on our 24 GB card, so 16 GB is the size where the headroom runs out for the heaviest of them. Cold starts cost about two to three times the warm time, which is model loading from disk rather than generation. And the vendor RAM column deserves as much attention as the VRAM one, because partial loading moves the overflow into system memory. A FLUX.1 run on a 10 GB card with 16 GB of RAM has nowhere to put the layers it streams.
The vendor page also lists Krea-2 at 24 GB (16 GB with FP8) and MOSS-Image at 24 GB, with a 40xx card required for both; they are not in this table. For the FLUX side from the ComfyUI angle, the FLUX.3 Klein in ComfyUI test and the guide to running FLUX locally cover the same models in another front end.
How InvokeAI 7 compares with ComfyUI on the same checkpoint
To compare like with like, we loaded the same sd_xl_base_1.0.safetensors file into both tools on the same RTX 4090 and generated at 1024×1024, 30 steps, CFG 7 with Euler Ancestral. ComfyUI went into its own uv environment from a tagged release of the ComfyUI repository (the old comfyanonymous URL we cloned now redirects there), with the same CUDA 13 backend flag:
git clone https://github.com/comfyanonymous/ComfyUI.git ~/ComfyUI && cd ~/ComfyUI
git checkout v0.46.0
uv venv --python 3.12 --python-preference only-managed .venv && source .venv/bin/activate
uv pip install torch torchvision torchaudio --torch-backend=cu130 -r requirements.txt
We launched it in tmux on loopback the same way as Invoke, then pulled the device, allocator and prompt times out of its log:
tmux new -d -s comfy "source .venv/bin/activate && python main.py --listen 127.0.0.1 --port 8188 2>&1 | tee ~/comfy.log"
grep -E "Total VRAM|pytorch version|Device:|ComfyUI version|Prompt executed" ~/comfy.log
The two SDXL prompts executed in 8.65 seconds cold and 3.95 seconds warm:

Both tools were freshly started, with 460 MiB (Invoke) and 396 MiB (ComfyUI) in use at idle. The seconds below are each tool’s own server-side figure: Invoke’s total graph execution time and ComfyUI’s “Prompt executed in” line. That keeps the comparison server time against server time, without our client’s polling in either number:
| SDXL base, 1024, 30 steps | InvokeAI 7 | ComfyUI |
|---|---|---|
| Cold image | 7.13 s | 8.65 s |
| Warm image | 4.27 s | 3.95 s |
| nvidia-smi peak | 14828 MiB | 9892 MiB |
| PyTorch build | 2.13.0+cu130 | 2.14.1+cu130 (cudaMallocAsync) |
| Install time with uv | 1 min 10 s | 1 min 41 s (104 packages) |
Warm, ComfyUI was a third of a second faster; cold, Invoke was about 1.5 seconds faster. The real difference is memory: ComfyUI peaked about 5 GB lower on the same file, which matters far more on a 12 GB card than on this one. ComfyUI’s graph is the interface, which suits people who chain models and share workflow files, and our guide to installing Stable Diffusion on Linux with ComfyUI covers that setup. Invoke puts a canvas, layers and a gallery first and manages the model cache for you, so if you mostly inpaint and iterate on one image, its canvas is the shorter path. Video no longer decides it either: the v7 requirements page lists Wan 2.2 as a local family, from 8 GB of VRAM for TI2V-5B to 12 GB for A14B. Our Wan video generation guide covers the same models in ComfyUI.
Which GPU makes sense for InvokeAI 7
Our peaks put the comfortable line at 16 GB: the heaviest quantized family we ran, Qwen-Image, peaked just under it, FLUX.1, Z-Image and Klein stayed near 11 to 12 GB, and SD1.5 needed barely 4 GB. On a 12 GB card, the vendor minimums still cover SDXL, FLUX.1, Z-Image Turbo and FLUX.3 Klein, with partial loading absorbing the overflow at some cost in speed. The vendor also sets a GPU generation floor of 30xx for FLUX.3 Klein and Qwen-Image 2.1, and 40xx for Krea-2 and MOSS-Image. Our GPU guide by VRAM and budget ranks current cards by memory, and the GPU picks for ComfyUI and Stable Diffusion apply the same tiers to image work. If you’d rather rent, as we did for this test, the GPU cloud providers comparison lists where a 24 GB card costs least by the hour.
Where the vendor VRAM numbers mislead
The common misconception is that the VRAM column is a pass or fail line. With partial loading, a card below the minimum still generates; it streams layers and runs slower, and the bottleneck moves to system RAM and PCIe bandwidth. The opposite mistake is reading the weights figure as the whole story. Invoke reported 5.04 GB in use for Juggernaut-XL while nvidia-smi saw 13160 MiB, because the 1024 VAE decode and the allocator’s reserve sit on top of the weights.
So when you size a card, take the peak column, not the “in use” one, and leave a gigabyte or two for whatever else draws on that GPU. The useful question is not whether a model fits, but how much of it has to move per step, and on a 24 GB card running quantized checkpoints, our heaviest peak still left about 8 GB unused.