Skip to content

Conversation

@patil-suraj
Copy link
Contributor

This PR updates FlaxStableDiffusionSafetyChecker to use transformers.FlaxPreTrainedModel for saving and loading to align with PT.

@patil-suraj patil-suraj marked this pull request as ready for review September 20, 2022 18:06
@patil-suraj patil-suraj merged commit c6629e6 into main Sep 20, 2022
@patil-suraj patil-suraj deleted the safety-module-flax branch September 20, 2022 18:11
@HuggingFaceDocBuilderDev
Copy link

HuggingFaceDocBuilderDev commented Sep 20, 2022

The documentation is not available anymore as the PR was closed or merged.

yoonseokjin pushed a commit to yoonseokjin/diffusers that referenced this pull request Dec 25, 2023
…uggingface#591)

* use FlaxPreTrainedModel for flax safety module

* fix name

* fix one more

* Apply suggestions from code review
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