Skip to content

Conversation

@stevhliu
Copy link
Member

@stevhliu stevhliu commented Mar 2, 2023

This PR moves the relevant training code/examples for text-to-image from its folder on GitHub to the docs so users can easily access all the essential info without bouncing back and forth between the docs and GitHub.

I'm also trying out the framework-specific code blocks for PyTorch/Flax training, let me know what you think!

@HuggingFaceDocBuilderDev
Copy link

HuggingFaceDocBuilderDev commented Mar 2, 2023

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

Copy link
Contributor

@patrickvonplaten patrickvonplaten left a comment

Choose a reason for hiding this comment

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

@yiyixuxu could you help @stevhliu here a bit with diffusers-specific things?

We should also show here:

  • How to save & load intermediate saved checkpoitns
  • How to correctly log intermediate results
  • How to upload to the Hub

You can find all this info on the many readme's in the training examples: https://github.com/huggingface/diffusers/tree/main/examples

Copy link
Collaborator

@yiyixuxu yiyixuxu left a comment

Choose a reason for hiding this comment

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

Looks perfect to me! Thanks so much @stevhliu
@patrickvonplaten I think @stevhliu addressed all your feedback about hub and checkpointing - for intermediate logging I think it is only available in textual inversion, I will add too other training scripts too. We can update the doc in a follow-up PR?

@yiyixuxu
Copy link
Collaborator

yiyixuxu commented Mar 4, 2023

@stevhliu love the PyTorch/Flax code blocks!!👍

Copy link
Contributor

@patrickvonplaten patrickvonplaten left a comment

Choose a reason for hiding this comment

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

Ok for me! Thanks for working on it :-)

@stevhliu stevhliu merged commit 7004ff5 into huggingface:main Mar 6, 2023
@stevhliu stevhliu deleted the text-to-image-training branch March 6, 2023 21:43
mengfei25 pushed a commit to mengfei25/diffusers that referenced this pull request Mar 27, 2023
* move relevant code from text2image on GitHub to docs

* 🖍 add inference for text2image with flax

* 🖍 apply feedback
w4ffl35 pushed a commit to w4ffl35/diffusers that referenced this pull request Apr 14, 2023
* move relevant code from text2image on GitHub to docs

* 🖍 add inference for text2image with flax

* 🖍 apply feedback
AmericanPresidentJimmyCarter pushed a commit to AmericanPresidentJimmyCarter/diffusers that referenced this pull request Apr 26, 2024
* move relevant code from text2image on GitHub to docs

* 🖍 add inference for text2image with flax

* 🖍 apply feedback
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.

4 participants