-
Notifications
You must be signed in to change notification settings - Fork 6
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
Adding batched generation support and SDXL-Lightning #38
Conversation
sokovninn
commented
Feb 29, 2024
•
edited
Loading
edited
- Added batched prompt generation
- Added batched image generation
- Added batched image annotation
- Added SDXL-Lightning
- README modified
- LLM quantization fix
- OWLv2 processing fix
* Change moving the model * Set max_memory * Update * Update * Remove comments --------- Co-authored-by: Jan Čuhel <[email protected]>
* Add support for TinyLlama * Update * Remove caption reads sentences * [Automated] Updated coverage badge * Update LM tests * Add TinyLlama to README.md * Change helper functions to private --------- Co-authored-by: GitHub Actions <[email protected]> Co-authored-by: Nikita Sokovnin <[email protected]>
* Add quantization of Mistral * Add quantization flag and add 8bit quantization * Better printing * Update quantization * Add pipeline * Update Mistral LM generation * Update LM quantization * Add unittests & update pipeline & prompt generation * Correct tests * Update version of Mistral, update docstrings & README.md * Format code
* feature: add batched prompt generation * feature: add --batch_size_prompt argument * test: add simple argument test * feature: add batched prompt generation speed measuring * refactor: remove redundant print * fix: change default batch_size_prompt to 64 * style: black formatting * refactor: typo
* feature: add batched image generation * test: modify image generation tests * fix: modify examples * fix: prompt objects weights * docs: update args description * docs: update prompt generation docstrings * [Automated] Updated coverage badge --------- Co-authored-by: GitHub Actions <[email protected]>
* Add batch annotation * Update docs & add test & fix batched annotation * Change default batch annotation * Fix annotation tests * Fix tests * [Automated] Updated coverage badge * Update annotation example & docstrings * Fix formatting * Fix docstring * [Automated] Updated coverage badge * refactor: replace annotate() with annotate_batch() * feature: replace owlv2 resize --------- Co-authored-by: Jan Cuhel <[email protected]> Co-authored-by: GitHub Actions <[email protected]> Co-authored-by: Nikita Sokovnin <[email protected]>
* feature: add SDXL-Lightning image generator * fix: minor example fix * feature: add prompt weighting to sdxl-lightning * docs: update README * test: add sdxl-lightning tests * [Automated] Updated coverage badge --------- Co-authored-by: GitHub Actions <[email protected]>
☂️ Python Coverage
Overall Coverage
New Files
Modified Files
|
Test Results 6 files 6 suites 46m 51s ⏱️ Results for commit de11ec6. ♻️ This comment has been updated with latest results. |
@sokovninn
Therefore I'd wait with the release until we solve all of this. |
Fixed the second issue in here. |
Co-authored-by: Jan Cuhel <[email protected]>
* Added padding & truncation to the processing * Format code * fix: change labels dtype to int64 * format: black --------- Co-authored-by: Jan Cuhel <[email protected]> Co-authored-by: Nikita Sokovnin <[email protected]>
All known issues are fixed. Thanks, @HonzaCuhel. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM