Skip to content

fix(deps): update dependency ai.djl.huggingface:tokenizers to v0.38.0 - #36155

Open
renovate[bot] wants to merge 1 commit into
masterfrom
renovate/huggingface.vespa.version
Open

renovate[bot] wants to merge 1 commit into
masterfrom
renovate/huggingface.vespa.version

Conversation

@renovate

@renovate renovate Bot commented Mar 11, 2026

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Type Update Change OpenSSF
ai.djl.huggingface:tokenizers (source) compile minor 0.33.00.38.0 OpenSSF Scorecard

Warning

Some dependencies could not be looked up. Check the Dependency Dashboard for more information.


Release Notes

deepjavalibrary/djl (ai.djl.huggingface:tokenizers)

v0.38.0: DJL v0.38.0 Release

Compare Source

What's Changed

Full Changelog: deepjavalibrary/djl@v0.37.0...v0.38.0

v0.37.0: DJL v0.37.0 Release

Compare Source

This is the v0.37.0 release of DJL.

Changes

  • Bundled .java compilation and remote URL loading are now configurable, with tightened defaults (#​3875)
  • Bumped log4j to 2.26.0 (#​3877)
  • onnxruntime: allow sub-managers after NDManager.cap() (#​3870)
  • Docs: fixed a typo (#​3874)

Behavior changes

Two loading behaviors changed their defaults in #​3875. Both previous behaviors remain available, but from this release each has to be enabled explicitly:

Behavior Default To restore
Compile bundled .java sources at model load off DJL_COMPILE_JAVA=true or -Dai.djl.compile_java=true
Unrestricted remote URL loading off DJL_ALLOW_INSECURE_URL=true or -Dai.djl.allow_insecure_url=true

Utils.openUrl now limits remote fetches to public http(s) destinations, resolves redirects explicitly with a bounded hop count, and allows file: and jar: only where they denote a local read. Loading from local directories, s3://, gs://, public http(s) archives, the djl:// model zoo and Hugging Face is unchanged. See the PR description for the full list and the flags.

Known issues / limitations

  • A model whose translator is available only as a raw .java file under lib/classes/ will not have it compiled by default; an error-level log names the flag. Models shipping a precompiled .class or .jar, or supplying a translator programmatically, are unaffected.
  • Loading a model over http(s) from a host that resolves to a private address now fails by default. Set the flag above if you serve models from an internal mirror.

Contributors

Thank you to the following community members for contributing to this release:

Rohit Kumar Srivastava, Vaibhav Srivastava, dev_Hakaze

v0.36.0: DJL v0.36.0 Release

Compare Source

What's Changed

New Contributors

Full Changelog: deepjavalibrary/djl@v0.35.1...v0.36.0

v0.35.1: DJL v0.35.1 Release

Compare Source

What's Changed

New Contributors

Full Changelog: deepjavalibrary/djl@v0.35.0...v0.35.1

v0.35.0: DJL v0.35.0 Release

Compare Source

What's Changed

Enhancements

Bug Fixes

CI/CD

New Contributors

Full Changelog: deepjavalibrary/djl@v0.34.0...v0.35.0

v0.34.0: DJL v0.34.0 Release

Compare Source

Key Changes

Enhancements

Bug Fixes

Documentation

CI/CD

New Contributors

Full Changelog: deepjavalibrary/djl@v0.33.0...v0.34.0


Configuration

📅 Schedule: (UTC)

  • Branch creation
    • At any time (no schedule defined)
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@bjorncs

bjorncs commented Mar 11, 2026

Copy link
Copy Markdown
Contributor

Let's upgrade this before adding back #36071.

@hmusum hmusum left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fails to build with:

[ERROR] HuggingFaceTokenizerTest.bert_tokenizer:35 » NoClassDefFound Could not initialize class ai.djl.huggingface.tokenizers.jni.LibUtils

2026-03-11 09:37:31 CEST | [ERROR] HuggingFaceTokenizerTest.pads_to_max_length:109 » NoClassDefFound Could not initialize class ai.djl.huggingface.tokenizers.jni.LibUtils
2026-03-11 09:37:31 CEST | [ERROR] HuggingFaceTokenizerTest.provides_model_info:121 » NoClassDefFound Could not initialize class ai.djl.huggingface.tokenizers.jni.LibUtils
2026-03-11 09:37:31 CEST | [ERROR] HuggingFaceTokenizerTest.tokenizes_using_paraphrase_multilingual_mpnet_base_v2:52 » UnsatisfiedLink /root/.djl.ai/tokenizers/0.21.0-0.36.0-cpu-linux-aarch64/libtokenizers.so: /lib64/libm.so.6: version `GLIBC_2.29' not found (required by /root/.djl.ai/tokenizers/0.21.0-0.36.0-cpu-linux-aarch64/libtokenizers.so)
2026-03-11 09:37:31 CEST | [ERROR] HuggingFaceTokenizerTest.truncates_to_max_length:91 » NoClassDefFound Could not initialize class ai.djl.huggingface.tokenizers.jni.LibUtils

@bjorncs

bjorncs commented Mar 12, 2026

Copy link
Copy Markdown
Contributor

The build fails on AlmaLinux 8 because the DJL tokenizers v0.36.0 native library (libtokenizers.so) requires glibc 2.29, but AlmaLinux 8 ships glibc 2.28.

The only failing module is linguistics-components — all 5 test failures are in HuggingFaceTokenizerTest:

Test Error
tokenizes_using_paraphrase_multilingual_mpnet_base_v2 UnsatisfiedLinkError — root cause
bert_tokenizer NoClassDefFoundError — cascading
pads_to_max_length NoClassDefFoundError — cascading
provides_model_info NoClassDefFoundError — cascading
truncates_to_max_length NoClassDefFoundError — cascading

@bjorncs

bjorncs commented Mar 12, 2026

Copy link
Copy Markdown
Contributor

After discussing with @arnej27959 and @toregge: the native so library requires at least glibc 2.34, which will be available once we have upgraded to AlmaLinux 9.

@renovate renovate Bot changed the title Update dependency ai.djl.huggingface:tokenizers to v0.36.0 fix(deps): update dependency ai.djl.huggingface:tokenizers to v0.36.0 Mar 12, 2026
@renovate renovate Bot changed the title fix(deps): update dependency ai.djl.huggingface:tokenizers to v0.36.0 Update dependency ai.djl.huggingface:tokenizers to v0.36.0 Mar 12, 2026
@renovate renovate Bot changed the title Update dependency ai.djl.huggingface:tokenizers to v0.36.0 fix(deps): update dependency ai.djl.huggingface:tokenizers to v0.36.0 Mar 13, 2026
@renovate renovate Bot changed the title fix(deps): update dependency ai.djl.huggingface:tokenizers to v0.36.0 Update dependency ai.djl.huggingface:tokenizers to v0.36.0 Mar 13, 2026
@renovate renovate Bot changed the title Update dependency ai.djl.huggingface:tokenizers to v0.36.0 fix(deps): update dependency ai.djl.huggingface:tokenizers to v0.36.0 Mar 17, 2026
@renovate renovate Bot changed the title fix(deps): update dependency ai.djl.huggingface:tokenizers to v0.36.0 Update dependency ai.djl.huggingface:tokenizers to v0.36.0 Mar 18, 2026
@renovate renovate Bot changed the title Update dependency ai.djl.huggingface:tokenizers to v0.36.0 fix(deps): update dependency ai.djl.huggingface:tokenizers to v0.36.0 Mar 20, 2026
@renovate renovate Bot changed the title fix(deps): update dependency ai.djl.huggingface:tokenizers to v0.36.0 Update dependency ai.djl.huggingface:tokenizers to v0.36.0 Mar 24, 2026
@renovate renovate Bot changed the title Update dependency ai.djl.huggingface:tokenizers to v0.36.0 fix(deps): update dependency ai.djl.huggingface:tokenizers to v0.36.0 Mar 26, 2026
@renovate
renovate Bot force-pushed the renovate/huggingface.vespa.version branch from 64af4a3 to a5bf73e Compare April 1, 2026 16:19
@renovate renovate Bot changed the title fix(deps): update dependency ai.djl.huggingface:tokenizers to v0.36.0 Update dependency ai.djl.huggingface:tokenizers to v0.36.0 Apr 8, 2026
@renovate renovate Bot changed the title Update dependency ai.djl.huggingface:tokenizers to v0.36.0 fix(deps): update dependency ai.djl.huggingface:tokenizers to v0.36.0 Apr 17, 2026
@renovate renovate Bot changed the title fix(deps): update dependency ai.djl.huggingface:tokenizers to v0.36.0 Update dependency ai.djl.huggingface:tokenizers to v0.36.0 Apr 17, 2026
@renovate
renovate Bot force-pushed the renovate/huggingface.vespa.version branch from a5bf73e to 888b690 Compare May 14, 2026 15:19
@renovate renovate Bot changed the title Update dependency ai.djl.huggingface:tokenizers to v0.36.0 fix(deps): update dependency ai.djl.huggingface:tokenizers to v0.36.0 May 28, 2026
@renovate
renovate Bot force-pushed the renovate/huggingface.vespa.version branch from 888b690 to d9eaa4c Compare June 1, 2026 11:32
@renovate renovate Bot changed the title fix(deps): update dependency ai.djl.huggingface:tokenizers to v0.36.0 fix(deps): update huggingface.vespa.version to v0.36.0 Jun 2, 2026
@renovate
renovate Bot force-pushed the renovate/huggingface.vespa.version branch from d9eaa4c to 2805c2a Compare June 7, 2026 18:26
@renovate renovate Bot changed the title fix(deps): update huggingface.vespa.version to v0.36.0 fix(deps): update huggingface.vespa.version Jun 22, 2026
@renovate renovate Bot changed the title fix(deps): update huggingface.vespa.version fix(deps): update dependency ai.djl.huggingface:tokenizers to v0.36.0 Jun 25, 2026
@renovate
renovate Bot force-pushed the renovate/huggingface.vespa.version branch from 2805c2a to 8202ff0 Compare July 23, 2026 17:54
@renovate
renovate Bot force-pushed the renovate/huggingface.vespa.version branch 2 times, most recently from acee07f to 631a5d4 Compare September 8, 2026 02:19
@renovate renovate Bot changed the title fix(deps): update dependency ai.djl.huggingface:tokenizers to v0.36.0 fix(deps): update dependency ai.djl.huggingface:tokenizers to v0.37.0 Sep 8, 2026
@renovate
renovate Bot force-pushed the renovate/huggingface.vespa.version branch from 631a5d4 to 44a6502 Compare September 9, 2026 20:21
@renovate renovate Bot changed the title fix(deps): update dependency ai.djl.huggingface:tokenizers to v0.37.0 fix(deps): update dependency ai.djl.huggingface:tokenizers to v0.38.0 Sep 9, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants