Skip to main content
Stable Diffusion WebUI Forge on an RTX 3060 12GB: Setup and Real Throughput

Stable Diffusion WebUI Forge on an RTX 3060 12GB: Setup and Real Throughput

Install steps, real it/s ranges, and the tuning flags that actually move the needle on a 12GB Ampere card.

Forge, xformers, and a 12GB RTX 3060 land in a sweet spot for SDXL. Here is the install, the real throughput numbers, and the flags that matter.

A 12GB MSI GeForce RTX 3060 Ventus 3X 12G runs Stable Diffusion WebUI Forge well: SDXL at 1024×1024 lands roughly 2-4 iterations per second with the --xformers flag, SD 1.5 at 512×512 comfortably clears 8-12 iterations per second, and the 12 GB VRAM ceiling covers most model + LoRA combinations without needing to disable features. The install is a git clone and one launch script; the tuning tips below are what actually matters for real throughput.

Why Forge on a 12GB card is a good match

Stable Diffusion WebUI Forge is a fork of AUTOMATIC1111's Stable Diffusion WebUI focused on faster back-end paths and lower VRAM peaks. It ships in the community WebUI ecosystem alongside ComfyUI and the original A1111. Forge's memory-management rewrite pays off most on cards in the 8-12 GB range, and per TechPowerUp the RTX 3060 12GB has exactly that VRAM ceiling with the bandwidth to keep an SDXL generation loop fed.

Key takeaways

  • Install is trivial. git clone, webui-user.bat on Windows or webui.sh on Linux, and you are running.
  • SDXL at 1024×1024 is the sweet spot for the card. Real throughput in the 2-4 it/s range with xformers.
  • SD 1.5 lives entirely in the fast lane. 512×512 generation is snappy enough for iterative prompt exploration.
  • LoRAs and ControlNet fit. The 12 GB budget covers a base checkpoint plus 2-3 LoRAs plus a ControlNet without swap.
  • Storage matters for model libraries. A modest checkpoint library is 60-100 GB. Use an NVMe like the Samsung 970 EVO Plus or a big SATA SSD like the Crucial BX500 1TB as a model store.

Install walk-through (Linux + Windows)

The upstream project ships a webui-user.sh (Linux/macOS) or webui-user.bat (Windows) script. A one-time setup looks like:

bash
git clone https://github.com/lllyasviel/stable-diffusion-webui-forge.git
cd stable-diffusion-webui-forge
# Linux
bash webui.sh --xformers

On Windows the equivalent is webui-user.bat after adding set COMMANDLINE_ARGS=--xformers at the top. First launch downloads a base checkpoint (usually SD 1.5) and initializes the venv. This takes 5-10 minutes on a fresh install with a decent connection.

The RTX 3060 12GB spec context

Per TechPowerUp:

FieldValue
GPUGA106 (Ampere)
CUDA cores3,584
Memory12 GB GDDR6
Memory bus192-bit
Bandwidth360 GB/s
TDP170 W
PCIe4.0 x16

For image generation the two constraints are VRAM (12 GB) and the compute path. Ampere's Tensor cores accelerate FP16 matmuls, which is what SD checkpoints use in the diffuser layers.

Real throughput numbers

Community measurements from GitHub Issues on the Forge repo and comparative posts on r/StableDiffusion for the RTX 3060 12GB at typical settings:

ModelResolutionSamplerStepsit/s (with --xformers)
SD 1.5512×512Euler a208-12
SD 1.5768×768Euler a203-5
SDXL base1024×1024DPM++ 2M252-4
SDXL refiner1024×1024DPM++ 2M102-3
SD 3 medium1024×1024DPM++ 2M281.5-3

Numbers vary with sampler, prompt complexity, and driver version. These are ranges community measurements have converged on for the card at stock clocks with reasonable prompts.

Tuning that actually moves the needle

  • --xformers. This is the single flag that matters most on Ampere. Community measurements report roughly a 20-40% throughput uplift on the memory-attention path.
  • Half-precision VAE. Forge defaults to a memory-safe VAE mode. Switch to --medvram only if you hit an OOM; otherwise the default gives better speed.
  • Model offload strategy. Forge's automatic model manager unloads inactive checkpoints. Do not fight it.
  • Batch size = 1. On a 12 GB card, generating four 1024×1024 SDXL images at batch = 4 rarely wins on wall time versus four sequential batch = 1 generations because attention layers spike VRAM.

ControlNet, LoRAs, and upscalers

At 1024×1024 SDXL with a base checkpoint (~7 GB), one LoRA (~200 MB active), and one ControlNet (~1.5 GB active), VRAM peak stays under 11 GB on Forge's memory management. Add a second LoRA and stability holds. Add a third and a heavy ControlNet and you approach the ceiling — the run finishes but the OS starts complaining.

For upscalers, 4x-UltraSharp and R-ESRGAN 4x+ Anime6B run in tiles by default, which keeps VRAM peak in the 6-8 GB range even for 2048×2048 output. Those are the two upscalers most galleries land on.

CPU and system-RAM pairing

The Ampere-era workloads on this card are not CPU-bound during generation, but they are CPU-touched during model load. An 8-core AM4 chip like the AMD Ryzen 7 5800X or the slightly cheaper Ryzen 7 5700X handles the load path in a couple of seconds off an NVMe. 32 GB of system RAM is the sweet spot; 16 GB works but starts to feel tight if you also have Chrome open with a large gallery.

Storage sizing

A working library of 5-10 checkpoints (SD 1.5 + SDXL + a couple of fine-tunes + a Turbo variant) plus LoRAs, VAEs, and embeddings lands around 60-100 GB. Add ControlNet models and it grows to 120-150 GB. A 1 TB SSD is the practical floor. The Samsung 970 EVO Plus NVMe trades $ for the fastest cold-load; the Crucial BX500 1TB SATA is the cheaper "model warehouse" option.

Common pitfalls

  • Skipping --xformers. The largest single-flag speedup on Ampere. Leaving it off costs 20-40% throughput.
  • Trying to hold five loras and two controlnets simultaneously at 1024×1024. Forge is generous but the ceiling is real.
  • Running with browser + Chrome + Discord all open on the same GPU. Windows compositor + hardware-accelerated apps can eat 500 MB-1 GB of VRAM before Forge sees anything.
  • Blaming the card when SDXL Turbo scripts break. SDXL Turbo has different sampler defaults; do not compare its numbers apples-to-apples with SDXL base.

When NOT to pick the 3060 for image gen

If the target workload is batch generation of 4-8 SDXL images per pass, or SD 3 large, or Flux at 1024×1024, a 24 GB card starts to matter. The 3060 does those workloads but at batch = 1 and with occasional VRAM anxiety.

A worked case: iterative prompt exploration for a print

Take a real workflow: iterating on a 1024×1024 SDXL portrait for a print. Twenty attempts at 25 steps each with DPM++ 2M lands at ~250 seconds per attempt at 2.5 it/s, so about 80 minutes for the batch. Add three refiner passes on the winners at 10 steps each and total time approaches 90-100 minutes. That is a normal creative session. The 3060 handles it without the workstation-tier price.

Related guides

Deep dive: sampler + step-count matrix on a 3060

For a 3060 doing SDXL at 1024×1024, community reference numbers per r/StableDiffusion and the Forge GitHub discussions converge on a small handful of "sweet spot" sampler + step combinations. DPM++ 2M Karras at 25 steps is the default recommendation because it converges in fewer steps than Euler a and preserves fine detail. UniPC hits similar quality at 15-20 steps but occasionally introduces artifacts on hands and fine text. Restart samplers cost more per step without meaningfully better output for most photographic prompts. The two flags most guides omit but that matter on a 12GB card: --opt-channelslast and --upcast-sampling — the first lays out tensors in a memory-friendlier order for Ampere, the second keeps precision high on the noise-prediction path.

Worked case: LoRA training on 12GB

Training a LoRA on the 3060 12GB is possible but constrained. A 30-image dataset for an SDXL LoRA using kohya_ss on default settings requires ~10 GB of VRAM during training and takes roughly 45-90 minutes for a modest number of epochs. Batch size 1, gradient checkpointing on, mixed-precision fp16 on. Full-model fine-tuning is off the table on a 12GB card; that requires 24 GB minimum.

Cost breakdown for a "creative rig" build

Approximate 2026 street pricing (verify at purchase):

ComponentItemApprox. price
GPUMSI GeForce RTX 3060 Ventus 3X 12G$270-300
CPUAMD Ryzen 7 5800X$180-220
SSD (fast NVMe)Samsung 970 EVO Plus NVMe$50-70
SSD (model warehouse)Crucial BX500 1TB SATA$60-80
RAM32 GB DDR4-3200$70-90
MotherboardB550 mATX$100-130
PSU + caseQuality 650 W + budget case$110-150
Total$840-1040

Under $1100 for a creative rig that runs SDXL, Forge, and modest LoRA training. That is the value proposition.

When to upgrade past the 3060 for image gen

If the target workload includes any of: SD 3 large at high resolution, Flux at full precision, video diffusion (AnimateDiff/SVD), batch generation of 4+ images per pass — a 24GB card starts paying back. Below that threshold the 3060 12GB stays surprisingly competitive on the it/s numbers that matter for iterative creative work.

Deep dive: prompt engineering tricks for the 3060 workflow

A 3060 12GB running SDXL rewards prompts that are specific and terse over prompts that are long and vague. Every extra token in a prompt costs prefill time; the model's attention layers spend more compute weighing the added context. Community best-practice on r/StableDiffusion converges on three habits:

  • Anchor with a subject noun in the first ten tokens. "portrait of a fisherman" upfront, style modifiers later.
  • Weight sparingly. (masterpiece:1.3) and its friends are noise on modern SDXL fine-tunes.
  • Negative prompts are cheap. They cost nothing at generation time and reliably remove common artifacts like extra fingers.

ControlNet routes worth learning

For a first user on a 12GB card, three ControlNet preprocessors give most of the value:

  • Canny edge: preserves composition of a reference photo while letting the diffuser re-imagine surfaces.
  • Depth (MiDaS or Zoe): preserves spatial arrangement across a scene.
  • OpenPose: preserves human pose without leaking style from the reference.

All three run comfortably at 1024×1024 SDXL on the 3060 with the base checkpoint plus one LoRA. Combining two ControlNets is possible but pushes VRAM to the ceiling — do it deliberately, not casually.

Upscaling pipeline

The typical creative pipeline on a 3060 goes: generate at 1024×1024, pick a winner, run 4x-UltraSharp or a comparable ESRGAN model to 4096×4096, then feed the upscale back through img2img at 0.3 denoise for a final polish pass. Total wall clock for the polish pass on the 3060 is about 90 seconds. That is the difference between a "screen-only" image and one that prints or blows up cleanly to a poster.

Comparing Forge to ComfyUI on the same card

ComfyUI is a node-based alternative to Forge with its own set of memory-management tricks. On the same 3060 12GB with the same models, community measurements from GitHub discussions put ComfyUI's SDXL 1024×1024 throughput within a couple percent of Forge's. The choice is workflow-driven, not throughput-driven: Forge is easier for iterative prompt exploration; ComfyUI is stronger for building repeatable production pipelines.

Storage layout for a maturing library

After a few months of active use, the SDXL library on a 3060 rig commonly reaches: 15-25 checkpoints (~150-250 GB), 100-300 LoRAs (~30-60 GB), 5-10 VAEs (~2-5 GB), 5-10 ControlNet models (~15-30 GB), and 20,000-50,000 output images (~30-100 GB). A 1 TB NVMe is comfortable; a 2 TB drive gives room for a year of active production without triage. The Crucial BX500 1TB SATA is a fine "warehouse" drive for checkpoints if the boot NVMe fills up.

Sharing outputs and preserving metadata

Forge and ComfyUI both embed generation parameters (prompt, negative prompt, seed, sampler, steps, model hash) into the output PNG's tEXt chunks by default. That metadata is what lets a collaborator open an image and reproduce it exactly on a different card. Preserving that metadata across the workflow — do not run outputs through a JPEG re-encoder, do not strip tEXt chunks in a Photoshop "Save for Web" pass — is the single easiest way to keep a creative workflow debuggable months after the fact.

Citations and sources

This piece is editorial synthesis based on publicly available information. No independent first-party benchmarking is reported.

Disclosure: SpecPicks earns from qualifying purchases as an Amazon Associate; prices and availability may vary.

Products mentioned in this article

Tap any product for full specs, live Amazon & eBay pricing, and alternatives.

SpecPicks earns a commission on qualifying purchases through both Amazon and eBay affiliate links. Prices and stock update independently.

Watch a review

Friendly Fire: AMD Ryzen 7 5800X CPU Review & Benchmarks vs. 5600X & 5900X — Gamers Nexus on YouTube

Frequently asked questions

Is Forge faster than AUTOMATIC1111 on a 3060?
Yes, meaningfully in most cases. Forge's memory-management rewrite reduces VRAM peaks and lets larger SDXL runs stay resident where A1111 would spill to shared memory and slow down. Community measurements posted to the Forge GitHub repo and r/StableDiffusion typically report a 15-40% throughput improvement on SDXL 1024x1024 workloads on 8-12GB cards, though the exact delta depends on sampler and checkpoint.
Do I need --xformers with Forge?
Yes if throughput matters. Xformers provides an optimized memory-efficient attention implementation that costs no quality and pays back roughly 20-40% on generation throughput on Ampere cards. On the 12GB RTX 3060, that turns a 3-second-per-step 1024x1024 SDXL generation into a 2-second-per-step one, which matters over a session of dozens of attempts. Leave it on unless a specific extension needs it off.
Can I run SD 3 or Flux on this card?
SD 3 medium runs on the 12GB RTX 3060 at 1024x1024 at roughly 1.5-3 iterations per second per community measurements. Flux at full precision does not fit — you need a quantized Flux variant, and even then throughput is meaningfully slower than SDXL. For SDXL specifically, the card is a comfortable fit. For the newer larger models, plan on either a 24GB card or accepting reduced throughput and quantized variants.
How much VRAM do LoRAs and ControlNet use?
Roughly 100-300MB of active VRAM per LoRA once loaded, and 1.2-1.8GB per active ControlNet. On the 12GB card with an SDXL base checkpoint (~7GB), you can comfortably layer two LoRAs and one ControlNet. Adding a second heavy ControlNet or a third LoRA approaches the ceiling and can cause OOM on complex prompts, especially at 1024x1024. Test with your specific stack before promising output.
What sampler is fastest on this card?
Euler a and DPM++ 2M Karras are the two samplers that most measurements settle on as the best throughput-to-quality tradeoff on Ampere. Euler a is faster per step; DPM++ 2M Karras converges in fewer steps for equivalent quality. UniPC and DPM++ SDE variants add compute per step without dramatic quality gains for most prompts. The safe defaults for iterative work are DPM++ 2M Karras at 25 steps for SDXL and Euler a at 20 steps for SD 1.5.

Sources

— SpecPicks Editorial · Last verified 2026-07-17

More guides & deep dives from the SpecPicks archive

Browse all articles & guides →

More reviews from the SpecPicks archive

Browse all reviews →

More buying guides from SpecPicks

Browse all buying guides →