-
Notifications
You must be signed in to change notification settings - Fork 17
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
update 2023-03-16 #356
update 2023-03-16 #356
Conversation
CI fails but that might be due to the test being built based on the I'm building the images locally now and if the build succeeds, will push the non-cuda images manually. Not ideal but since I will be AFK for a few days and this is a substantial update, I want to update what I can today. |
oops, that was not enough:
|
Damn. It's even worse. The above requirement comes from PyPI TF 1.15 (only Py36 and Py37). But on Nvidia TF 1.15 (only Py37 and Py38) we have:
But |
OK, so, build is still running for medium and maximum, if they finish successfully, I'll push them tomorrow morning. minimum is updated. |
and of course they started failing as soon as I wrote this :/ |
That turned out not true. There's a window of |
The problem is that here in ocrd_all, numpy does get updated to 1.24 by other modules, which have no restriction on its version and therefore indiscriminately pull the newest version. For example via shapely:
So again, this is pip playing dumb. Not sure how to fix this, except with our typical posterior workaround: Line 615 in d8830fb
|
Not sure if this is new:
Dinglehopper was installed with |
@mikegerber This is caused by qurator-spk/dinglehopper#76. To get it working again, I have to revert both qurator-spk/dinglehopper@b4ac24a and qurator-spk/dinglehopper@833efa3. Note that the documentation explicitly warns that every package in the namespace must follow the (same) convention. (BTW, eynollah still uses the pkg_resources style namespace pkg.) |
Note: since we are now on Py38, we also require
Also, numpy has to be held at <1.24 not only for h5py and TF, but various usage in our own code (ocrd_cis, ocrd_anybaseocr, ocrd_segment). Adapting to the 1.21 type deprecations will be a lot of work, and we must get on with it soon. I wonder where would be the best place to do that (core requirements, or in a make or docker rule, or in ocrd_all)? As for models trained with ocrd_segment, cor-asv-ann and ocrd_keraslm (all HDF5): none of these work anymore, everything must be converted to SavedFormat first (which I have not even begun working on). It would really help if we had something for #112. I don't think Quiver achieves much coverage among processors and models currently... Overall I must say the current release sprint has been the worst of the worst. The move to Python 3.8 / Ubuntu 20 was premature IMO. It should have been tested independently, as I have warned 2yrs ago. By forcing this, we mixed all problems into one big maze:
|
This is why I called this CAJ (computer-aided Jenga)... |
OK, now with cleaned up commit history, discussion is in #355