-
Notifications
You must be signed in to change notification settings - Fork 124
Unable to use Docling with GraalPy #501
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
Comments
I've added a patch that fixes the |
Thank you. I'm running into a different issue now - that seems to occur earlier than the previous error. I assume this worked before - do you have any idea about why this has started failing?
|
It seems that it's because numpy was updated and older pythran pulled in by older scipy doesn't work with it. I'll need to remove the pinning of the older scipy version. Can you try to force a newer scipy version? |
Thanks for the advice - I tried setting scipy to 1.15.3, but unfortunately I ran into some other issue with that:
|
Right, sorry, that bug is fixed on master, but not in the release. I'll try to add a workaround to the patch branch, gimme a few days |
I updated the numpy patch. You might need to remove a previously cached numpy wheel by running |
Sorry about the delay in getting back to you. I finally managed to solve an issue with OpenBLAS after updating to RHEL 10... I got past the scipy dependency, but it failed on some other dependency ("no module named puccinialin"). |
That's odd, pip should normally cache the wheels that it built successfully, but maybe there's something in the maven plugin preventing that. I'd recommend that you download graalpy native standalone, create a venv and first try to install the packages in that venv. There you can install things one by one without having to start from the beginning if something fails. The maven build should then pick up the cached wheels from the successful builds you did in the venv. |
Thanks for the suggestion - I'll give that a go. Putting the puccinialin dependency in the pom didn't fix it.
|
It seems that |
Yeah - some more helpful error message wouldn't hurt in that case. |
Uh oh!
There was an error while loading. Please reload this page.
I'm unable to get Docling 2.31.0 to work with GrallPy 24.2.1.
I know Docling is a fairly complex project, so maybe it's not feasible to try to use it on GraalPy? It gets as far as trying to install the scikit-image dependency, where it fails with an AssertionError.
This was run on a RHEL 9.5 system with Maven 3.9.9 and OpenJDK 24.
Is there anything else I can do to investigate further?
The full build log is below.
The text was updated successfully, but these errors were encountered: