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

Bump spm_precompiled to 0.1.3 #1571

Merged
merged 2 commits into from
Jul 31, 2024
Merged

Bump spm_precompiled to 0.1.3 #1571

merged 2 commits into from
Jul 31, 2024

Conversation

MikeIvanichev
Copy link
Contributor

@MikeIvanichev MikeIvanichev commented Jul 16, 2024

As it stands now using spm_precompiled < 0.1.3 will result in the build of tokenizers failing.
While by default cargo will pick the newest available version for all dependencies, if a user has not run cargo update in a while they can still have older versions in their lock file.

This error can be reproduced by running rustup run nightly cargo update -Zminimal-versions && cargo --locked check, creating a lock file with minimal versions of all dependencies allowed by Cargo.toml.

It may also be a good idea to add such a check to the CI, if you think this would be a valuable addition, let me know, and I'll be happy to do it.

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

@MikeIvanichev
Copy link
Contributor Author

Ant chance the Node / check is a spurious failure, or unrelated to this pr?
Dont have much experiance with NodeJs.

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.

LGTM but I have no idea why node is failing either!

@ArthurZucker
Copy link
Collaborator

Could you rebase on main? If it keeps failing it means it's probably incompatible

@MikeIvanichev
Copy link
Contributor Author

Rebased

@Narsil Narsil merged commit aface7a into huggingface:main Jul 31, 2024
12 checks passed
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