Skip to content

Override text encoders for unet models #682

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

stduhpf
Copy link
Contributor

@stduhpf stduhpf commented May 18, 2025

Supports the --clip_l flag for SD1.x/SD2.x and SDXL and --clip_g flag for SDXL, to set the text encoder(s).

Example:

  • Model: dreamshaper_8.safetensors (sd1.5 base)
  • Prompt: "(masterpiece), (extremely intricate:1.3), (realistic), portrait of a girl, the most beautiful in the world, (medieval armor), metal reflections, upper body, outdoors, intense sunlight, far away castle, professional photograph of a stunning woman detailed, sharp focus, dramatic, award winning, cinematic lighting, octane render unreal engine, volumetrics dtx, (film grain, blurry background, blurry foreground, bokeh, depth of field, sunset, motion blur:1.3), chainmail"
  • Neg. Prompt: empty
  • CFG: --cfg-scale 9 --apg-eta .01 --apg-momentum -0.25 --apg-nt 5 --apg-nt-smoothing .15 (using APG branch)
  • Sampling method: euler_a, default schedule
  • Steps: 30
  • Seed: 42
Built-in text encoder Base Clip-L (from Flux) CLIP-GmP-ViT-L-14
output output output

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.

1 participant