Skip to content

Conversation

stduhpf
Copy link
Contributor

@stduhpf stduhpf commented Apr 15, 2025

Should fix #656

SDXL Embeddings were not actually being applied to the second text encoder, oopsie. It seems this was causing a crash when running clip on CPU backends too.

Example:

sd.exe --model models\sdXL_v10VAEFix.safetensors -p 'JenniferLawrenceExl, portrait, smiling' -n "nsfw" --cfg-scale 7 --sampling-method euler --steps 50 -t 24 --vae-tiling -W 896 -H 1152 --embd-dir embeddings\sdxl\ --vae models\vae\sdxl_vae.safetensors

PR master no trigger word
output output output

@leejet leejet merged commit 8d0819c into leejet:master Jul 3, 2025
9 checks passed
@leejet
Copy link
Owner

leejet commented Jul 3, 2025

Thank you for your contribution.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

SDXL crash with embeddings and clip on CPU

2 participants