diffusers
1ffa4236 - ovis_image: fix guidance_scale / max_sequence_length / batched CFG / precomputed embeds + add pipeline test (#13944)

Commit
37 days ago
ovis_image: fix guidance_scale / max_sequence_length / batched CFG / precomputed embeds + add pipeline test (#13944) * ovis_image: fix guidance_scale / max_sequence_length / batched-CFG / precomputed embeds + add pipeline test Addresses items 3/4/5/6/7 of #13630. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> * ovis_image: complete pipeline review (#13630) - thread joint_attention_kwargs through the transformer forward + blocks (item 2) and pass it from the pipeline's transformer calls. - encode_prompt now returns both positive and negative embeds (the z_image / PixArt convention) so precomputed embeds work end-to-end and the prompt is encoded in a single call. - switch the pipeline test to the full PipelineTesterMixin. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> * ovis_image: remove now-unused tokenizer_max_length The pipeline computes max_length inline from max_sequence_length, so the attribute is dead. Addresses review feedback. --------- Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com> Co-authored-by: dg845 <58458699+dg845@users.noreply.github.com>
Author
Parents
Loading