Automatic1111 (Stable Diffusion WebUI) errors and fixes
Paksa: Mga error at solusyon
Ni Captain
Inilathala 2026-05-14
Fixes for the Stable Diffusion WebUI errors that stop most installs: "Torch is not able to use GPU", NansException, CUDA out of memory, "Couldn't install torch", xformers, "Stable diffusion model failed to load", broken extensions after an update, and the SDXL-specific problems.
Hindi pa naisasalin ang pahinang ito, kaya ipinapakita ito sa Ingles.
Pangkalahatang-ideya
AUTOMATIC1111's Stable Diffusion WebUI is still the most installed interface for
SD 1.5
and
SDXL
, and its error messages are well known by now. Most of them come from four causes: the Python or torch install, a card that is too small for the settings, a model file that does not match the settings (VAE, half precision, SDXL versus 1.5), and extensions that broke after an update.
The WebUI reads its start-up options from webui-user.bat (Windows) or webui-user.sh (Linux and Mac) in the COMMANDLINE_ARGS line. Most fixes below are a flag added to that line. After a change, close the console window and start the WebUI again; a browser refresh is not enough.
If the WebUI is the bottleneck rather than the model, the newer
Forge
fork is a drop-in replacement with much lower memory use (its own guide is linked below), and the same SD 1.5 and SDXL checkpoints run on the cloud through
PirateDiffusion
's /render command or
BitVector
's web app without any install.
Sanggunian
Pangalan | Uri | Ano ito |
|---|---|---|
Torch is not able to use GPU | error | torch was installed without CUDA, the driver is too old, or the card is AMD/Intel. Reinstall torch with CUDA or add the right flags for your hardware. |
NansException: A tensor with all NaNs was produced | error | Half precision overflow in the VAE or the Unet, typical with SDXL and with some merged checkpoints. Use --no-half-vae, then --no-half, or the fp16-fix VAE. |
RuntimeError: CUDA out of memory | error | Resolution, batch, hires fix or ControlNet exceed VRAM . Add --medvram (or --medvram-sdxl) and lower the hires upscale. |
Couldn't install torch / No matching distribution | error | The wrong Python version (the WebUI wants 3.10.x) or a blocked network. Install Python 3.10.6, add it to PATH, delete the venv folder and start again. |
Stable diffusion model failed to load | error | A corrupt or incomplete checkpoint , a LoRA in the checkpoint folder, or a config mismatch. Re-download, and keep LoRAs in models/Lora. |
AttributeError: 'NoneType' object has no attribute ... | error | An extension that no longer matches the WebUI version. Disable extensions, update them one by one. |
xformers: WARNING ... / version mismatch | warning | xformers compiled against another torch. Remove --xformers and use --opt-sdp-attention, or reinstall xformers with --reinstall-xformers once. |
DefaultCPUAllocator: not enough memory | error | System RAM ran out while loading a 6 GB SDXL checkpoint. Close other apps, enlarge the page file, or convert the checkpoint to fp16. |
Connection errored out / Gradio timeout | symptom | The Python process crashed or stalled. Read the console; a crash during VAE decode is memory. |
Images are black or green | symptom | Half precision VAE on cards that cannot do it (GTX 16xx, some 10xx). Add --no-half-vae or --precision full --no-half. |
AD

Walang kailangang i-install - patakbuhin ang mga AI model sa cloud
Ang BitVector Prism ang pinakamadaling paraan para magsimula: pumili ng model, mag-type ng prompt at gumawa sa isang malinis na web app, nang walang kailangang i-configure. Available din ang BitVector sa Discord at sa web (SpyGlass).
Hakbang-hakbang
- Confirm Python 3.10.x and a recent NVIDIA driver (the console prints the torch and CUDA versions at start-up; CUDA should not be "cpu").
- Edit webui-user.bat and set COMMANDLINE_ARGS. Start with: --xformers or --opt-sdp-attention, plus --medvram for 8 GB cards, --lowvram for 4 to 6 GB, --no-half-vae for SDXL.
- Put files where the WebUI expects them: checkpoints in models/Stable-diffusion, LoRAs in models/Lora, embeddings in the embeddings folder, VAEs in models/VAE, ControlNet models in extensions/sd-webui-controlnet/models or models/ControlNet.
- For a NansException, first add --no-half-vae; if it persists add --no-half; with SDXL use the sdxl-vae-fp16-fix VAE instead of the baked one. Do not tick "Upcast cross attention" unless the message asks for it.
- For a memory error, reduce before you upgrade: batch size 1, no hires fix above 1.5x, 512x768 for SD 1.5 and 1024x1024 for SDXL, Tiled VAE from the multidiffusion extension for big outputs.
- After an update that broke things, start with --disable-all-extensions. If it runs, re-enable in Settings > Extensions in halves, Apply and restart UI each time, until you find the offender; update or remove it.
- If the install is damaged, delete the venv folder (only that folder) and start webui-user.bat again; it rebuilds the environment in a few minutes and keeps your models and outputs.
- When a card is simply too small for SDXL or ControlNet, use the same checkpoint hosted: PirateDiffusion renders SD 1.5 and SDXL models with /render and the model's trigger word from this site, and BitVector runs them in the browser.
Mga halimbawa
webui-user.bat for an 8 GB card with SDXL
set COMMANDLINE_ARGS=--opt-sdp-attention --medvram-sdxl --no-half-vae --api
GTX 1660 / 1650 (black images)
set COMMANDLINE_ARGS=--lowvram --precision full --no-half --opt-sdp-attention
Rebuild the environment
rmdir /s /q venv
webui-user.bat
Mga tip
- A1111 is maintained slowly; Forge (its fork) has most fixes built in and uses half the memory. The Forge guide on this site covers the differences.
- Keep the Settings > Stable Diffusion > SD VAE on Automatic and give each checkpoint its own VAE by file name (model.safetensors next to model.vae.pt) so a bad VAE never applies globally.
- Never put --lowvram and --medvram together; the later one wins and the console warns.
- The console line "Applying attention optimization: sdp" confirms the fast attention is active; if it says "Doggettx", add --opt-sdp-attention.
- An SDXL checkpoint with a 1.5 LoRA produces a silent no-op or a size error; this site names the family on every model page, check it before you download.
- Clear the browser cache (or open an incognito window) after an update; stale JavaScript produces strange UI errors that look like server faults.
Pag-aayos ng problema
Torch is not able to use GPU
Bakit ito nangyayari
CPU-only torch, old driver, or non-NVIDIA card.
Paano ayusin
Update the driver, delete venv and relaunch to reinstall torch with CUDA. AMD on Windows: use the DirectML fork or ZLUDA; on Linux use ROCm.
NansException with SDXL
Bakit ito nangyayari
fp16 VAE overflow.
Paano ayusin
Download sdxl-vae-fp16-fix, select it in SD VAE, or add --no-half-vae.
CUDA out of memory with hires fix
Bakit ito nangyayari
The upscaled pass needs several times the memory.
Paano ayusin
Couldn't install torch
Bakit ito nangyayari
Python 3.11 or 3.12 instead of 3.10.
Paano ayusin
Install Python 3.10.6, point webui-user.bat at it with set PYTHON=path\python.exe, delete venv, relaunch.
Stable diffusion model failed to load
Bakit ito nangyayari
Half-downloaded or renamed file.
Paano ayusin
Re-download, check size against the model page, keep the original extension.
Extensions tab shows errors after git pull
Bakit ito nangyayari
Extensions written for an older WebUI.
Paano ayusin
Update each extension from its tab; remove the ones no longer maintained (the Manager-style list shows last commit dates).
Model loads but every image is noise
Bakit ito nangyayari
Wrong VAE applied globally, or a merged model needing a specific config.
Paano ayusin
Set SD VAE to Automatic, remove a global VAE, and put the checkpoint's .yaml next to it if the author provides one.
AD

Walang kailangang i-install - patakbuhin ang mga AI model sa cloud
Ang PirateDiffusion ay Telegram lamang at ginawa para sa mga pro: libo-libong model, LoRA at workflow na pinapatakbo ng mga chat command, na may walang limitasyong paggawa sa isang fixed-price plan.
Mga tanong
Should I switch to Forge?
If you have 12 GB or less, yes; Forge runs SDXL and
Flux
where A1111 struggles, and your models and most extensions carry over. The Forge guide on this site lists the differences.
Can A1111 run Flux?
Not well. Flux support lives in Forge and
ComfyUI
. The Flux models on this site name the UIs they work with.
Where are my images?
In outputs/txt2img-images and outputs/img2img-images, dated folders. The Settings > Saving tab changes the pattern.
What do the model pages on this site give me for A1111?
The exact family (SD 1.5 or SDXL), trigger words, the file hash to check a download, and the Civitai source. LoRAs are called in the prompt as <lora:filename:0.8>.
Is there a way to try a model before downloading 6 GB?
Yes: the Run box on each model page runs it hosted on PirateDiffusion or BitVector with the trigger word shown.
Mga link at pinagmulan
- Stable Diffusion WebUI on GitHub
- Command line arguments reference
- Troubleshooting wiki
- Run SD 1.5 and SDXL checkpoints from Telegram
- BitVector web app
Mga model sa gabay na ito
Isinulat ni
Captain
Mga kaugnay na gabay
Mga error at solusyon
Stable Diffusion WebUI Forge errors and fixes (Flux, SDXL, low VRAM)
Forge-specific problems and their fixes: Flux not loading or producing noise, the UI type switch (sd / xl / flux), "GPU Weights" slider and out-of-memory errors, missing text encoders and VAE for Flux, ControlNet and extension breakage, and the differences from Automatic1111 that trip people up.
Ni Captain
2026-05-16
Mga error at solusyon
ComfyUI errors and how to fix them: red nodes, missing models, CUDA out of memory
The ComfyUI error messages people hit first, what each one means and the fix that works: missing custom nodes (red boxes), "Prompt outputs failed validation", CUDA out of memory, wrong model type in a loader, mat1 and mat2 shape errors, header deserialization, torch and xformers mismatches.
Ni Captain
2026-05-12
Mga error at solusyon
CUDA out of memory: how much VRAM each AI model needs and how to fit it
A VRAM table for SD 1.5, SDXL, Flux, FLUX.2, Qwen-Image, Z-Image, Wan 2.2 and HunyuanVideo, and the techniques that make a model fit: fp8 and GGUF quantisation, CPU offload, tiled VAE, resolution and frame limits, and when to stop fighting and run it hosted.
Ni Captain
2026-05-18
Mga model
What is a LoRA and how to use one in ComfyUI, Forge, Automatic1111 and on the cloud
LoRAs explained for people who want results, not maths: what a LoRA file changes, why it must match the base model's family, trigger words, weights, stacking several LoRAs, the folder and syntax for each UI, and how to try a LoRA on the cloud before downloading anything.
Ni Captain
2026-05-20
Higit pang gabay
Mga model
FLUX.1 Dev: how to prompt it, best settings and creative ideas
A practical guide to FLUX.1 Dev by Black Forest Labs: natural-language prompting, guidance and step settings, LoRA stacking, text rendering and prompt ideas that play to its strengths.
Ni Captain
2026-09-30
Mga model
Stable Diffusion XL 1.0: prompts, settings and what it still does best
How to get the most out of the official SDXL 1.0 base model: native resolutions, CFG and sampler settings, the refiner, negative prompts and ideas for styles where SDXL still shines.
Ni Captain
2026-10-01
Mga model
Stable Diffusion 1.5: the classic model, prompted properly
Stable Diffusion 1.5 is still worth knowing: the right resolution, CFG and sampler, how to use its huge library of LoRAs and embeddings, and creative prompt ideas suited to a 512-pixel model.
Ni Captain
2026-10-02
Mga model
FLUX.2 Dev: prompting the newest Black Forest Labs model
FLUX.2 Dev brings larger prompts, better text, stronger realism and multi-reference editing. This guide covers the turbo workflow, guidance and resolution settings, prompt structure and ideas that use its new strengths.
Ni Captain
2026-10-03
Mga model
Qwen-Image: long prompts, perfect text and bilingual posters
Qwen-Image is the model to reach for when the words in the picture matter. Learn how to write its long descriptive prompts, render English and Chinese text accurately, set CFG and steps, and explore layout-heavy creative ideas.
Ni Captain
2026-09-29
Mga model
SDXL-Lightning: four-step generation on any SDXL checkpoint
ByteDance's SDXL-Lightning LoRA turns a 30-step SDXL render into a 4-step one. Learn the step counts, the CFG you must use, the sampler, and how to combine it with your favorite checkpoints and style LoRAs.
Ni Captain
2026-09-30

Model
Trends
.ai
© ModelTrends.ai
|
Gawa sa Japan
|
© 2026