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 pyo3 smd v0.21 #1574

Merged
merged 1 commit into from
Jul 20, 2024
Merged

Conversation

EricLBuehler
Copy link
Member

@EricLBuehler EricLBuehler commented Jul 20, 2024

This uses a fork of pyo3_special_method_derive for pyo3 0.21 as a workaround until PyO3/rust-numpy#435 is merged and we can use 0.22.

Besides updating the deps to use 0.21, I removed a manual impl of __str__ and __repr__. This still doesn't compile as there are some errors (not related to the changes here) which I don't want to try to fix given my lack of experience in the codebase!

For #1542.

@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
Collaborator

@ArthurZucker ArthurZucker left a comment

Choose a reason for hiding this comment

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

Nice thanks!!

@ArthurZucker ArthurZucker merged commit 104fe0c into huggingface:add-display Jul 20, 2024
7 of 12 checks passed
@EricLBuehler EricLBuehler deleted the pyo3_smd_0.21 branch July 20, 2024 08:46
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.

3 participants