Troubleshooting¶
See also: - Getting started: docs/getting-started.md - Backends: docs/reference/backends.md - Configuration: docs/reference/configuration.md - FAQ: docs/faq.md
This page covers the current user-facing failure modes that are most likely when using local backends, the playground, and the AbstractCore integration.
Local backend says a dependency is missing¶
Symptom¶
OptionalDependencyMissingError- import errors mentioning
diffusers,torch,torchvision,stable_diffusion_cpp,mlxgen, ormflux - errors like
Qwen2VLVideoProcessor requires the Torchvision library...when usingQwen/Qwen-Image-Edit-*
Likely cause¶
The base install is intentionally lightweight. Local runtimes are not installed unless you choose the matching extra.
Fix¶
- Diffusers:
pip install "abstractvision[diffusers]" - If the error mentions missing
torchvision:pip install torchvision(or upgrade/reinstallabstractvision[diffusers]) - stable-diffusion.cpp bindings:
pip install "abstractvision[sdcpp]" - MLX-Gen:
pip install "abstractvision[mlx-gen]"(or compatibility aliasabstractvision[mflux]). MLX-Gen is validated on Apple Silicon. The extra also installs on Linux, where it is not validated yet (see backlog 030); thegpuandall-gpuprofiles do not include it, so installabstractvision[mlx-gen]explicitly there.
Verify¶
abstractvision cliabstractvision catalog --provider diffusers
Local Diffusers cannot find the model¶
Symptom¶
- local Diffusers generation fails before inference starts
- the error mentions a missing snapshot or cache-only/offline behavior
Likely cause¶
The Diffusers backend is cache-only by default and the required model is not yet present in the Hugging Face cache.
Another common case is an interrupted Hugging Face download: the snapshot
directory exists, but the repo still contains .incomplete blobs and the
package now rejects that cache entry as unusable until the download is resumed.
Fix¶
- Pre-download the model with
abstractvision download ... --provider diffusers - or allow runtime downloads explicitly with
ABSTRACTVISION_DIFFUSERS_ALLOW_DOWNLOAD=1 - if the repo already exists but is partial, rerun the same
abstractvision download ... --provider diffuserscommand to resume it
Examples:
abstractvision download stable-diffusion --provider diffusers
abstractvision download qwen-image-edit-2511 --provider diffusers
Verify¶
abstractvision catalog --provider diffusersabstractvision show-model Qwen/Qwen-Image-Edit-2511
Local Diffusers text_to_video is experimental and currently disabled¶
Symptom¶
- the local playground has no active local
Text→Videomodel choices - local Diffusers
t2vraises a capability/disabled error
Likely cause¶
AbstractVision intentionally quarantines the current local Diffusers
text_to_video groundwork because the operator validation bar is not met yet.
This does not apply to the MLX-Gen Wan path.
Fix¶
- use MLX-Gen Wan locally:
abstractvision t2v --provider mlx-gen --model AbstractFramework/wan2.2-t2v-a14b-diffusers-8bit "prompt"; or - use the OpenAI-compatible backend when video is served remotely; or
- follow the backlog item that tracks the local re-validation work:
docs/backlog/planned/0023_local_runtime_capability_quarantine_for_glm_mflux_and_t2v.md
GLM-Image is temporarily disabled in the local Diffusers backend¶
Symptom¶
zai-org/GLM-Imagedoes not appear in local runtime-backed model selectors- direct local Diffusers calls reject it as temporarily disabled
Likely cause¶
Operator testing and runtime investigation showed that current local GLM output quality/runtime behavior is not honest enough to ship as a working local capability.
Fix¶
Use another local Diffusers image model for now, for example:
- runwayml/stable-diffusion-v1-5
- Qwen/Qwen-Image-Edit-2511
- black-forest-labs/FLUX.2-klein-4B
The follow-up investigation is tracked in:
- docs/backlog/planned/0023_local_runtime_capability_quarantine_for_glm_mflux_and_t2v.md
MLX-Gen image_to_image is missing or rejected¶
Symptom¶
flux2-klein-4b,flux2-klein-9b,flux2-klein-base-*, orqwen-image-edit-*(MLX-Gen) do not appear in the playgroundImage→Imagetab; or- local MLX-Gen
image_to_imagecalls raiseCapabilityNotSupportedError
Likely cause¶
- You are on an older AbstractVision version where the Apple-local edit surface was narrower.
- The optional MLX-Gen extra is not installed (
abstractvision[mlx-gen]). - The q4/q8 prepared model is not present in the Hugging Face cache yet.
- You are attempting a mask or structured-control request on a route that does not advertise that capability.
Fix¶
- Upgrade AbstractVision to a version that supports MLX-Gen q4/q8 presets.
- Install the backend extra:
pip install "abstractvision[mlx-gen]" - Download the prepared model first, for example
abstractvision download AbstractFramework/qwen-image-edit-2511-4bit --provider mlx-gen. - For MLX-Gen mask edits, use a validated masked-edit route such as
AbstractFramework/qwen-image-edit-2511-8bit,briaai/Fibo-Edit, orbriaai/Fibo-Edit-RMBG. - For MLX-Gen structured control, use the validated base-Qwen route
AbstractFramework/qwen-image-8bitand pass--control-image/--control-strength(or Pythoncontrol_image=/control_strength=). - If you need mask/control on another local route, use local Diffusers or
stable-diffusion.cppinstead of expecting AbstractVision to silently fall back.
Notes:
- MLX-Gen edit strength is passed as strength and normalized to the runtime image_strength parameter where the model supports it.
- If you need stricter scene preservation, Diffusers often remains the more conservative baseline for image_to_image.
MLX-Gen LoRA is rejected as incompatible¶
Symptom¶
- a local MLX-Gen image or video run fails before generation with a LoRA compatibility error
- the message says the adapter targets a different base model than the selected route
Likely cause¶
- the adapter model card targets a different base model family
- the selected route does not expose LoRA support
- a Wan route requires explicit target-role assignment and none was provided
Fix¶
- inspect the route first with
abstractvision show-model <model-id>orabstractvision catalog --provider mlx-gen - confirm the route advertises
supports_lora: true - match the adapter to the route's base model family
- for Wan TI2V-5B, pass
--lora-target-role transformer - for Wan A14B, pass explicit
high_noise_transformer/low_noise_transformerroles
Verify¶
- rerun with the same model id and a compatible adapter
- confirm the generated metadata includes requested/applied LoRA details such as
requested_lora_adapters,lora_application_reports,lora_applied_file_count, andlora_applied_target_count
Wan video runs out of memory or is slow¶
Symptom¶
- a Wan video generation fails with a Metal out-of-memory error, or the Mac starts swapping heavily
- a Wan video takes far longer than expected
Likely cause¶
- the request asks for a larger canvas than the model's default (for example
1280x704for TI2V-5B); memory and time grow with the frame size vae_tilingwas switched off, so the VAE decode holds whole frames at once- another large model is loaded in the same machine
Fix¶
- leave
width/heightunset to use the model's default (832x480 for every Wan model), or request a smaller canvas; see docs/faq.md for measured needs - keep the tiled VAE decode on (the default); do not pass
--no-vae-tiling/extra={"vae_tiling": False}on a memory-constrained Mac - lower
--stepsfor quick drafts: the step count changes the time, not the peak memory - unload other models before a video run
Diffusers on CUDA is slow or runs out of memory¶
Symptom¶
- an image generation on an NVIDIA GPU that runs many steps takes longer than
expected, and the result metadata reports
cpu_offload: "sequential" - the log shows
Diffusers: sequential CPU offload on cuda ... (much less GPU memory; each step slower than model CPU offload) - a generation fails with
CUDA out of memory
Likely cause¶
- another process (for example a text model) holds part of the GPU, so the free memory cannot hold the pipeline's largest component and the backend falls back to sequential CPU offload
cpu_offload="model"or"none"was set explicitly on a GPU that is too small for that placement
Fix¶
- unload the other model from the GPU before generating; with enough free memory the backend uses model CPU offload or moves the pipeline whole
- leave
cpu_offloadat"auto"(the default) so the backend picks a placement that fits; see docs/reference/backends.md for how it decides - use a smaller model or a quantized (GGUF) variant on small GPUs
- an out-of-memory during the generation itself is raised as
GpuOutOfMemoryErrorwith the model's size, its placement, what was free and what to change; model CPU offload also needs host RAM for the whole float16 weights plus about 3 GB (FLUX.2 klein 4B peaks near 24 GB of RAM)
A Diffusers result is an all-black image on CUDA¶
Symptom¶
- the generation finishes, the file is written, the image is uniformly black
Likely cause¶
The model was trained in bfloat16 (Z-Image, OmniGen and others) and ran in float16, which overflows in its layers. Cards before Ampere (compute capability 8.0, for example the Turing Quadro RTX 5000) have no native bfloat16.
Fix¶
- on Ampere or newer, set
torch_dtype=bfloat16 - on older cards, run the model in float32 (slower, more memory; OmniGen at 1024² took about 12 minutes with sequential offload on a 16 GB Turing card) or use its GGUF variant through stable-diffusion.cpp
Linux without a GPU: Diffusers reports its runtime missing¶
Symptom¶
pip install "abstractvision[gpu]"on a processor-only Linux host, then "Diffusers runtime missing" althoughdiffusersis installed, oroperator torchvision::nms does not existwhen importing
Likely cause¶
torch was installed from PyTorch's CPU index and torchvision from PyPI
(the CUDA build): the two do not match.
Fix¶
Install both from the same index before the package:
pip install torch torchvision --index-url https://download.pytorch.org/whl/cpu
pip install "abstractvision[gpu]"
The processor path then runs in float32 (the default on cpu) and the profile
reports cpu; hiding the card with an empty or -1 CUDA_VISIBLE_DEVICES
gives the same result on a GPU host.
stable-diffusion.cpp (sd-cli) fails with a GLIBC version error on Linux¶
Symptom¶
- a GGUF generation fails with
version 'GLIBC_2.43' not found(or similar) right aftersd-cliwas auto-installed
Likely cause¶
Since release master-1044 (2026-11-03) stable-diffusion.cpp's Linux builds are made on Ubuntu 26.04 and need glibc 2.43; Ubuntu 24.04 has 2.39.
Fix¶
The auto-install now picks the newest release whose Linux build the host's
glibc can run (master-1043 on Ubuntu 24.04) and skips ROCm builds. A host that
auto-installed a newer build before this fix keeps it: delete
~/.abstractvision/bin and let the next GGUF call install again. sd-cli
reloads the model on every call (the Diffusers path keeps it resident).
mps was requested but is unavailable¶
Symptom¶
- local Diffusers startup fails with an error mentioning
mps
Likely cause¶
PyTorch does not report Apple Metal / MPS as available in the current environment.
Checks¶
python - <<'PY'
import torch
print(torch.backends.mps.is_available())
PY
Fix¶
- use a PyTorch build with MPS support on Apple Silicon;
- or switch the backend device to
cpu.
Verify¶
- rerun the check above;
- then retry with
--diffusers-device mpsor--diffusers-device cpu
Playground panel is disabled¶
Symptom¶
- Image → Image or Text → Video controls stay disabled in the playground
Likely cause¶
The currently selected model does not advertise the required task in the packaged capability registry, or the backend cannot really execute that task.
Fix¶
Choose a model that advertises the task:
- image edits: a model with
image_to_image - local MLX-Gen text-to-video:
AbstractFramework/wan2.2-t2v-a14b-diffusers-8bitorWan-AI/Wan2.2-TI2V-5B-Diffusers - remote text-to-video: an OpenAI-compatible backend configured with a video endpoint
Verify¶
- open
GET /v1/vision/models - inspect the selected model’s
tasksandtask_specs
AbstractCore tool expected an artifact ref¶
Symptom¶
vision_text_to_image,vision_image_to_image, orvision_text_to_videoreports that an artifact ref was expected
Likely cause¶
make_vision_tools(...) expects VisionManager.store to be set so outputs can
be returned as artifact references instead of raw bytes.
Fix¶
Create the manager with a store, for example LocalAssetStore() or a runtime
adapter.
Verify¶
- rerun the tool call and confirm the result contains
"$artifact"