stable-diffusion.cpp icon indicating copy to clipboard operation
stable-diffusion.cpp copied to clipboard

Unknown Tensors - CPU Clip + Lora crashes - Certain Models.

Open valkarias opened this issue 3 months ago • 1 comments

--clip-skip 1 --sampling-method euler_a -p "<lora:pencil:0.9> sketch, girl, purple skin, standing, standing, full body, metal gauntlet, simple_background" -n "deformed, disfigured, bad_anatomy, cropped" --steps 15 --cfg-scale 7 --seed -1 --lora-model-dir (my dir) -W 512 -H 512 -m (listed models)

Image

The simple prompt listed above. Works. But upon adding --clip-on-cpu + a lora. This specific combination consistently crashes. As far as my memory goes (brain memory), this did not happen with models. Models that had no 'unknown tensors' warnings.

--vae-on-cpu does not crash.

valkarias avatar Sep 14 '25 00:09 valkarias

Could you include a log with -v of the command that crashes?

Also, does it happen with any LoRA? Could you point me to the one you're testing with?

wbruna avatar Sep 18 '25 11:09 wbruna