Skip to content

Commit

Permalink
Merge pull request #208 from JetBrains-Research/update-primitives
Browse files Browse the repository at this point in the history
Update primitives with correct licenses
  • Loading branch information
cupertank authored Oct 30, 2024
2 parents 83a4a70 + d447799 commit 4c8aa67
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 15 deletions.
24 changes: 12 additions & 12 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ it is highly recommended to use KInference TensorFlow.js backend instead for mor
KInference Core dependency coordinates:
```kotlin
dependencies {
api("io.kinference", "inference-core", "0.2.25")
api("io.kinference", "inference-core", "0.2.26")
}
```

Expand All @@ -67,7 +67,7 @@ This backend is recommended for JavaScript projects.
TensorFlow.js backend dependency coordinates:
```kotlin
dependencies {
api("io.kinference", "inference-tfjs", "0.2.25")
api("io.kinference", "inference-tfjs", "0.2.26")
}
```

Expand All @@ -81,14 +81,14 @@ To check on the system requirements, visit the following [link](https://onnxrunt
ONNXRuntime CPU backend dependency coordinates:
```kotlin
dependencies {
api("io.kinference", "inference-ort", "0.2.25")
api("io.kinference", "inference-ort", "0.2.26")
}
```

ONNXRuntime GPU backend dependency coordinates:
```kotlin
dependencies {
api("io.kinference", "inference-ort-gpu", "0.2.25")
api("io.kinference", "inference-ort-gpu", "0.2.26")
}
```

Expand All @@ -104,7 +104,7 @@ Array adapter for the [kmath](https://github.com/SciProgCentre/kmath) library th
Dependency coordinates:
```kotlin
dependencies {
api("io.kinference", "adapter-kmath-{backend_name}", "0.2.25")
api("io.kinference", "adapter-kmath-{backend_name}", "0.2.26")
}
```

Expand All @@ -114,12 +114,12 @@ Array adapter for the [multik](https://github.com/Kotlin/multik) library that wo
Dependency coordinates:
```kotlin
dependencies {
api("io.kinference", "adapter-multik-{backend_name}", "0.2.25")
api("io.kinference", "adapter-multik-{backend_name}", "0.2.26")
}
```

## Getting started
Let us now walk through how to get started with KInference. The latest version of KInference is *0.2.25*
Let us now walk through how to get started with KInference. The latest version of KInference is *0.2.26*

### Setup dependencies repository

Expand All @@ -142,7 +142,7 @@ To enable the backend, you can add the chosen KInference runtime as a dependency

```kotlin
dependencies {
api("io.kinference", "inference-core", "0.2.25")
api("io.kinference", "inference-core", "0.2.26")
}
```

Expand All @@ -160,20 +160,20 @@ kotlin {
sourceSets {
val commonMain by getting {
dependencies {
api("io.kinference:inference-api:0.2.25")
api("io.kinference:ndarray-api:0.2.25")
api("io.kinference:inference-api:0.2.26")
api("io.kinference:ndarray-api:0.2.26")
}
}

val jvmMain by getting {
dependencies {
api("io.kinference:inference-core:0.2.25")
api("io.kinference:inference-core:0.2.26")
}
}

val jsMain by getting {
dependencies {
api("io.kinference:inference-tfjs:0.2.25")
api("io.kinference:inference-tfjs:0.2.26")
}
}
}
Expand Down
2 changes: 1 addition & 1 deletion build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import org.jetbrains.kotlin.gradle.tasks.KotlinCompilationTask
import org.jetbrains.kotlin.utils.addToStdlib.applyIf

group = "io.kinference"
version = "0.2.25"
version = "0.2.26"

plugins {
alias(libs.plugins.kotlin.multiplatform) apply false
Expand Down
6 changes: 4 additions & 2 deletions gradle/libs.versions.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,19 +13,21 @@ slf4j = "2.0.9"
wire = "4.9.3"
fastutil = "8.5.14"

primitives = "2.0.0-1"

# JS Dependencies
loglevel = "1.8.1"
tfjs = "4.14.0"

[plugins]
kinference-primitives = { id = "io.kinference.primitives", version.ref = "kotlin" }
kinference-primitives = { id = "io.kinference.primitives", version.ref = "primitives" }
kotlin-atomicfu = { id = "org.jetbrains.kotlin.plugin.atomicfu", version.ref = "kotlin" }
kotlin-multiplatform = { id = "org.jetbrains.kotlin.multiplatform" }

[libraries]
apache-commons-math4-core = { module = "org.apache.commons:commons-math4-core", version.ref = "apache-commons" }
aws-s3 = { module = "com.amazonaws:aws-java-sdk-s3", version.ref = "aws" }
kinference-primitives-annotations = { module = "io.kinference.primitives:primitives-annotations", version.ref = "kotlin" }
kinference-primitives-annotations = { module = "io.kinference.primitives:primitives-annotations", version.ref = "primitives" }
kmath-core = { module = "space.kscience:kmath-core", version.ref = "kmath" }
kotlin-gradle-plugin = { module = "org.jetbrains.kotlin:kotlin-gradle-plugin", version.ref = "kotlin" }
kotlinx-atomicfu = { module = "org.jetbrains.kotlinx:atomicfu", version.ref = "kotlin-atomicfu" }
Expand Down

0 comments on commit 4c8aa67

Please sign in to comment.