Skip to content
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
6 changes: 3 additions & 3 deletions GloVeEmbeddings/gradle/libs.versions.toml
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
[versions]
# Must match the Kotlin version SKaiNET was built with: SKaiNET 0.40.1 ships
# klibs compiled with Kotlin 2.4.10, and an older compiler cannot read them
# Keep in step with the Kotlin version SKaiNET is built with: SKaiNET 0.61.0 ships
# klibs compiled with Kotlin 2.4.20 (readable by 2.4.10); an older compiler line cannot read them
# (JS/wasm fail with "Symbol for Any not found").
kotlin = "2.4.10"
# SKaiNET BOM version — published to Maven Central. The BOM pins every
# sk.ainet.core:* artifact so individual libraries are declared without versions.
skainet = "0.40.1"
skainet = "0.61.0"

# Compose Multiplatform + Android. Must match the shared :skainet-ui design
# system (included build) exactly: a mismatched Compose pulls two Skiko
Expand Down
2 changes: 1 addition & 1 deletion GloVeEmbeddings/settings.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ pluginManagement {

dependencyResolutionManagement {
repositories {
// Resolve everything from Maven Central (SKaiNET 0.40.1 is published there).
// Resolve everything from Maven Central (SKaiNET 0.61.0 is published there).
// No mavenLocal: an unrestricted mavenLocal is consulted first and can contain
// a partial kotlin-stdlib (JVM jar + POM, no klib variants) that shadows
// Central's variant-aware metadata, breaking JS/wasm with "Missing stdlib class".
Expand Down
2 changes: 1 addition & 1 deletion IrisDemo/gradle/libs.versions.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[versions]
skainet = "0.40.1"
skainet = "0.61.0"
kotlin = "2.4.10"
kotlinx-coroutines = "1.10.2"
kotlinx-io = "0.8.2"
Expand Down
10 changes: 5 additions & 5 deletions MNISTDemo/cli/src/test/kotlin/sk/ainet/cli/MnistAccuracyTest.kt
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import sk.ainet.lang.model.classifyImage
import sk.ainet.lang.model.classifyImageCNN
import sk.ainet.lang.model.createMNISTMLP
import sk.ainet.lang.model.createMNISTCNN
import sk.ainet.lang.model.loadGgufWeights
import sk.ainet.lang.model.loadWeightsFromBytes
import java.io.DataInputStream
import java.io.File
import java.io.FileInputStream
Expand Down Expand Up @@ -63,7 +63,7 @@ class MnistAccuracyTest {
// Create model and load GGUF weights directly
val model = createMNISTMLP()
val modelBytes = modelFile.readBytes()
loadGgufWeights(model, modelBytes)
loadWeightsFromBytes(model, modelBytes)
println("Model loaded from ${modelFile.absolutePath}: ${modelBytes.size} bytes")

// Classify all test images
Expand Down Expand Up @@ -106,7 +106,7 @@ class MnistAccuracyTest {
// Create model and load GGUF weights
val model = createMNISTMLP()
val modelBytes = modelFile.readBytes()
loadGgufWeights(model, modelBytes)
loadWeightsFromBytes(model, modelBytes)

var correct = 0
for (i in images.indices) {
Expand Down Expand Up @@ -142,7 +142,7 @@ class MnistAccuracyTest {

// Load GGUF weights
val modelBytes = modelFile.readBytes()
loadGgufWeights(model, modelBytes)
loadWeightsFromBytes(model, modelBytes)
println("CNN model loaded from ${modelFile.absolutePath}: ${modelBytes.size} bytes")

// Classify all test images using CNN
Expand Down Expand Up @@ -185,7 +185,7 @@ class MnistAccuracyTest {
// Create CNN model and load GGUF weights
val model = createMNISTCNN()
val modelBytes = modelFile.readBytes()
loadGgufWeights(model, modelBytes)
loadWeightsFromBytes(model, modelBytes)

var correct = 0
for (i in images.indices) {
Expand Down
2 changes: 1 addition & 1 deletion MNISTDemo/gradle/libs.versions.toml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ kotlin = "2.4.10"
kotlinx-coroutines = "1.10.2"
ktor = "3.1.3"
logback = "1.5.18"
skainet = "0.40.1"
skainet = "0.61.0"
kotlinxIo = "0.8.2"
ktorClientCore = "3.3.3"
ktorClientPlugins = "3.1.1"
Expand Down
2 changes: 1 addition & 1 deletion MnistJavaDemo/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ A CLI MNIST digit detector written in Java 21, demonstrating JVM interoperabilit
## Prerequisites

- **Java 21+** (with preview features)
- **SKaiNET 0.40.1** -- resolved directly from Maven Central, no local publish needed
- **SKaiNET 0.61.0** -- resolved directly from Maven Central, no local publish needed
- **GGUF model file** -- a trained MNIST CNN model in GGUF format

## Usage
Expand Down
2 changes: 1 addition & 1 deletion MnistJavaDemo/gradle/libs.versions.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[versions]
skainet = "0.40.1"
skainet = "0.61.0"
kotlin = "2.4.10"
kotlinx-coroutines = "1.10.2"
kotlinx-io = "0.8.2"
Expand Down
5 changes: 5 additions & 0 deletions SinusApproximator/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,11 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [0.60.0] - 2026-10-16

### Changed
- Update to SKaiNET 0.60.0 from Maven Central (Kotlin stays at 2.4.10; the 0.60.0 klibs are built with 2.4.20 and load fine).

## [0.40.1] - 2026-08-12

### Changed
Expand Down
2 changes: 1 addition & 1 deletion SinusApproximator/gradle/libs.versions.toml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ kotlin = "2.4.10"
kotlinx-coroutines = "1.10.2"
ktor = "3.1.3"
logback = "1.5.18"
skainet = "0.40.1"
skainet = "0.61.0"
kotlinxIo = "0.8.2"

[libraries]
Expand Down
6 changes: 3 additions & 3 deletions TDALab/gradle/libs.versions.toml
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
[versions]
# Must match the Kotlin version SKaiNET was built with: SKaiNET 0.40.1 ships
# klibs compiled with Kotlin 2.4.10, and an older compiler cannot read them
# Keep in step with the Kotlin version SKaiNET is built with: SKaiNET 0.61.0 ships
# klibs compiled with Kotlin 2.4.20 (readable by 2.4.10); an older compiler line cannot read them
# (JS/wasm fail with "Symbol for Any not found").
kotlin = "2.4.10"
# SKaiNET BOM version — published to Maven Central. The BOM pins every
# sk.ainet.core:* artifact so individual libraries are declared without versions.
skainet = "0.40.1"
skainet = "0.61.0"

# Compose Multiplatform + Android. Must match the shared :skainet-ui design
# system (included build) exactly: a mismatched Compose pulls two Skiko
Expand Down
2 changes: 1 addition & 1 deletion TDALab/settings.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ pluginManagement {

dependencyResolutionManagement {
repositories {
// Resolve everything from Maven Central (SKaiNET 0.40.1 is published there).
// Resolve everything from Maven Central (SKaiNET 0.61.0 is published there).
// No mavenLocal: an unrestricted mavenLocal is consulted first and can contain
// a partial kotlin-stdlib (JVM jar + POM, no klib variants) that shadows
// Central's variant-aware metadata, breaking JS/wasm with "Missing stdlib class".
Expand Down
6 changes: 3 additions & 3 deletions TinyTransformer/gradle/libs.versions.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,13 @@ composeHotReload = "1.0.0"
# render on macOS/Metal. AGP must also match skainet-ui's — Gradle composite
# builds reject mixed AGP versions.
composeMultiplatform = "1.11.1"
# Must match the Kotlin version SKaiNET was built with: SKaiNET 0.40.1 ships
# klibs compiled with Kotlin 2.4.10, and an older compiler cannot read them.
# Keep in step with the Kotlin version SKaiNET is built with: SKaiNET 0.61.0 ships
# klibs compiled with Kotlin 2.4.20 (readable by 2.4.10); an older compiler line cannot read them.
kotlin = "2.4.10"
kotlinx-coroutines = "1.10.2"
# SKaiNET BOM version — published to Maven Central. The BOM pins every
# sk.ainet.core:* artifact so individual libraries are declared without versions.
skainet = "0.40.1"
skainet = "0.61.0"

[libraries]
kotlin-test = { module = "org.jetbrains.kotlin:kotlin-test", version.ref = "kotlin" }
Expand Down