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

use small model for testing textual inversion #1030

Merged

Conversation

eaidova
Copy link
Collaborator

@eaidova eaidova commented Nov 25, 2024

What does this PR do?

Current textual_inversion tests use runwayml/stable-diffusion-v1-5, that is more than 5GB in size and due to slowness and required amount of resources tests are executed only in slow tests scope. This PR propose to replace it with light-weight tiny model and adapter trained for it to speedup test and reduce required amount of memory for downloading test models

Before submitting

  • This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the case).
  • Did you make sure to update the documentation with your changes?
  • Did you write any new necessary tests?

@eaidova eaidova force-pushed the ea/use_small_model_for_ti_test branch from 0ef5410 to 81fe2f6 Compare November 25, 2024 15:09
@HuggingFaceDocBuilderDev

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.

Copy link
Collaborator

@nikita-savelyevv nikita-savelyevv left a comment

Choose a reason for hiding this comment

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

Thanks! runwayml/stable-diffusion-v1-5 is more than 5GB in size so this allows to save us some downloading time and model cache size

tests/openvino/test_diffusion.py Show resolved Hide resolved
Copy link
Member

@IlyasMoutawwakil IlyasMoutawwakil left a comment

Choose a reason for hiding this comment

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

LGTM !

@IlyasMoutawwakil IlyasMoutawwakil merged commit da5903d into huggingface:main Nov 26, 2024
21 of 23 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants