aigc-apps / aigc-apps/VideoX-Fun

prompt_embeds = negative_prompt_embeds + prompt_embeds, why?

Open
#157 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
2.3k
Forks
188
Avg merge
2d 22h
Merged PRs (30d)
3

Description

negative_prompt_embeds and prompt_embeds are concat to generate new prompt_embeds in StableDiffusionPipeline

https://github.com/huggingface/diffusers/blob/841504bb1a32321641ec19db3cc65376af9e2bd7/src/diffusers/pipelines/stable_diffusion/pipeline_stable_diffusion.py#L980

but negative_prompt_embeds and prompt_embeds are just added to generate new prompt_embeds in WanFunPipeline

https://github.com/aigc-apps/VideoX-Fun/blob/f865b60e0a8f8e807a7b1255f320f48cf8b9203a/videox_fun/pipeline/pipeline_wan_fun.py#L465

Is there any consideration or reference paper in this design?

hope for your reply

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Compare the StableDiffusionPipeline code at the linked diffusers location with WanFunPipeline at videox_fun/pipeline/pipeline_wan_fun.py:465. Trace how each pipeline combines negative_prompt_embeds and prompt_embeds, then check the issue discussion or referenced literature for the design rationale. Done means the behavior and any supporting reference are clearly documented or explained.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
ai, machine-learning
Issue type
Documentation
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.