diffusers icon indicating copy to clipboard operation
diffusers copied to clipboard

Update download diff format tests

Open DN6 opened this issue 1 year ago • 0 comments

What does this PR do?

These tests download the v1-5-pruned-emaonly.ckpt for SD 1.5, however we've updated our torch.load to default to use the weights_only=True which is causing issues with this checkpoint since it can't load the serialized PT lightning callbacks. Updating the tests to use the safetensors files instead.

Fixes # (issue)

Before submitting

  • [ ] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the case).
  • [ ] Did you read the contributor guideline?
  • [ ] Did you read our philosophy doc (important for complex PRs)?
  • [ ] Was this discussed/approved via a GitHub issue or the forum? Please add a link to it if that's the case.
  • [ ] Did you make sure to update the documentation with your changes? Here are the documentation guidelines, and here are tips on formatting docstrings.
  • [ ] Did you write any new necessary tests?

Who can review?

Anyone in the community is free to review the PR once the tests have passed. Feel free to tag members/contributors who may be interested in your PR.

DN6 avatar May 01 '24 13:05 DN6