-
Notifications
You must be signed in to change notification settings - Fork 6.5k
Speed up test and remove kwargs from call #1446
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
Conversation
| return_dict: bool = True, | ||
| callback: Optional[Callable[[int, int, torch.FloatTensor], None]] = None, | ||
| callback_steps: Optional[int] = 1, | ||
| **kwargs, |
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.
I think we forgot to remove them when removing a deprecated function arg. They are never used anywhere
|
|
||
| prompt = "hey" | ||
|
|
||
| output = sd_pipe(prompt, number_of_steps=1, output_type="np") |
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.
wrong naming here made the test super slow
|
The documentation is not available anymore as the PR was closed or merged. |
329128b to
3d99aa8
Compare
anton-l
left a comment
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, kwargs are only used in DDPMPipeline in this version 👍
pcuenca
left a comment
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.
Thank you! 🙏
Remove kwargs from call
Remove kwargs from call
This PR speeds up the test by correcting the function argument and removes
kwargsfrom all pipelines which are never used