Skip to content

Commit 2b5310e

Browse files
committed
release: bump version to 0.3.2 and update CHANGELOG.md
1 parent c42a40a commit 2b5310e

3 files changed

Lines changed: 17 additions & 2 deletions

File tree

CHANGELOG.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,21 @@ section above `[Unreleased]` before tagging.
1111

1212
## [Unreleased]
1313

14+
## [0.3.2] - 2026-07-09
15+
16+
### Added
17+
- **Prism Documentation:** Full `docs/models.md` section for the `prism_medium` checkpoint — same wide attribute/genre set as `expressive`, standard 32-level velocity, `num_bars_map` up to 16 bars.
18+
- **Real-Checkpoint Smoke Tests:** New `test_pretrained_checkpoints.py` downloads and exercises `prism_medium`/`expressive_medium` end-to-end (AR + infill generation, attribute/genre conditioning, `MaskBar`-mode rejection).
19+
20+
### Changed
21+
- **Dynamic Checkpoint Resolution:** `InferenceEngine.from_pretrained` now resolves checkpoint filenames dynamically against the HuggingFace repo's file listing (preferring `-final`, falling back to the highest `-step<N>`) instead of a hardcoded filename map — re-uploading a checkpoint no longer requires a code change.
22+
23+
### Fixed
24+
- **Attribute Token Names:** Corrected `TOKEN_TYPE_TO_ATTRIBUTE` and individual attribute classes' `token_type` strings to match the C++ `TokenType::name()` runtime values (`TrackLevelPitchRangeMax`, `TrackLevelSilenceProportionMax`, `BarLevelPitchClassSet`), fixing silent attribute auto-inference and BPE classification failures.
25+
26+
### Removed
27+
- **Ghost Model References:** `"ghost"` removed from `InferenceEngine.from_pretrained`'s known model names (no checkpoint has ever been trained for it); docs now explicitly mark it as an unreleased, planned architecture instead of implying it's usable today.
28+
1429
## [0.3.1] - 2026-07-06
1530

1631
### Added

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ build-backend = "scikit_build_core.build"
44

55
[project]
66
name = "midigpt"
7-
version = "0.3.1"
7+
version = "0.3.2"
88
description = "GPT-2 transformer for symbolic music generation"
99
readme = "README.md"
1010
license = { text = "MIT" }

src/python/midigpt/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
except (ValueError, AttributeError):
1616
pass
1717

18-
__version__ = "0.3.1"
18+
__version__ = "0.3.2"
1919
__all__ = [
2020
"Bar",
2121
"Note",

0 commit comments

Comments
 (0)