Skip to content

Commit 6586ad9

Browse files
michalharakalclaude
andcommitted
chore(release): prepare 0.22.1
- gradle.properties: bump VERSION_NAME 0.22.0 → 0.22.1. - CHANGELOG: add 0.22.1 section covering #582 — sharded analog of loadTensorStorageMapped on StreamingShardedSafeTensorsReader. - README: bump Quickstart coordinates to 0.22.1. Patch release motivated by SKaiNET-transformers' Gemma 4 PLE loader, which currently rolls its own FileChannel.map to mmap the 4.7 GB BF16 embed_tokens_per_layer tensor (over the 2 GB JVM ByteArray cap). Once 0.22.1 is published to Maven, that downstream consumer can drop the JVM mmap glue and consume the upstream TensorStorage directly. No other behavioural changes vs 0.22.0; this is a single-PR follow-up release that ships the API surface that should have made the 0.22.0 window but landed after the release branch was cut. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
1 parent aa77b4d commit 6586ad9

3 files changed

Lines changed: 9 additions & 3 deletions

File tree

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,12 @@
22

33
## [Unreleased]
44

5+
## [0.22.1] - 2026-04-30
6+
7+
### Added
8+
9+
- **`StreamingShardedSafeTensorsReader.loadTensorStorageMapped`** — by-name and by-`ShardedTensorInfo` overloads that mirror the existing single-file `StreamingSafeTensorsReader.loadTensorStorageMapped(tensor, filePath)`. Both return a `TensorStorage` whose `BufferHandle.FileBacked` references the resolved shard file's tensor byte range, enabling zero-copy / memory-mapped reads of tensors that exceed the 2 GB JVM `ByteArray` limit. The new methods delegate internally to the per-shard reader; callers don't need to know which physical shard contains a given tensor. Unblocks downstream consumers (e.g. SKaiNET-transformers' Gemma 4 PLE token-embedding table at ~4.7 GB BF16 on E2B) that previously rolled their own `FileChannel.map`. (PR #582)
10+
511
## [0.22.0] - 2026-04-30
612

713
### Added

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@ Add the core dependencies (Gradle Kotlin DSL):
1919

2020
```kotlin
2121
dependencies {
22-
implementation("sk.ainet.core:SKaiNET-lang-core:0.22.0")
23-
implementation("sk.ainet.core:SKaiNET-backend-cpu:0.22.0")
22+
implementation("sk.ainet.core:SKaiNET-lang-core:0.22.1")
23+
implementation("sk.ainet.core:SKaiNET-backend-cpu:0.22.1")
2424
}
2525
```
2626

gradle.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
GROUP=sk.ainet.core
2-
VERSION_NAME=0.22.0
2+
VERSION_NAME=0.22.1
33
POM_DESCRIPTION=SKaiNET
44

55
POM_URL=https://github.com/SKaiNET-developers/skainet/

0 commit comments

Comments
 (0)