This is an automated email from the ASF dual-hosted git repository.
krickert pushed a change to branch feat/GH-1392-embed-padding
in repository https://gitbox.apache.org/repos/asf/opennlp.git
omit cc4df6ce1 GH-1392: Add padding strategies for
SentenceVectorsDL.embedAll and pad on a GPU by default
omit dc68fd7e6 GH-1391: Cap the token positions of one
SentenceVectorsDL.embedAll inference
omit 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 3d639ac51 GH-1392: Add padding strategies for
SentenceVectorsDL.embedAll and pad on a GPU by default
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 (cc4df6ce1)
\
N -- N -- N refs/heads/feat/GH-1392-embed-padding (3d639ac51)
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 +-
.../src/main/java/opennlp/dl/AbstractDL.java | 34 ++++++-
.../java/opennlp/dl/vectors/SentenceVectorsDL.java | 27 +++--
.../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 | 42 +++-----
.../SentenceVectorsDLInferenceOptionsTest.java | 64 +++---------
.../vectors/SentenceVectorsDLPaddingEdgesTest.java | 30 ++----
.../java/opennlp/dl/vectors/TinyVectorModels.java | 107 +++++++++++++-------
opennlp-docs/src/docbkx/machine-learning.xml | 12 ++-
14 files changed, 345 insertions(+), 275 deletions(-)
create mode 100644
opennlp-core/opennlp-ml/opennlp-dl/src/test/java/opennlp/dl/OnnxTestSupport.java