Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add openvino GPU dependency #14309

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 4 additions & 3 deletions build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -181,14 +181,15 @@ val onnxDependencies: Seq[sbt.ModuleID] =
Seq(onnxCPU)

val openVinoDependencies: Seq[sbt.ModuleID] =
// if (is_gpu.equals("true"))
// Seq(openVinoGPU)
if (is_gpu.equals("true"))
Seq(openVinoGPU)
else
// else if (is_silicon.equals("true"))
// Seq(openVinoCPU)
// else if (is_aarch64.equals("true"))
// Seq(openVinoCPU)
// else
Seq(openVinoCPU)
Seq(openVinoCPU)

lazy val mavenProps = settingKey[Unit]("workaround for Maven properties")

Expand Down
3 changes: 2 additions & 1 deletion project/Dependencies.scala
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,8 @@ object Dependencies {
val onnxGPU = "com.microsoft.onnxruntime" % "onnxruntime_gpu" % onnxRuntimeVersion

val openVinoRuntimeVersion = "0.1.0-rc1"
val openVinoCPU = "com.johnsnowlabs.nlp" % "jsl-openvino-cpu_2.12" % openVinoRuntimeVersion
val openVinoCPU = "com.johnsnowlabs.nlp" %% "jsl-openvino-cpu" % openVinoRuntimeVersion
val openVinoGPU = "com.johnsnowlabs.nlp" %% "jsl-openvino-gpu" % openVinoRuntimeVersion

val gcpStorageVersion = "2.20.1"
val gcpStorage = "com.google.cloud" % "google-cloud-storage" % gcpStorageVersion
Expand Down
Loading