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 OneDiff inference speed optimization [30 LPT] #31

Closed
rickstaa opened this issue Jun 20, 2024 · 5 comments
Closed

Research OneDiff inference speed optimization [30 LPT] #31

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

Comments

@rickstaa
Copy link
Collaborator

rickstaa commented Jun 20, 2024

Overview

Inference speed is crucial for our applications, and we aim to enhance the performance of our T2I and I2I pipelines. Previous optimizations like DeepCache have improved inference times but at the expense of image quality. We are interested in exploring whether another optimization, OneDiff, can provide better results. As we are currently focused on the core AI subnet software, we are inviting community builders to conduct this research in exchange for a software bounty. If OneDiff proves effective, we will create another bounty to implement this optimization in the T2I and I2I pipelines. The successful researcher will have the first opportunity to take on this new bounty, allowing them to implement this potentially valuable feature for the community and accelerate our pipelines ⚡.

Required Skillset

Bounty Requirements

  • The submission must include a dedicated report outlining the inference speedup and output quality with and without the OneDiff optimization.
  • The report should cover each of the models listed below in the Text-to-Image and Image-to-Image pipelines.
  • Inference times should be averaged over 10 runs, and comparison images for each run should be provided.

The following items are NOT included in this bounty:

  • This bounty does not include the Image-to-video and upscaling pipelines. These will be addressed in a subsequent bounty.
  • This bounty is solely focused on conducting research for this optimization method. The implementation will be addressed in a subsequent bounty.

Required models

Text-to-Image

Image-to-image

Implementation Tips

Avoid testing OneFl directly on the livepeer/ai-worker repository, as its complexity may hinder your process. Instead, create a simple inference Python script for your tests.

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 labels Jun 20, 2024
@lukiod
Copy link

lukiod commented Jun 23, 2024

@rickstaa i am interested in this i request you to assign me in this .

@rickstaa
Copy link
Collaborator Author

rickstaa commented Jun 24, 2024

@rickstaa i am interested in this i request you to assign me in this .

@lukiod, 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 25 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 changed the title Research OneDiff inference speed optimization [20 LPT] Research OneDiff inference speed optimization [25 LPT] Jun 24, 2024
@rickstaa rickstaa added the bounty Software bounies. label Jun 24, 2024
@rickstaa rickstaa changed the title Research OneDiff inference speed optimization [25 LPT] Research OneDiff inference speed optimization [30 LPT] Jul 21, 2024
@rickstaa
Copy link
Collaborator Author

I increased the bounty amount to 30 LPT since due to complications in the OneDiff software the task took a lot longer than estimated.

@lukiod
Copy link

lukiod commented Jul 21, 2024

here is my report https://github.com/lukiod/T2I-and-I2I-Report

@rickstaa
Copy link
Collaborator Author

here is my report https://github.com/lukiod/T2I-and-I2I-Report

High quality report 🚀. Thanks again for your OpenSource contribution to the Livepeer ecosystem. I will contact you in DM to ensure you get your bounty reward 🪙.

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

2 participants