[ 
https://issues.apache.org/jira/browse/OPENNLP-1515?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17774499#comment-17774499
 ] 

ASF GitHub Bot commented on OPENNLP-1515:
-----------------------------------------

jzonthemtn commented on PR #551:
URL: https://github.com/apache/opennlp/pull/551#issuecomment-1759575099

   The `onnxruntime-gpu` dependency does not support OSX x64. The `onnxruntime` 
dependency supports Windows, Linux, and OSX x64. (There is not yet a runtime 
for Apple Silicon.)
   
   So, I'm proposing defaulting to `onnxruntime` to support more OS's out of 
the box in the short term. In the long term, I would like to find a way to have 
both dependencies and give the user control over which is used.




> Default to onnxruntime instead of onnxruntime-gpu
> -------------------------------------------------
>
>                 Key: OPENNLP-1515
>                 URL: https://issues.apache.org/jira/browse/OPENNLP-1515
>             Project: OpenNLP
>          Issue Type: Task
>          Components: Deep Learning
>            Reporter: Jeff Zemerick
>            Priority: Major
>
> The onnxruntime-gpu dependency is currently being included by opennlp-dl.
>     <dependency>
>       <groupId>com.microsoft.onnxruntime</groupId>
>       <!-- This dependency supports CPU and GPU -->
>       <artifactId>onnxruntime_gpu</artifactId>
>       <version>${onnxruntime.version}</version>
>     </dependency>
> The problem is, GPU support is only on Linux and Windows and not OSX. I think 
> it would be best to use the onnxruntime dependency instead.
> But we need to make OpenNLP able to use GPU easily.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to