-
Notifications
You must be signed in to change notification settings - Fork 844
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
Python 3.13 support #136
Comments
@dolfim-ibm I think we need to follow this PR: pytorch/pytorch#130249 for docling-ibm-models |
any updates on this? |
we are waiting for torch to support python 3.13. They started with linux x86, but all other platforms and arch are missing. |
Seems that nightlies are working on OSX now with Python 3.13, however Docling is requiring <2.5.0 and the expected fix will be delivered in 2.5.1, can we consider extending the upper version range by a major or even removing it? |
Great, thanks for checking that! Where do you see the <2.5.0 dependency? It should be something more flexible like $ poetry show torch
required by
- docling-ibm-models >=2.2.2,<3.0.0
- easyocr *
- sentence-transformers >=1.11.0 |
You are right, actually after installing nightly successfully on 3.13 I'm faced with yet another conflict when trying to install Docling:
It looks like untangling this one is not easy as trying to manually install these I run into various other issues with |
Interesting. Something we should double check are all the numpy requirements, because python3.13 is supported only by numpt >=2.1.0. |
Nicely done 🎉 Props for the swift update! |
In this issue we keep track of the Python 3.13 support in Docling and its components. In most cases, we have to wait for stating a complete support, until the main dependencies will be distributed for 3.13 as well.
Docling components
🟢 The package is available and fully working
🟠 The package relies on dependencies which are not available on Python 3.13
🔴 The package is not working or available for Python 3.13
(torch)
DS4SD/docling-parse#39DS4SD/deepsearch-glm#82Dependencies
Workaround
Full support for Python 3.13 is currently waiting for pytorch.
At the moment, no release has full support, but nightly builds are available. Docling was tested on Python 3.13 with the following steps:
Note: we are disabling OCR since easyocr and the nightly torch builds have some conflicts.
Cc @cau-git @vagenas @PeterStaar-IBM
The text was updated successfully, but these errors were encountered: