Skip to content

Feature 0.7#58

Merged
Crivella merged 70 commits intomasterfrom
feature-0.7
Sep 20, 2025
Merged

Feature 0.7#58
Crivella merged 70 commits intomasterfrom
feature-0.7

Conversation

@Crivella
Copy link
Copy Markdown
Owner

@Crivella Crivella commented Sep 18, 2025

Breaking changes

Major Changes

  • dependencies updates:
    • python: support for >=3.10, <=3.11 extended to >=3.10 (will test 3.14 once it is out with all its prebuilt packages in PyPI)
    • CUDA: from 11.8 updated to 12.8 (allow using sm_120 GPUs like the RTX 5000 series)
    • torch: from 2.2.1 updated to 2.8.0
    • easyocr: from 1.7.1 updated to 1.7.2
    • paddleocr: from 2.8.1 updated to 3.2.0
      Different models and much ampler set of languages supported
  • Improved logging of the server using rich
  • Environment variables:
    • REMOVED:
      • AUTO_CREATE_LANGUAGES - Languages are now created once at first initialization if missing
        For 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 start
        Removed models will be deactivated, and present models will be updated/created.
    • ADDED:
      • OCT_LOGFILE - [true/false/path]. If true, a logfile named $OCT_BASE_DIR/ocr_translate.log will be created. If a path is provided, that will be used instead.
  • Logic of the run_server.py moved inside the package to improve testing and modularity (the script will appear much smaller in the release)
  • QoL improvements for manual plugins installations
    • If you want to try your own plugins or you want to manually install the supported ones (eg with modifications) you can now do so by installing them in the server
      environment.
    • The server will automatically pick up the plugin module name and add it to the DJANGO apps, and synchronize the models in the database at launch.
    • NOTE: packages coming from the managed plugins will take precedence over manually installed ones. This could cause package conflicts. Mix stuff at your own risk.

@Crivella Crivella marked this pull request as ready for review September 20, 2025 00:10
@Crivella Crivella added documentation Improvements or additions to documentation enhancement New feature or request dependencies Pull requests that update a dependency file labels Sep 20, 2025
@Crivella Crivella merged commit f79b34a into master Sep 20, 2025
4 checks passed
@Crivella Crivella deleted the feature-0.7 branch September 20, 2025 16:14
@Crivella Crivella mentioned this pull request Sep 20, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file documentation Improvements or additions to documentation enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant