8000 TST Update diffusers hotswap tests by BenjaminBossan · Pull Request #2619 · huggingface/peft · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

TST Update diffusers hotswap tests #2619

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

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

BenjaminBossan
Copy link
Member

When the diffusers hotswap tests were added to PEFT in #2120, the diffusers test was marked as xfail because hotswapping was not yet implemented in diffusers. This has long been achieved but the test was not updated.

This PR now updates the diffusers test in PEFT and removes the xfail. The new test is basically a copy of the corresponding test in diffusers. Moreover, I enhanced the test according to #2611 to also ensure that there are no CUDA graph re-records.

Note:

When the diffusers hotswap tests were added to PEFT in huggingface#2120, the
diffusers test was marked as xfail because hotswapping was not yet
implemented in diffusers. This has long been achieved but the test was
not updated.

This PR now updates the diffusers test in PEFT and removes the xfail.
The new test is basically a copy of the corresponding test in diffusers.
Moreover, I enhanced the test according to huggingface#2611 to also ensure that
there are no CUDA graph re-records.
@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
Member
@sayakpaul sayakpaul left a comment

Choose a reason for hiding this comment

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

It looks good. If you want to remove these tests since we test them in diffusers any way, we can do that too.

@BenjaminBossan
Copy link
Member Author

If you want to remove these tests since we test them in diffusers any way, we can do that too.

I think it's better to keep the tests as otherwise, we might otherwise add changes to PEFT that break hot-swapping in diffusers.

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.

3 participants
0