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

Research good parameters for recommended T2I models [15 LPT] #30

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

Research good parameters for recommended T2I models [15 LPT] #30

rickstaa opened this issue Jun 20, 2024 · 3 comments
Labels
AI AI SPE bounties bounty Software bounies. research Conducting research for improvement or feature implementation

Comments

@rickstaa
Copy link
Member

rickstaa commented Jun 20, 2024

Overview

To give users of the AI subnet the best experience it would help to provide them a way to enable sensible defaults for our current supported pipelines and models. We invite builders in the community to research these parameters for the recommended warm models in the T2I pipeline 🔧. By completing this bounty, you'll help enhance the ease of use of the T2I pipeline, benefiting the entire community. Once we have established these defaults, we can begin implementing a way for users to apply these optimal parameters (see LIV-471).

Required Skillset

Bounty Requirements

The bounty requests a report provided by the bounty hunter containing the following information:

  • 3 distinct prompts for which the effect of parameter ranges on image quality were tested.
  • Clear visual outputs that show why a given parameter is optimal.

This information should be provided for the two warm models in the T2I pipeline:

Implementation Tips

  1. To get started checkout the hugginface page of the models. These often already apply good parameters for your parameter search.
  2. To test these parameters try to abstract away the Livpeer specific code (ai-worker, go-livepeer) this will speedup your process. Most models provide a simple code example to perform inference for the models on your system.

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 research Conducting research for improvement or feature implementation bounty Software bounies. labels Jun 20, 2024
@papabear99
Copy link

papabear99 commented Jun 26, 2024

I will write a guide with my opinions on best practices and default settings for the currently most common Livepeer AI subnet models (RealVisXL4.0_Lightning and ByteDanceSDXL_Lightning 8-step) for most images, for 0 LPT.

Short answer: (Detailed response with examples to follow soon)

For models with "Lightning" in the name, using 6-8 steps with a CFG between 2-4 will generally offer the best results in terms of image quality and speed.

For other models, 25+ steps and a CFG of 6-8 are generally optimal.

This is a complex and nuanced topic, so using a one-size-fits-all solution will undoubtedly leave some quality on the table. However, the settings above should work well for most images, balancing detail, natural appearance and speed of processing.

I'm off to Tahoe with the family tonight, so until later, aloha! :)

@SidereumFract
Copy link

Im interested in this bounty. I have made X/Y/X grids in the past to see how different parameters affect each other, to find good ranges of parameters. Using a static seed while varying other parameters to show the differences. As well as doing it over a range of prompts and models.

@RaghavArora14
Copy link

Hi, I'm interested in this bounty, if it's still open would love to work on this.

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. research Conducting research for improvement or feature implementation
Projects
None yet
Development

No branches or pull requests

4 participants