Skip to content
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

[from_single_file] fix: tokenizer and config loading #5439

Closed
wants to merge 73 commits into from

Conversation

sayakpaul
Copy link
Member

Fixes #5390.

TL;DR: It's a must for the user to locally save the tokenizers and configurations under the same paths (such as "openai/clip-vit-large-patch14") to ensure local_files_only=True works in the right manner.

Here is an end-to-end demonstration of how this should be done:
https://colab.research.google.com/gist/sayakpaul/022711ecea63bfc2f2e1b67e149f0701/scratchpad.ipynb

@sayakpaul
Copy link
Member Author

Commits are borked in this one. So opened: #5440.

Closing it.

@sayakpaul sayakpaul closed this Oct 18, 2023
@sayakpaul sayakpaul deleted the debug-local-tokenizers branch October 18, 2023 11:04
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.

SDXL pipeline downloads text encoder even when local_files_only=True
1 participant