Skip to content

chore(samples): SKaiNET 0.61.0 for the seven engine-only samples - #39

Merged
michalharakal merged 3 commits into
developfrom
chore/samples-skainet-0.60.0
Oct 17, 2026
Merged

michalharakal merged 3 commits into
developfrom
chore/samples-skainet-0.60.0

Conversation

@michalharakal

@michalharakal michalharakal commented Oct 16, 2026 •

Copy link
Copy Markdown
Contributor

Moves the seven samples that depend only on the engine from SKaiNET 0.40.1 to 0.61.0: IrisDemo, MnistJavaDemo, TinyTransformer, SinusApproximator, GloVeEmbeddings, TDALab and MNISTDemo. Catalog pins, the version comments, the MnistJavaDemo README line and the SinusApproximator changelog are updated; no source changes were needed.

Kotlin stays at 2.4.10. SKaiNET 0.61.0 is built with Kotlin 2.4.20, and the 2.4.10 compiler reads those klibs on every target exercised below (the SemanticEmojiFilter wasm build on 0.61.0 in #38 showed the same).

Second commit: the MNISTDemo CLI accuracy test still called loadGgufWeights, which was renamed to loadWeightsFromBytes in the shared module some time ago, so :cli:test did not compile on develop either. Renamed.

Verified against Maven Central (JVM tests, desktop compile, wasm compile per sample):

Sample JVM tests desktop wasm
IrisDemo compiles, no tests n/a n/a
MnistJavaDemo 15 n/a n/a
TinyTransformer 10 ok ok
SinusApproximator 1 ok ok
GloVeEmbeddings 19 ok ok
TDALab 16 ok ok
MNISTDemo shared 2, cli 26 of 28 ok ok

The two failing MNISTDemo CLI tests are the CNN accuracy tests, which only run when a local mnist_cnn.gguf is present. They fail identically on 0.40.1: createMNISTCNN() builds dense(10, "out") after flatten() with zero input features (out.weight is [10 x 0]), so the weight copy throws before any inference. Pre-existing, left for a follow-up.

KernelRace and KllamaDemo are not part of this change: they need source changes for the transformers 0.61.0 loader API (QuantPolicy is gone, WeightForm and the provider constructors replace it) and follow in their own PRs.

Pins and comments only. Verified locally: IrisDemo and MnistJavaDemo build; TinyTransformer,
SinusApproximator, GloVeEmbeddings, TDALab and MNISTDemo run their jvmTest, desktop and wasm
compile tasks (MNISTDemo also the cli compile) against 0.61.0 from Maven Central.
@michalharakal michalharakal changed the title chore(samples): SKaiNET 0.60.0 for the seven engine-only samples chore(samples): SKaiNET 0.61.0 for the seven engine-only samples Oct 17, 2026
@michalharakal
michalharakal merged commit fe35747 into develop Oct 17, 2026
@michalharakal
michalharakal deleted the chore/samples-skainet-0.60.0 branch October 17, 2026 11:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant