release: prepare 0.40.1 (hotfix: #968) - #970
Merged
Merged
Conversation
Bump VERSION_NAME 0.40.0 -> 0.40.1 and update all version-carrying docs for a hotfix release scoped to the single functional delta since the 0.40.0 tag: #969 (fixes #968). - CHANGELOG: new [0.40.1] - 2026-08-12 entry under [Unreleased], headline framing this as a correctness hotfix (silently wrong output, not a crash); ### Fixed covers DefaultCpuOps.transpose() doing a shape-only relabel instead of a real block-grid byte permutation for packed quantized formats (Q4_0/Q5_0/Q5_1/Q8_0/Q4_K/Q5_K/Q6_K) whenever blocksPerInputDim>1, across scalar, Panama-vector, and native kernel tiers; misaligned input now throws instead of silently truncating; credits the ground-truth regression test approach. - README: BOM snippet -> 0.40.1, What's New in 0.40.1 (correctness fix, recommend upgrading), 0.40.0 demoted to "Previously", Contributors (0.40.1). - docs/antora.yml: skainet_version attribute 0.40.0 -> 0.40.1. - kernel-support-matrix.adoc: regenerated via generateKernelMatrix on this base — no kernel/tier changes, version stamp only -> 0.40.1. Branch prep only — no tag created. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
|
📖 Documentation Preview The documentation has been built successfully for this PR. Generated Files:
Artifacts:
This comment will be updated automatically when the PR is updated. |
aharakal
approved these changes
Aug 12, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Release preparation for 0.40.1. Version bump + all version-carrying docs; no functional code changes in this branch itself — the fix already shipped to
developin #969.Headline
Correctness hotfix — silently wrong output, not a crash. This is a hotfix-only release: exactly one functional change since the
0.40.0tag, #969 (fixes #968).DefaultCpuOps.transpose()for packed quantized weights (Q4_0/Q5_0/Q5_1/Q8_0/Q4_K/Q5_K/Q6_K) performed a shape-only relabel instead of a real block-grid byte permutation whenever a row spanned more than one quant block (blocksPerInputDim > 1— true of virtually every real model).ops.matmul(x, ops.transpose(W))fed the packed-quant kernels bytes in the wrong order across all three kernel tiers — scalar, Panama-vector, and native (FFM/JNI) — silently producing wrong numbers, sometimes all-zero output, with no exception raised. Caught by a new ground-truth regression test that dequants each format's canonical vs. kernel-native byte layouts independently and checks both matmul paths against it.No new features, no API changes. Recommended upgrade priority: high — this is a silent-data-corruption class of bug, not a crash, so it can go unnoticed in production until model output is scrutinized.
What's in this branch
The full
0.40.0..developdelta going into this release: only #969 (fixes #968) — nothing else has merged since0.40.0.gradle.propertiesVERSION_NAME0.40.0 → 0.40.1 (single source of truth; BOM re-exports it)CHANGELOG.md[0.40.1] - 2026-08-12added under[Unreleased], headline +### Fixedcovering the bug across all 3 tiers / 7 packed formats, closes #968README.mddocs/antora.ymlskainet_versionattribute → 0.40.1 (used in docs dependency snippets)docs/…/kernel-support-matrix.adocgenerateKernelMatrix) — no kernel/tier changes (no new kernels, no tier promotions), version stamp only → 0.40.1Notes
./gradlew helpand./gradlew generateKernelMatrixboth green on this branch.develop; retarget/tag per the maintainers' release flow.🤖 Generated with Claude Code