Description
GLMImagePipeline.__call__() supports negative_prompt_embeds but does not accept a negative_prompt string parameter. When CFG is active (guidance_scale > 1), the unconditional prompt is hardcoded to "" with no way for users to provide a custom negative prompt.
This is the same pattern that was in Flux2KleinPipeline before #13420.
Users should be able to pass negative_prompt="some string" directly, similar to other pipelines that support CFG.
The only way to use a custom negative prompt right now is to pre-encode it and pass negative_prompt_embeds. I will create a PR to fix this.
Description
GLMImagePipeline.__call__()supportsnegative_prompt_embedsbut does not accept anegative_promptstring parameter. When CFG is active (guidance_scale > 1), the unconditional prompt is hardcoded to""with no way for users to provide a custom negative prompt.This is the same pattern that was in
Flux2KleinPipelinebefore #13420.Users should be able to pass
negative_prompt="some string"directly, similar to other pipelines that support CFG.The only way to use a custom negative prompt right now is to pre-encode it and pass
negative_prompt_embeds. I will create a PR to fix this.