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

Use contiguous() in clip checkpoint conversion script #30613

Merged
merged 2 commits into from
May 2, 2024
Merged

Conversation

ydshieh
Copy link
Collaborator

@ydshieh ydshieh commented May 2, 2024

What does this PR do?

Fix #30037

See #30037 (comment)

@Narsil I fixed the issue, but maybe you want to share some insights/information.

@ydshieh ydshieh requested a review from amyeroberts May 2, 2024 11:41
Copy link
Collaborator

@amyeroberts amyeroberts left a comment

Choose a reason for hiding this comment

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

Thanks for looking into this and fixing!

@ydshieh ydshieh merged commit f57f014 into main May 2, 2024
8 checks passed
@ydshieh ydshieh deleted the try_fix_clip_conv branch May 2, 2024 11:59
@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.

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.

AssertionError when converting openai clip's weight to hf with higher transformers version
3 participants