Skip to content
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

Add pipeline support for prompt Embeds [40 LPT] #32

Open
rickstaa opened this issue Jun 20, 2024 · 6 comments
Open

Add pipeline support for prompt Embeds [40 LPT] #32

rickstaa opened this issue Jun 20, 2024 · 6 comments
Assignees
Labels
AI AI SPE bounties bounty Software bounies. enhancement New feature or request

Comments

@rickstaa
Copy link
Collaborator

rickstaa commented Jun 20, 2024

Overview

Currently, applications using the Livepeer pipelines lack a mechanism to prioritize parts of a prompt. This can be achieved using weighted prompts (i.e., prompt embeds). Adding support for weighted prompts in the T2I, I2I, and upscaling pipelines would greatly enhance the user experience. We invite the community to help us implement this important feature 🛠️.

Required Skillset

Bounty Requirements

  1. An easy method for users to utilize prompt embeds with the current pipelines, ideally without adding new parameters. The ++/-- syntax should be recognized by Livepeer, creating a prompt embed to be passed through the superresolution pipeline.
  2. A report detailing any performance changes (e.g., inference speed) resulting from adding this feature.

Implementation Tips

How to Apply

Warning

Please wait for the issue to be assigned to you before starting work. To prevent duplication of effort, submissions for unassigned issues will not be accepted.

  1. Express Your Interest: Comment on the issue to let us know you're interested.
  2. Wait for Review: Our team will review expressions of interest within 14 days and select the best candidate.
  3. Get Assigned: If selected, we'll assign the GitHub issue to you.
  4. Start Working: Begin your work! For help or guidance, join the #🛋│developer-lounge channel on our Discord server.
  5. Submit Your Work: Create a pull request in the relevant repository and request a review.
  6. Notify Us: Comment on the GitHub issue when your pull request is ready for review.
  7. Receive Your Bounty: Once your pull request is approved, we'll arrange the bounty payment.
  8. Gain Recognition: Your valuable contributions will be showcased in our project's changelog.

Thank you for your interest in contributing to our project 💛!

@rickstaa rickstaa added AI AI SPE bounties enhancement New feature or request labels Jun 20, 2024
@rickstaa rickstaa changed the title Add I2I support for prompt Embeds [40 LPT] Add pipeline support for prompt Embeds [40 LPT] Jun 20, 2024
@tegridydev
Copy link

Interested!

@rickstaa
Copy link
Collaborator Author

Interested!

@tegridydev, thank you for your interest in implementing this bounty. I reviewed your GitHub profile and your experience with Python. I'm happy to announce that you are accepted to work on this bounty and qualify for the 40 LPT reward 🎉. Welcome to the Livepeer open-source community 🚀. I have provided the necessary information in this issue, but if anything is unclear, please don't hesitate to comment below or reach out in the #🛋│developer-lounge channel on our Discord server.

@rickstaa rickstaa added the bounty Software bounies. label Jun 24, 2024
@rickstaa
Copy link
Collaborator Author

@tegridydev as discussed in DM I removed you from the bounty so somebody else can tackle it 👍.

@rickstaa
Copy link
Collaborator Author

rickstaa commented Jul 28, 2024

@JJassonn69, if you're interested in taking on this bounty, you can apply similar logic as used in the prompt splitting. Please refer to this link for guidance: Prompt Splitting Example.

You can create a function that returns both prompt and prompt_embeds, clearing the prompt and generating embeds as needed. However, feel free to design and implement the solution in any way you see fit.

@nishantkluhera
Copy link

Hello! I'm interested in this bounty if it's already not been assigned

@rickstaa
Copy link
Collaborator Author

Hi @nishantkluhera, thank you for your interest in contributing to the Livepeer open-source ecosystem! Unfortunately, this bounty has already been completed by @JJassonn69, and you can view the finished pull request here. It seems we forgot to assign him to the task—apologies for any confusion. We hope to see you tackle another bounty soon! 🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
AI AI SPE bounties bounty Software bounies. enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

4 participants