Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 1 addition & 3 deletions jmlx-core/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,9 @@
# Changelog

## Unreleased
## [0.5.0] - 2026-11-17

- Add key-only bidirectional masks, explicit-scale bidirectional/cross attention, pre/post-norm
encoder blocks and request-owned, non-appending `StaticKVCache`.
- Add scale constructor overloads while retaining existing default scales.
- Add `MLXMemory.clearCache()`, which releases the Metal allocator's pooled device buffers
back to the OS without affecting live arrays (wraps `mlx_clear_cache`).

Native pins, generated bindings and versions are unchanged.
2 changes: 1 addition & 1 deletion jmlx-core/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ plugins {

// Own explicit line, independent of the root's 0.5.0-SNAPSHOT default going forward -- see
// req/plans/native-artifact-packaging-plan.md. Same number it already carries via that default.
version = '0.5.0-SNAPSHOT'
version = '0.5.0'

java {
withSourcesJar()
Expand Down
2 changes: 1 addition & 1 deletion jmlx-ffi/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ plugins {

// Own explicit line, independent of the root's 0.5.0-SNAPSHOT default going forward -- see
// req/plans/native-artifact-packaging-plan.md. Same number it already carries via that default.
version = '0.5.0-SNAPSHOT'
version = '0.5.0'

java {
withSourcesJar()
Expand Down
8 changes: 7 additions & 1 deletion jmlx-jinja/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,13 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [Unreleased]
## [0.6.2] - 2026-11-17

### Changed

- No functional changes to the published `0.6.1`: the JAR and POM are byte-identical to the
`0.6.1` coordinate on Central. The `.module` metadata is now generated by Gradle 9.9.0
(was 9.7.0) under the Phase 8.4 combined release toolchain.

## [0.6.1] - 2026-11-05

Expand Down
2 changes: 1 addition & 1 deletion jmlx-jinja/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ plugins {
// jmlx-jinja is a dependency-free Java 21 library; keep that promise even though
// the rest of jmlx currently targets Java 25. It is versioned independently of the
// other jmlx modules because it was migrated from the standalone hfjinja project.
version = '0.6.2-SNAPSHOT'
version = '0.6.2'

java {
toolchain {
Expand Down
4 changes: 2 additions & 2 deletions jmlx-langchain4j/README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# jmlx LangChain4j adapter

Java 25, LangChain4j 1.23.0, macOS on Apple Silicon. Development coordinate:
se.alipsa:jmlx-langchain4j:0.1.0-SNAPSHOT. Publication is planned for Phase 8.4.
Java 25, LangChain4j 1.23.0, macOS on Apple Silicon. Coordinate:
se.alipsa:jmlx-langchain4j:0.1.0. Publication is planned for Phase 8.4.
The native runtime jar remains an explicit runtime dependency.

Configure a shared SchedulerInferenceClient as in the
Expand Down
2 changes: 1 addition & 1 deletion jmlx-langchain4j/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ plugins {
id 'maven-publish'
}

version = '0.1.0-SNAPSHOT'
version = '0.1.0'

java {
withSourcesJar()
Expand Down
4 changes: 1 addition & 3 deletions jmlx-models/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Changelog

## Unreleased
## [0.1.0] - 2026-11-17

- Add the Phase 7.3b WP8 Tier-A acceptance suites: `Qwen3VlGoldenTest` (full float32, strict
`1e-4`) and `Qwen3VlDefaultPrecisionTest` (default TF32 bound `0.0025`) run the pinned tiny
Expand Down Expand Up @@ -79,5 +79,3 @@
non-null embedding hook), greedy generation and the batch scheduler, in both TF32 precision
modes. The recordings under `build/exact-bits` are PR evidence, never committed goldens and
never part of `check`.

Versions are unchanged; implementation does not publish artifacts.
2 changes: 1 addition & 1 deletion jmlx-models/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ plugins {
// Fresh line -- jmlx-models has never been published, same reasoning jmlx-tokenizer used for its
// own first version. Independent of the root's 0.5.0-SNAPSHOT and of jmlx-core/jmlx-ffi's own
// (older, phase 1-4) version line -- see req/plans/native-artifact-packaging-plan.md.
version = '0.1.0-SNAPSHOT'
version = '0.1.0'

java {
withSourcesJar()
Expand Down
9 changes: 8 additions & 1 deletion jmlx-native-macos-arm64/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ plugins {
// mlx-c commit) travels inside the jar as native-pin.properties instead of in this version string,
// so this module's own SemVer stays independent of mlx-c's own independent versioning (already a
// distinct axis per AGENTS.md).
version = '0.1.0-SNAPSHOT'
version = '0.1.0'

// This module has a small Java metadata API alongside its native payload. Native resources are added
// directly to the main jar below, rather than registered as source-set resources, so normal source
Expand Down Expand Up @@ -167,6 +167,13 @@ tasks.register('verifyNativeReleasePayload', Exec) {
group = 'verification'
description = 'Checks packaged dylib deployment targets, source paths, pins and license texts.'
dependsOn tasks.named('jar'), tasks.named('sourcesJar'), tasks.named('javadocJar')
// Like verifyPackagedNativeResources: with native/install/lib unstaged there is no real
// payload to check, and this Exec task's own failure (a python error or a missing bootstrap
// script in a partial checkout) would otherwise preempt the publish task's unconditional
// doFirst refusal -- the canonical message that tells the human to run bootstrap-native.sh.
// Staging missing, the payload check is skipped and the publish refusal fires instead;
// staging present but the payload wrong, this task still fails the release.
onlyIf { hasValidatedStagedNativeFiles() }
commandLine 'python3', rootProject.file('tools/release-all/release_inputs.py'), 'native',
tasks.named('jar').get().archiveFile.get().asFile,
'--documentation-jar', tasks.named('sourcesJar').get().archiveFile.get().asFile,
Expand Down
4 changes: 2 additions & 2 deletions jmlx-spring-ai/README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# jmlx Spring AI adapter

Java 25, Spring AI 2.0.2, macOS on Apple Silicon. Development coordinate:
se.alipsa:jmlx-spring-ai:0.1.0-SNAPSHOT. Publication is planned for Phase 8.4.
Java 25, Spring AI 2.0.2, macOS on Apple Silicon. Coordinate:
se.alipsa:jmlx-spring-ai:0.1.0. Publication is planned for Phase 8.4.
The native runtime jar remains an explicit runtime dependency.

Create one scheduler and one shared client for the application:
Expand Down
2 changes: 1 addition & 1 deletion jmlx-spring-ai/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ plugins {
id 'maven-publish'
}

version = '0.1.0-SNAPSHOT'
version = '0.1.0'

java {
withSourcesJar()
Expand Down
9 changes: 9 additions & 0 deletions jmlx-tokenizer/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
# Changelog

## [0.1.2] - 2026-11-17

### Changed

- No functional changes to the published `0.1.1`: the JAR is byte-identical to the `0.1.1`
coordinate on Central. The POM and module metadata now depend on `se.alipsa:jmlx-jinja:0.6.2`
(was 0.6.1) and Jackson 3.3.0 (was 3.1.2), and the `.module` is generated by Gradle 9.9.0
(was 9.7.0) under the Phase 8.4 combined release toolchain.

## [0.1.1] - 2026-11-05

### Fixed
Expand Down
2 changes: 1 addition & 1 deletion jmlx-tokenizer/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ plugins {
// Its own version line, deliberately independent of the root's 0.5.0-SNAPSHOT: an
// "independent release" that inherits the root version is not independent at all. The line
// started at 0.1.0 in Phase 8.1.
version = '0.1.2-SNAPSHOT'
version = '0.1.2'

// Pure Java with no native dependency, so it is not bound to the root's Java 25 toolchain
// (which exists for jmlx-core/jmlx-ffi's Panama FFM). Targeting 21 matches jmlx-jinja and
Expand Down
2 changes: 1 addition & 1 deletion jmlx-vision/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ plugins {
// Its own version line, deliberately independent of the root's 0.5.0-SNAPSHOT: jmlx-vision's
// line started at 0.1.0 in Phase 8.1 -- same reasoning jmlx-tokenizer used for its own first
// version.
version = '0.1.2-SNAPSHOT'
version = '0.1.2'

// Pure Java with no native dependency, so it is not bound to the root's Java 25 toolchain (which
// exists for jmlx-core/jmlx-ffi's Panama FFM). Targeting 21 matches jmlx-jinja and
Expand Down
15 changes: 9 additions & 6 deletions req/phase8-4-release-checklist.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,20 +11,21 @@ Baseline: `9bc85042df50ed3f979cb8d3e7c8767917c71483` (published 8.1 recovery).
Implementation starts from PR #94 merge `679d525b43d33eba552af3e6c4f46d80ee6ec673`.
The [post-plugin artifact audit](phase8-4-pure-java-audit.md) at PR #97 merge
`98190d44fd725b484e98e5e8b7b41efa925e0b23` supports the committed all-new manifest.
Tuple review and exact-candidate minimum-host verification remain open; repeat the audit at
the final candidate SHA.
The owner approved the audited tuple 2026-11-17; exact-candidate minimum-host verification
remains open, and the audit repeats at the final candidate SHA.

| Module | Proposed decision | Evidence / remaining work |
| --- | --- | --- |
| jinja | new 0.6.2 (pending tuple review) | All JARs and POM match Central; `.module` Gradle version differs 9.7.0 → 9.9.0 |
| jinja | new 0.6.2 | All JARs and POM match Central; `.module` Gradle version differs 9.7.0 → 9.9.0 |
| tokenizer | new 0.1.2 | All JARs match; POM/module Jackson dependency differs 3.1.2 → 3.3.0, module Gradle version also differs |
| vision | new 0.1.2 | All JARs match; POM/module Jackson dependency differs 3.1.2 → 3.3.0, module Gradle version also differs |
| native/ffi/core/models/adapters | first releases per manifest | All remain SNAPSHOT until reviewed candidate cut |
| native/ffi/core/models/adapters | first releases per manifest | Versions set by the version PR; candidate cut and verification remain |

Any reuse-to-new change reopens tuple review. Module checks use checkout dependencies;
mixed-source artifact smoke must establish the real published graph independently.
The proposed manifest now selects all nine new coordinates. This is not a final candidate cut:
module versions remain SNAPSHOT and tuple review is still required.
The manifest selects all nine new coordinates, and the version PR sets the module build files
and the smoke CI defaults to the approved tuple. This is not a final candidate cut: the
candidate tag, the signed bundle and the audit rerun at the final candidate SHA remain.
The published Javadoc banner identifies only `Generated by javadoc (21)`; vendor, patch and
build were not established from that banner. The retained 8.1 release report separately records
BellSoft 21.0.12.1; the matching-toolchain audit reproduces every JAR exactly. The explicit
Expand Down Expand Up @@ -59,6 +60,8 @@ BellSoft 21.0.12.1; the matching-toolchain audit reproduces every JAR exactly. T
- [x] Revalidate pure-Java artifact reuse after the plugin pin bump and Jackson 3.3.0 update;
[audit and artifact hashes](phase8-4-pure-java-audit.md) support all three new versions.
- [ ] Approve the audited tuple after minimum-host readiness; repeat audit at final candidate SHA.
The owner approved the tuple 2026-11-17 and the version PR sets the module versions and
smoke CI defaults to it; the audit rerun at the final candidate SHA remains.
- [ ] Freeze candidate tag/SHA, verify signed bundle, both consumer profiles and minimum host.
- [ ] Review concrete verified-bundle receipt, then explicitly authorize Central publication.
- [ ] Verify all nine exact Central coordinates and selected Java 21 subset on both platforms.
Expand Down
2 changes: 1 addition & 1 deletion tools/hf-reference/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ tools/hf-reference/.venv/bin/python \
JMLX_LIBRARY_PATH=$PWD/native/install/lib \
JMLX_ROPE_REFERENCE=$PWD/build/qwen3vl-rope-reference.txt \
"$JDK25_HOME/bin/jshell" --execution local -s -J--enable-native-access=ALL-UNNAMED \
--class-path jmlx-core/build/libs/jmlx-core-0.5.0-SNAPSHOT.jar:jmlx-ffi/build/libs/jmlx-ffi-0.5.0-SNAPSHOT.jar \
--class-path jmlx-core/build/libs/jmlx-core-0.5.0.jar:jmlx-ffi/build/libs/jmlx-ffi-0.5.0.jar \
tools/hf-reference/qwen3vl_rope_interleaved_check.jsh
```

Expand Down
18 changes: 9 additions & 9 deletions tools/release-smoke/gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,14 @@
# CI reads these producer-aligned defaults. Release profiles read released-8.4.json;
# historical `central --profile pure-java --release 8.1` reads released-8.1.properties.
# A producer version change must update its CI default here in the same PR.
jmlxModelsVersion=0.1.0-SNAPSHOT
jmlxNativeVersion=0.1.0-SNAPSHOT
jmlxCoreVersion=0.5.0-SNAPSHOT
jmlxFfiVersion=0.5.0-SNAPSHOT
jmlxTokenizerVersion=0.1.2-SNAPSHOT
jmlxJinjaVersion=0.6.2-SNAPSHOT
jmlxVisionVersion=0.1.2-SNAPSHOT
jmlxModelsVersion=0.1.0
jmlxNativeVersion=0.1.0
jmlxCoreVersion=0.5.0
jmlxFfiVersion=0.5.0
jmlxTokenizerVersion=0.1.2
jmlxJinjaVersion=0.6.2
jmlxVisionVersion=0.1.2
org.gradle.warning.mode=summary

jmlxSpringAiVersion=0.1.0-SNAPSHOT
jmlxLangchain4jVersion=0.1.0-SNAPSHOT
jmlxSpringAiVersion=0.1.0
jmlxLangchain4jVersion=0.1.0
13 changes: 8 additions & 5 deletions tools/release-smoke/selftest.sh
Original file line number Diff line number Diff line change
Expand Up @@ -115,10 +115,12 @@ expect "all preflight rejects a missing adapter producer" 2 body \
# --- a failing preflight is side-effect-free: main runs the preflight immediately after argument
# parsing, so a failing candidate run must exit 2 before the smoke repository or the consumer's
# project state is touched. Runs the real run.sh, not the function: the property under test is
# main's ordering, not the function. stderr is captured and must carry the preflight's own
# message: other early paths (e.g. a missing wrapper distribution) also exit 2, so the status
# alone would pass a preflight that never ran. The state marker lives in this checkout's real
# consumer build directory (gitignored), created and removed by the test. ---
# main's ordering, not the function. The 8.4 preflight reads the actual build.gradle files, so
# a release-ready tree would pass version validation; the JMLX_JINJA_VERSION override is the
# deterministic failure independent of the tree's state. stderr is captured and must carry the
# preflight's own message: other early paths (e.g. a missing wrapper distribution) also exit 2,
# so the status alone would pass a preflight that never ran. The state marker lives in this
# checkout's real consumer build directory (gitignored), created and removed by the test. ---
repo="$tmp/repo"
state_marker="$here/build/e2e-preflight-state"
mkdir -p "$repo"
Expand All @@ -128,9 +130,10 @@ touch "$state_marker"
err="$tmp/e2e.err"
status=0
JMLX_SMOKE_REPO_DIR="$repo" JMLX_SMOKE_TUPLE_FILE="$tmp/absent.properties" JMLX_SMOKE_PRODUCER_VERSIONS="$producers_release" \
JMLX_JINJA_VERSION=0.7.0 \
bash "$here/run.sh" candidate --profile pure-java >/dev/null 2>"$err" || status=$?
if [ "$status" -eq 2 ] && [ -f "$repo/marker" ] && [ -f "$state_marker" ] \
&& grep -q "producer jmlx-jinja version .* != manifest" "$err"; then
&& grep -q "JMLX_JINJA_VERSION must repeat manifest version" "$err"; then
echo "ok: failing preflight exits 2 with its own message before touching the repository or consumer state"
else
echo "FAIL: preflight ran with side effects or the wrong exit (status $status; repo marker $([ -f "$repo/marker" ] && echo present || echo gone); state marker $([ -f "$state_marker" ] && echo present || echo gone); stderr: $(head -1 "$err"))"
Expand Down
Loading