You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@opennlp.apache.org by kr...@apache.org on 2026/10/11 22:40:39 UTC

(opennlp) branch feat/embeddings-timings-tests updated (5bcfe0595 -> 926e19243)

This is an automated email from the ASF dual-hosted git repository.

krickert pushed a change to branch feat/embeddings-timings-tests
in repository https://gitbox.apache.org/repos/asf/opennlp.git


 discard 5bcfe0595 GH-1471: Add a JMH benchmark for SentenceVectorsDL and keep the tensors off the heap
 discard dc68fd7e6 GH-1391: Cap the token positions of one SentenceVectorsDL.embedAll inference
 discard bfaf52b82 GH-1389, GH-1390: Let SentenceVectorsDL run on a GPU and fix the first CUDA request in a fresh JVM
     add 880b3640c GH-1389, GH-1390: Let SentenceVectorsDL run on a GPU and fix the first CUDA request in a fresh JVM
     add f2a2206ba GH-1391: Cap the token positions of one SentenceVectorsDL.embedAll inference
     add 926e19243 GH-1471: Add a JMH benchmark for SentenceVectorsDL and keep the tensors off the heap

This update added new revisions after undoing existing revisions.
That is to say, some revisions that were in the old version of the
branch are not in the new version.  This situation occurs
when a user --force pushes a change and generates a repository
containing something like this:

 * -- * -- B -- O -- O -- O   (5bcfe0595)
            \
             N -- N -- N   refs/heads/feat/embeddings-timings-tests (926e19243)

You should already have received notification emails for all of the O
revisions, and so the following emails describe only the N revisions
from the common base, B.

Any revisions marked "omit" are not gone; other references still
refer to them.  Any revisions marked "discard" are gone forever.

No new revisions were added by this update.

Summary of changes:
 opennlp-core/opennlp-ml/opennlp-dl-gpu/pom.xml     |   3 +-
 opennlp-core/opennlp-ml/opennlp-dl/BENCHMARKS.md   |  24 +----
 .../dl/vectors/SentenceVectorsDLBenchmark.java     |   5 +
 .../src/main/java/opennlp/dl/AbstractDL.java       |  34 ++++++-
 .../java/opennlp/dl/vectors/SentenceVectorsDL.java |  17 ++--
 .../opennlp/dl/AbstractDLColdStartCudaTest.java    |  26 ++---
 .../src/test/java/opennlp/dl/GpuRequestTest.java   |  59 +++++++++--
 .../src/test/java/opennlp/dl/LoadVocabTest.java    |  10 +-
 .../src/test/java/opennlp/dl/OnnxTestSupport.java  |  83 +++++++++++++++
 .../dl/vectors/OnnxTextEmbedderProviderTest.java   |  11 --
 .../vectors/SentenceVectorsDLBatchLimitTest.java   | 112 +++++++--------------
 .../dl/vectors/SentenceVectorsDLEmbedderTest.java  |  19 ++--
 .../SentenceVectorsDLInferenceOptionsTest.java     |  62 +++---------
 .../java/opennlp/dl/vectors/TinyVectorModels.java  |  79 ++++++++-------
 opennlp-docs/src/docbkx/machine-learning.xml       |  12 ++-
 15 files changed, 306 insertions(+), 250 deletions(-)
 create mode 100644 opennlp-core/opennlp-ml/opennlp-dl/src/test/java/opennlp/dl/OnnxTestSupport.java