-
Notifications
You must be signed in to change notification settings - Fork 823
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
The Conda package doesn't work on CentOS 7 and Ubuntu 18.04 #585
Comments
I face the same issue. |
I am facing the same issue. |
Yep, same issue here as well on CentOS 7.9 (used in my university's cluster) |
Same issue on Ubuntu 18.04.5 LTS. |
Same thing as @AmenRa |
Same issue. Had to uninstall |
As a workaround, I've installed the previous tokenizers version, and everything works fine now:
|
Same issue for me on Ubuntu 18.04. I just changed to pip installation, which seems to be working. |
use pip instead of conda:
|
This article explains how to fix it, if anybody wants to go ahead: https://kobzol.github.io/rust/ci/2021/05/07/building-rust-binaries-in-ci-that-work-with-older-glibc.html |
same issue here: huggingface/transformers#15062 |
Hi @brando90 do you mind creating a new issue with exactly what you are trying and what's failing and what you expect ? This issue and the linked one seem like two very different kind of issues. Cheers. |
… -----
Brando Miranda
On Oct 5, 2022, at 6:29 AM, Nicolas Patry ***@***.***> wrote:
Hi @brando90 <https://github.com/brando90> do you mind creating a new issue with exactly what you are trying and what's failing and what you expect ?
This issue and the linked one seem like two very different kind of issues.
Cheers.
—
Reply to this email directly, view it on GitHub <#585 (comment)>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/AAOE6LXPURNA7R3TZNRM5P3WBV7DNANCNFSM4VZOSHJQ>.
You are receiving this because you were mentioned.
|
Closing this |
@Narsil is this really fixed? When? How? Can't test it right now. |
import tokenizers
doesn't work on CentOS 7 (and RHEL 7), because it has glibc 2.17, while the Conda package (at least for Python 3.8) was compiled against a newer version (the error saysversion 'GLIBC_2.18' not found
).I believe CentOS and RHEL 7 are both still popular, though I can't back up this claim (I can't find a link). My university cluster uses it at least. And note version 7 is the latest CentOS version with long-term support.
It does work from PyPI's version, so I just use that one. However, it'd be good it worked from Conda. So it seems it's related to the glibc version specified by Conda, while the one provided by
ubuntu-latest
(Ubuntu 18.04 as of today, IIUC) seems to work fine. Conda docs say they do provide their own glibc version. Because there isn't such a libc package in Conda, they provide a solution via virtual packages. So it seems that all that's needed is to set an env var like:(note Rust dynamically links the compiled binary to the available glibc version at build time).
Could you take a look at it? Not sure how it can be tested w/o pushing a release.
Related issues (some people also mention CentOS 7):
Update: it's got a bit worse, as now it requires a newer GLIBC version:
It's not working for me on Ubuntu 18.04 (GLIBC 2.27).
What this article details may be the solution for it: Building Rust binaries in CI that work with older GLIBC
The text was updated successfully, but these errors were encountered: