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

Optimization for sdxl_prompt2prompt_mapper dependency importing #570

Merged
merged 10 commits into from
Feb 8, 2025

Conversation

HYLcool
Copy link
Collaborator

@HYLcool HYLcool commented Feb 7, 2025

  • move Prompt2PromptPipeline definition to another file in ops.common and use LazyLoader to import it, which avoids trying to import diffusers directly with only minimal requirements.
  • fix pypi building bug: third-party dependencies are not included in the built wheel file before, which is fixed now.

@HYLcool HYLcool added enhancement New feature or request environment related to third-party dependency, DJ-pypi, DJ-docker, etc. labels Feb 7, 2025
@HYLcool HYLcool requested a review from BeachWang February 7, 2025 08:19
@HYLcool HYLcool self-assigned this Feb 7, 2025
Copy link
Collaborator

@BeachWang BeachWang left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@HYLcool HYLcool merged commit bd12da3 into main Feb 8, 2025
3 checks passed
@HYLcool HYLcool deleted the opt/sdxl_dependency_opt branch February 8, 2025 11:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request environment related to third-party dependency, DJ-pypi, DJ-docker, etc.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants