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

fix: prevent 'CLIPTokenizer' object has no attribute 'split_special_tokens' error #290

Merged
merged 2 commits into from
Aug 24, 2023

Conversation

tazlin
Copy link
Member

@tazlin tazlin commented Aug 24, 2023

This fixes the AttributeError: 'CLIPTokenizer' object has no attribute 'split_special_tokens' error that has cropped up with updated/new workers.

This is specifically for hordelib 1.6.2; transformers 4.30.2 is shown to not crash, where as 4.32.0 on seems to introduce a breaking change regarding the use of the aforementioned attribute causing an crash originating from within comfy.

@tazlin tazlin added the release:patch Release with a patch version bump label Aug 24, 2023
@tazlin tazlin changed the title fix: avoid transformers>=4.32.0 as it introduces a breaking change fix: prevent 'CLIPTokenizer' object has no attribute 'split_special_tokens' error Aug 24, 2023
@tazlin tazlin merged commit 2d12545 into main Aug 24, 2023
1 check passed
@db0 db0 deleted the transformers-breaking-change branch August 24, 2023 11:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
release:patch Release with a patch version bump
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant