Skip to content

chore: SKaiNET 0.62.2 for all samples - #51

Merged
michalharakal merged 2 commits into
developfrom
chore/engine-0.62.2
Oct 24, 2026
Merged

michalharakal merged 2 commits into
developfrom
chore/engine-0.62.2

Conversation

@michalharakal

Copy link
Copy Markdown
Contributor

Moves every sample to engine SKaiNET 0.62.2. The three samples on SKaiNET-transformers stay on 0.63.0, which is pinned to engine 0.62.1 and works with 0.62.2 unchanged. Pins, catalog and settings comments and three README version mentions only; no source changes.

Engine 0.62.2 is a performance release for the JVM native lane: the dense FP32 x · Wᵀ kernel — what every resident dense weight resolves to once skainet-backend-native-cpu is on the classpath — now splits its work across the context schedule instead of a fixed four-thread C pool and, on x86-64 hosts with AVX2 and FMA, runs a runtime-selected eight-lane lane (SKaiNET #1441, #1442); added-token matching in the text front-end is indexed by first character and length (SKaiNET #1443). Results are unchanged.

LayaMoE on the desktop FP32 lane (12-thread laptop, three questions plus the router, 370 tokens) goes from 13.0 s to 6.5 s per request (6495 / 6469 / 6424 ms, three repetitions after a warm-up) with the same routing and answers; the README's measured section gets that line.

Verified locally against Maven Central, one sample at a time, with --refresh-dependencies:

  • IrisDemo, MnistJavaDemo: build.
  • GloVeEmbeddings, TDALab, SinusApproximator, TinyTransformer: library jvmTest, library and app wasm compiles, app desktop compile.
  • MNISTDemo: :shared:jvmTest, the shared and composeApp wasm compiles, :composeApp:compileKotlinDesktop, :cli:test — all 28 CLI tests pass now, including the four MnistAccuracyTest cases that chore: SKaiNET 0.62.1 / transformers 0.63.0 for all samples #47 listed as the pre-existing CNN failure (fixed by fix(mnistdemo): training hands real weights to the Draw screen #50).
  • KllamaDemo: :shared:jvmTest, :composeApp:compileKotlinJvm, the shared and composeApp wasm compiles.
  • KernelRace: the CI task list (:shared:jvmTest, :shared:testAndroidHostTest, :androidApp:assembleDebug, the shared, composeApp and webWorker wasm compiles, :composeApp:compileKotlinJvm).
  • SemanticEmojiFilter: both CI steps (:shared:jvmTest, :shared:testAndroidHostTest, :cli:compileKotlin, :androidApp:assembleDebug, the shared and composeApp wasm compiles; with -PlayaVerifier=true :verifier:jvmTest, :composeApp:compileKotlinJvm, the verifier and webVerifier wasm compiles).
  • LayaMoE: the CI task list (:shared:jvmTest, :shared:testAndroidHostTest, :cli:test, :cli:installDist, :composeApp:compileKotlinJvm, :androidApp:assembleDebug, the shared, webWorker and composeApp wasm compiles), then cli bench --index 0 for the number above.

Pins, the settings and catalog comments, and the MnistJavaDemo README mention.
Verified locally against Maven Central: IrisDemo and MnistJavaDemo build; the
library jvmTest, the wasm compiles and the desktop compile of GloVeEmbeddings,
TDALab, SinusApproximator, TinyTransformer and MNISTDemo; MNISTDemo :cli:test.
SemanticEmojiFilter, KernelRace, KllamaDemo and LayaMoE move to engine 0.62.2;
SKaiNET-transformers stays 0.63.0, which works with 0.62.2 unchanged. Pins and
catalog comments; the LayaMoE README notes the pin and the measured FP32 request
on 0.62.2 (13.0 s → 6.5 s, same routing and answers). Verified locally against
Maven Central with each sample's CI task list, LayaMoE's followed by cli bench.
@michalharakal
michalharakal merged commit 2530ae6 into develop Oct 24, 2026
3 checks passed
@michalharakal
michalharakal deleted the chore/engine-0.62.2 branch October 24, 2026 18:06
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