Skip to content

UNet Flax modeling #485

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

Closed
wants to merge 3 commits into from
Closed

UNet Flax modeling #485

wants to merge 3 commits into from

Conversation

pcuenca
Copy link
Member

@pcuenca pcuenca commented Sep 12, 2022

So far I've just put stuff in files mimicking the structure of the PyTorch codebase. The main topic that remains open is what to do with construction and initialization (do we need a wrapped module to keep taking advantage of mixins in order to have from_pretrained?), as discussed in google/flax#2454.

Mimic the structure of the PyTorch files.
The model classes themselves need work, depending on what we do about
configuration and initialization.
@pcuenca pcuenca marked this pull request as draft September 12, 2022 17:36
@HuggingFaceDocBuilderDev
Copy link

HuggingFaceDocBuilderDev commented Sep 12, 2022

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

This was referenced Sep 13, 2022
@pcuenca
Copy link
Member Author

pcuenca commented Sep 14, 2022

Superseded by #502.

@pcuenca pcuenca closed this Sep 14, 2022
@pcuenca pcuenca deleted the flax-unet branch September 14, 2022 17:08
PhaneeshB added a commit to nod-ai/diffusers that referenced this pull request Mar 1, 2023
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.

2 participants