Skip to content

Commit 94ce26d

Browse files
committed
Restore llama and openvino dependencies
1 parent fa0547b commit 94ce26d

File tree

2 files changed

+23
-23
lines changed

2 files changed

+23
-23
lines changed

build.sbt

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -193,26 +193,26 @@ val onnxDependencies: Seq[sbt.ModuleID] =
193193
else
194194
Seq(onnxCPU)
195195

196-
val llamaCppDependencies = Seq.empty
197-
// if (is_gpu.equals("true"))
198-
// Seq(llamaCppGPU)
196+
val llamaCppDependencies =
197+
if (is_gpu.equals("true"))
198+
Seq(llamaCppGPU)
199+
else if (is_silicon.equals("true"))
200+
Seq(llamaCppSilicon)
201+
else if (is_aarch64.equals("true"))
202+
Seq(llamaCppAarch64)
203+
else
204+
Seq(llamaCppCPU)
205+
206+
val openVinoDependencies: Seq[sbt.ModuleID] =
207+
if (is_gpu.equals("true"))
208+
Seq(openVinoGPU)
209+
else
199210
// else if (is_silicon.equals("true"))
200-
// Seq(llamaCppSilicon)
211+
// Seq(openVinoCPU)
201212
// else if (is_aarch64.equals("true"))
202-
// Seq(llamaCppAarch64)
203-
// else
204-
// Seq(llamaCppCPU)
205-
206-
val openVinoDependencies: Seq[sbt.ModuleID] = Seq.empty
207-
// if (is_gpu.equals("true"))
208-
// Seq(openVinoGPU)
209-
// else
210-
//// else if (is_silicon.equals("true"))
211-
//// Seq(openVinoCPU)
212-
//// else if (is_aarch64.equals("true"))
213-
//// Seq(openVinoCPU)
214-
//// else
215213
// Seq(openVinoCPU)
214+
// else
215+
Seq(openVinoCPU)
216216

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

project/Dependencies.scala

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -117,8 +117,8 @@ object Dependencies {
117117
val onnxGPU = "com.microsoft.onnxruntime" % "onnxruntime_gpu" % onnxRuntimeVersion
118118

119119
val openVinoRuntimeVersion = "0.1.0"
120-
val openVinoCPU = "com.johnsnowlabs.nlp" %% "jsl-openvino-cpu" % openVinoRuntimeVersion
121-
val openVinoGPU = "com.johnsnowlabs.nlp" %% "jsl-openvino-gpu" % openVinoRuntimeVersion
120+
val openVinoCPU = "com.johnsnowlabs.nlp" % "jsl-openvino-cpu_2.12" % openVinoRuntimeVersion
121+
val openVinoGPU = "com.johnsnowlabs.nlp" % "jsl-openvino-gpu_2.12" % openVinoRuntimeVersion
122122

123123
val gcpStorageVersion = "2.20.1"
124124
val gcpStorage = "com.google.cloud" % "google-cloud-storage" % gcpStorageVersion
@@ -128,10 +128,10 @@ object Dependencies {
128128
val azureStorage = "com.azure" % "azure-storage-blob" % azureStorageVersion % Provided
129129

130130
val llamaCppVersion = "0.1.4"
131-
val llamaCppCPU = "com.johnsnowlabs.nlp" %% "jsl-llamacpp-cpu" % llamaCppVersion
132-
val llamaCppGPU = "com.johnsnowlabs.nlp" %% "jsl-llamacpp-gpu" % llamaCppVersion
133-
val llamaCppSilicon = "com.johnsnowlabs.nlp" %% "jsl-llamacpp-silicon" % llamaCppVersion
134-
val llamaCppAarch64 = "com.johnsnowlabs.nlp" %% "jsl-llamacpp-aarch64" % llamaCppVersion
131+
val llamaCppCPU = "com.johnsnowlabs.nlp" % "jsl-llamacpp-cpu_2.12" % llamaCppVersion
132+
val llamaCppGPU = "com.johnsnowlabs.nlp" % "jsl-llamacpp-gpu_2.12" % llamaCppVersion
133+
val llamaCppSilicon = "com.johnsnowlabs.nlp" % "jsl-llamacpp-silicon_2.12" % llamaCppVersion
134+
val llamaCppAarch64 = "com.johnsnowlabs.nlp" % "jsl-llamacpp-aarch64_2.12" % llamaCppVersion
135135

136136
val jsoupVersion = "1.18.2"
137137
val jsoup = "org.jsoup" % "jsoup" % jsoupVersion

0 commit comments

Comments
 (0)