mawiesne commented on code in PR #1462:
URL: https://github.com/apache/opennlp/pull/1462#discussion_r4283240855


##########
opennlp-docs/src/docbkx/machine-learning.xml:
##########
@@ -183,5 +183,26 @@ try (TextEmbedder embedder = 
providers.select(spec).create(spec)) {
                        has no provider until another one is installed. 
Existing <code>SentenceVectorsDL</code>
                        constructors remain available.
                </para>
+               <para>
+                       To compute the vectors on a GPU, depend on 
<code>opennlp-dl-gpu</code> in place of
+                       <code>opennlp-dl</code> and pass 
<code>InferenceOptions</code> to
+                       <code>SentenceVectorsDL</code>. 
<code>opennlp-dl-gpu</code> supports linux-x64 and

Review Comment:
   Thx for all those details and for testing it on real HW on different 
platforms. IMHO we should clearly state it in the docs, maybe on the website, 
once the 3.0.0 release is out - separate sub-page for that, however.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to