Skip to content

Conversation

@lhoestq
Copy link
Member

@lhoestq lhoestq commented Mar 1, 2024

The hash used as new fingerprint when computing the VAE encodings in train_text_to_image_sdxl.py should change if the VAE changes.

Previously if someone used different VAEs using this script, it would always reload the first result in the dataset cache instead of recomputing using the different VAE.

I haven't checked in other examples for similar cases, maybe it can be worth checking.

@sayakpaul

@lhoestq lhoestq mentioned this pull request Mar 1, 2024
@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.

This is a single instance of such behaviour. Thank you!

@sayakpaul sayakpaul merged commit 66f8bd6 into main Mar 1, 2024
@sayakpaul sayakpaul deleted the fix-vae-encodings_fn-hash branch March 1, 2024 11:38
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