Skip to content

Commit feed359

Browse files
Merge pull request #166 from SKaiNET-developers/release/0.28.1
Release/0.28.1
2 parents 17c5d00 + cfa34b7 commit feed359

8 files changed

Lines changed: 56 additions & 254 deletions

File tree

CHANGELOG.md

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,31 @@ version line is kept in lock-step with the underlying SKaiNET engine
77
The format roughly follows [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
88
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
99

10+
## [0.28.1] — 2026-06-06
11+
12+
Version-aligned with **SKaiNET 0.28.1**. Skips 0.26.x / 0.27.x —
13+
SKaiNET-transformers tracked the engine internally across that window without a
14+
tagged release.
15+
16+
### Changed
17+
18+
- **`gradle/libs.versions.toml` `skainet` pin: 0.27.0 → 0.28.1.** Picks up the
19+
completed Kotlin DSL → StableHLO → IREE export path. SKaiNET 0.28.0/0.28.1
20+
closed the remaining DAG-DSL export bugs: shape-changing ops now declare their
21+
inferred output type instead of echoing operand-0 — `reshape`/`matmul`/`concatenate`
22+
([SKaiNET #673](https://github.com/SKaiNET-developers/SKaiNET/issues/673)) and
23+
`conv1d`/`gather`/`maxpool2d`/`avgpool2d`/`flatten`
24+
([SKaiNET #675](https://github.com/SKaiNET-developers/SKaiNET/issues/675)) — and
25+
`reduce_window` is emitted in IREE's generic region form. A full gemma3 graph
26+
traced through `GemmaMlirDumpTest` / `GemmaTraceTest` now lowers to StableHLO
27+
that `iree-compile`s to a `vmfb`. No transformers-side API changes; existing
28+
callers compile unchanged.
29+
30+
### Verified
31+
32+
- `:llm-inference:gemma:jvmTest` green against the published SKaiNET 0.28.1
33+
(`GemmaMlirDumpTest` 1/1, `GemmaTraceTest` 1/1).
34+
1035
## [0.25.0] — 2026-05-25
1136

1237
Version-aligned with **SKaiNET 0.25.0**. Skips 0.24.x — SKaiNET-transformers has

README.md

Lines changed: 26 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -97,23 +97,28 @@ Honest status — see the project-status note at the top of this README.
9797
before extending scope.
9898
- Verify each generative architecture end-to-end with smoke tests.
9999
- Wire the **StableHLO / native compilation path** for full transformer models.
100+
As of 0.28.1 a full gemma3 graph exports to StableHLO and `iree-compile`s to a
101+
`vmfb` (`GemmaMlirDumpTest`); next is running the compiled module and extending
102+
the same path to the other families.
100103

101104
## Current release
102105

103-
The current release is **0.25.0** — version-aligned with **SKaiNET 0.25.0**.
104-
Skips 0.24.x: the engine bumped 0.23.1 → 0.25.0 in the same release window
105-
without a tagged 0.24.x on either side. Brings the new
106-
[hybrid adaptive DSL with optional dtype constraints](https://github.com/SKaiNET-developers/SKaiNET/pull/616)
107-
(`DTypePolicy.Any | Require | Prefer | OneOf`) to every `*NetworkLoader`,
108-
turns the catalog BOM-only so every internal build now exercises
109-
`sk.ainet:skainet-bom` end-to-end, and locks three reference models
110-
(`@Tag("smoke-reference")`) for the smoke tier.
106+
The current release is **0.28.1** — version-aligned with **SKaiNET 0.28.1**.
107+
Skips 0.26.x / 0.27.x: SKaiNET-transformers tracked the engine internally across
108+
that window without a tagged release. The headline is that the engine's
109+
**Kotlin DSL → StableHLO → IREE export path is now complete** — a full gemma3
110+
graph traces and lowers to StableHLO that `iree-compile`s to a `vmfb`
111+
(`GemmaMlirDumpTest` / `GemmaTraceTest` are green against 0.28.1). SKaiNET
112+
0.28.0/0.28.1 fixed the remaining export bugs: result-type inference for
113+
`reshape`/`matmul`/`concatenate` ([#673](https://github.com/SKaiNET-developers/SKaiNET/issues/673))
114+
and `conv1d`/`gather`/pooling/`flatten` shapes plus the `reduce_window` emission
115+
form ([#675](https://github.com/SKaiNET-developers/SKaiNET/issues/675)).
111116

112117
The recommended way to consume is via the BOM. It pins every published `skainet-transformers-*` artifact and re-exports the upstream `sk.ainet:skainet-bom`, so the engine-side `sk.ainet.core:skainet-*` artifacts get the matching version too — you only need to declare the BOM version in one place.
113118

114119
```kotlin
115120
dependencies {
116-
implementation(platform("sk.ainet.transformers:skainet-transformers-bom:0.25.0"))
121+
implementation(platform("sk.ainet.transformers:skainet-transformers-bom:0.28.1"))
117122

118123
// Versions resolved from the BOM:
119124
implementation("sk.ainet.transformers:skainet-transformers-core")
@@ -190,6 +195,18 @@ try (KLlamaSession session = KLlamaJava.loadGGUF(modelPath, /* systemPrompt */ n
190195

191196
See `llm-test/llm-test-java/src/test/java/.../KLlamaJavaToolCallingTest.java` for a runnable reference.
192197

198+
## What's new in 0.28.1
199+
200+
- **Engine pin `skainet 0.27.0 → 0.28.1`.** Picks up the completed Kotlin DSL →
201+
StableHLO → IREE export path. Every shape-changing op now declares its inferred
202+
output type (`reshape`/`matmul`/`concatenate`, [#673](https://github.com/SKaiNET-developers/SKaiNET/issues/673);
203+
`conv1d`/`gather`/pooling/`flatten`, [#675](https://github.com/SKaiNET-developers/SKaiNET/issues/675)),
204+
and `reduce_window` is emitted in IREE's generic region form — so a full gemma3
205+
graph traced via `GemmaMlirDumpTest` lowers to StableHLO that `iree-compile`s to
206+
a `vmfb`. No transformers-side API changes; existing callers compile unchanged.
207+
- Verified end-to-end: `:llm-inference:gemma:jvmTest` green against the published
208+
0.28.1 (`GemmaMlirDumpTest`, `GemmaTraceTest` pass).
209+
193210
## What's new in 0.25.0
194211

195212
- **`DTypePolicy` on every `*NetworkLoader.fromGguf` / `.fromSafeTensors`

docs/modules/ROOT/nav.adoc

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@
1010
1111
.How-to Guides
1212
* xref:how-to/add-model.adoc[Add a New Model Architecture]
13-
* xref:how-to/add-compute-backend.adoc[Add a Compute Backend]
1413
* xref:how-to/add-tool.adoc[Add a Custom Tool]
1514
* xref:how-to/run-unified-cli.adoc[Use the Unified CLI]
1615
* xref:how-to/benchmarking.adoc[Run Benchmarks]

docs/modules/ROOT/pages/how-to/add-compute-backend.adoc

Lines changed: 0 additions & 239 deletions
This file was deleted.

docs/modules/ROOT/pages/tutorials/getting-started-java.adoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ In your `build.gradle.kts`:
2525
[source,kotlin]
2626
----
2727
dependencies {
28-
implementation(platform("sk.ainet.transformers:skainet-transformers-bom:0.25.0"))
28+
implementation(platform("sk.ainet.transformers:skainet-transformers-bom:0.28.1"))
2929
3030
implementation("sk.ainet.transformers:skainet-transformers-runtime-kllama")
3131
implementation("sk.ainet.transformers:skainet-transformers-agent")
@@ -41,7 +41,7 @@ Or in Maven (Maven needs the `-jvm` classifier suffix on platform artifacts):
4141
<dependency>
4242
<groupId>sk.ainet.transformers</groupId>
4343
<artifactId>skainet-transformers-bom</artifactId>
44-
<version>0.25.0</version>
44+
<version>0.28.1</version>
4545
<type>pom</type>
4646
<scope>import</scope>
4747
</dependency>

docs/modules/ROOT/pages/tutorials/llama3-tool-calling.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ The pieces you need live in three modules:
5252
[source,kotlin]
5353
----
5454
dependencies {
55-
implementation(platform("sk.ainet.transformers:skainet-transformers-bom:0.25.0"))
55+
implementation(platform("sk.ainet.transformers:skainet-transformers-bom:0.28.1"))
5656
5757
implementation("sk.ainet.transformers:skainet-transformers-runtime-kllama")
5858
implementation("sk.ainet.transformers:skainet-transformers-agent")

gradle.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
GROUP=sk.ainet.transformers
2-
VERSION_NAME=0.26.0
2+
VERSION_NAME=0.28.1
33

44
POM_DESCRIPTION=SKaiNET-transformers
55

gradle/libs.versions.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[versions]
2-
skainet = "0.27.0"
2+
skainet = "0.28.1"
33
agp = "9.2.1"
44
jacksonDatabind = "2.22.0"
55
jsonSchemaValidator = "3.0.3"

0 commit comments

Comments
 (0)