Visitar URL original
GraalPy doesn't work with spaCy NLP · Issue #450 · oracle/graalpython · GitHub
Skip to content

GraalPy doesn't work with spaCy NLP #450

Description

@kevintanhongann

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

GboX5l7bcAAPQK7

Activity

  1. fniephaus commented on Nov 6, 2024

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions