Repository navigation
Release 3.3.0, which loads categorical models in less memory and reads LightGBM text - #77
Merged
Merged
Conversation
…s LightGBM text What: version 3.3.0 in Cargo.toml and both lockfiles (the workspace's and experiments/layout-file's, which CI checks with --locked), the changelog's 3.3.0 section, and the version in the README's release commands. Why: the load-memory stack (#65 to #69, with #74 and #75) adds native LightGBM text loading and the opt-in layout-file feature without breaking the API, which a minor release carries. The section's opening paragraph now compares with 3.2.2 rather than 3.2.1 and gives the whole stack's figures: the loaded model's heap 66% lower, and the loading peak under half of 3.2.2's. It no longer says the layout is unchanged, since #67, #68 and #74 changed how it is stored. The prediction entry gives #66's measured range on both machines rather than 15 to 20%.
ukaratay
approved these changes
Nov 7, 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.
Releases the load-memory stack (#65, #66, #67, #68, #74, #75 and #69) as 3.3.0. It is a minor release: the stack adds native LightGBM text loading and the opt-in
layout-filefeature, and removes or changes nothing public.LoadErrorandModelFormatare#[non_exhaustive], so their new variants are additive; a.txtpath, which 3.2.2 rejected, now loads as LightGBM text; the MSRV stays 1.97.Version 3.3.0 in
Cargo.toml,Cargo.lockandexperiments/layout-file/Cargo.lock, which CI checks with--locked. The README's release commands name 3.3.0.The changelog's Unreleased section becomes 3.3.0. Its opening paragraph now compares with 3.2.2 rather than 3.2.1 and gives the whole stack's figures, from the PRs' published measurements:
It no longer says the layout is unchanged, since [memory] layout: exceptions take 6 bytes, with 16-bit feature-relative slots and a 32-bit fallback #67, [memory] layout: fixed-point leaf values take 8 bytes #68 and [memory] layout: hold fixed leaf values in their leaf nodes #74 changed how it is stored, and it drops "loads 30% faster": [memory] load, parse: a categorical model loads in under half the heap, and the loaded model keeps no category lists or spare capacity #65 measured 72% of 3.2.2's load time, and the whole stack's load time hasn't been measured against 3.2.2.
The prediction entry gives [memory] layout: fill a categorical feature only when its code changes, in one copy when dense #66's measured ranges rather than 15 to 20%: about 8 to 12% less time per request on AVX-512 (the skip and the copy were measured separately there) and 14 to 19% on an Apple M4.
cargo package --lockedbuilds the packaged crate, and the packaged crate also builds withlayout-file. The package ships every file undersrc/, sobuild.rs's build ID is the same as a checkout of the tag's.After merging: a signed
v3.3.0tag, whose release workflow runs the release tests and creates the GitHub release; then a crates.io owner publishes from the tag, as the README describes.