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

GraalPy doesn't work with spaCy NLP #450

Open
kevintanhongann opened this issue Nov 6, 2024 · 1 comment
Open

GraalPy doesn't work with spaCy NLP #450

kevintanhongann opened this issue Nov 6, 2024 · 1 comment

Comments

@kevintanhongann
Copy link

GraalPy doesn't work with spaCy libraries because spaCy uses native extensions. Python binary wheels don't exist for spaCy yet.

GboX5l7bcAAPQK7

@fniephaus
Copy link
Member

Thanks for reporting this, @kevintanhongann.

spaCy not only uses native extensions itself, it also depends on numpy and numerous other Python packages that also use native extensions. Building all of this from source can easily take over an hour on a standard developer machine, which probably explains why the build process is not done on your machine after 12min.

An early experiment on our end shows that spaCy can be built from source for GraalPy, and that a bunch of tests are passing already. However, there are also some segfaults that need to be addressed before it makes sense to look into distributing binary wheels for all of this.

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

No branches or pull requests

2 participants