Conversation
1b79c5a to
582c5b3
Compare
- Refactored code and tests ro reflect previous point
- use rich logging by default if available - allow loading list of manual plugins from file (both yaml or json)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Breaking changes
staka/fugumt-...models has been removed as it is not working with the newer dependencies.4.48.0/0.20.2as tokenizers does not support python 3.13 before https://github.com/huggingface/tokenizers/releases/tag/v0.20.2
Major Changes
python: support for>=3.10, <=3.11extended to>=3.10(will test3.14once it is out with all its prebuilt packages in PyPI)CUDA: from11.8updated to12.8(allow usingsm_120GPUs like the RTX 5000 series)torch: from2.2.1updated to2.8.0easyocr: from1.7.1updated to1.7.2paddleocr: from2.8.1updated to3.2.0Different models and much ampler set of languages supported
AUTO_CREATE_LANGUAGES- Languages are now created once at first initialization if missingFor now the languages have never changed across versions so it was never needed to recreate/updated them.
AUTOCREATE_MODELS- Models are now synchronized with the available entrypoints at every server startRemoved models will be deactivated, and present models will be updated/created.
OCT_LOGFILE-[true/false/path]. If true, a logfile named$OCT_BASE_DIR/ocr_translate.logwill be created. If a path is provided, that will be used instead.run_server.pymoved inside the package to improve testing and modularity (the script will appear much smaller in the release)environment.