release: 0.2.0 - #189
Merged
Merged
release: 0.2.0#189
Conversation
Contributor
Reviewer's GuidePrepares the 0.2.0 release by bumping the library version and adding a detailed 0.2.0 section to the changelog that documents breaking changes, new features (Dense representation, int64 indptr support, tunable CSR hybrid scheduler, cublas backend, JITC materialization views, numba CPU kernels, light-RNG helpers, matrix_mode), structural validations, and removal of the pararnn subpackage. Flow diagram for CSR hybrid config resolution orderflowchart TD
Start([init_csr_config / get_hybrid_config invoked])
Env{BRAINEVENT_CSR_HYBRID_CONFIG set?}
Cache{csr_hybrid_config.json has device_kind entry?}
Default[Use defaults baked into .cu sources]
UseEnv[Use config from BRAINEVENT_CSR_HYBRID_CONFIG]
UseCache[Load per-GPU HybridConfig from cache]
Benchmark[Benchmark candidate configs with production CSR kernel]
Save[Persist winning HybridConfig to csr_hybrid_config.json]
Output([HybridConfig and task capacity returned])
Start --> Env
Env -- Yes --> UseEnv
Env -- No --> Cache
Cache -- Yes --> UseCache
Cache -- No --> Default
UseEnv --> Output
UseCache --> Output
Default --> Benchmark
Benchmark --> Save
Save --> Output
File-Level Changes
Tips and commandsInteracting with Sourcery
Customizing Your ExperienceAccess your dashboard to:
Getting Help
|
Bump __version__ to 0.2.0 and add the 0.2.0 changelog entry. The minor bump reflects two breaking changes since 0.1.2: bare todense()/tocsr() on the JITC families now raise in favour of the explicit mat.mv / mat.mm materialization views, and jits/jitn/jitu require the new matrix_mode keyword. The numba JITC kernels also draw the CUDA matrix now, so CPU results from 0.1.x do not reproduce. Alongside these: the new Dense representation, int64 indptr support for CSR/CSC, the tunable CSR hybrid scheduler config, and the removal of the pararnn subpackage.
chaoming0625
force-pushed
the
worktree-release-0.2.0
branch
from
August 7, 2026 16:08
22f0dbc to
33a8442
Compare
Codecov Report✅ All modified and coverable lines are covered by tests. 📢 Thoughts on this report? Let us know! |
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.
Prepares the
0.2.0release: bumpsbrainevent/_version.pyto0.2.0and turns the existing[Unreleased]section ofchangelog.mdinto a full[0.2.0]entry covering everything landed sincev0.1.2.Why a minor bump
Breaking changes since
v0.1.2:todense()/tocsr()/tocsc()/tocoo()on the JITC families now raiseNotImplementedError; callers go through the newmat.mv/mat.mmmaterialization views, because the mv (32-lane) and mm (AW-T4) light kernels draw different matrices.jits/jitn/jiturequire the newmatrix_modekeyword.CSR/CSCnow validate their structure at construction, andindex_dtype=int64is rejected.KernelRegistrationError.brainevent.pararnnsubpackage are removed.Plus a behavioural change worth flagging loudly: the JITC
numbakernels were rebuilt on the CUDA light-RNG walk, so CPU and GPU finally draw bit-identical matrices — but CPU results recorded against0.1.xwill not reproduce.Scope covered
Dense, hybrid scheduler configINT32_MAXindex wrap, restored CSRMV warp tierAGENTS.mdruleCLAUDE.md→AGENTS.mdpararnnmoduleVerification
python -c "import brainevent"reports0.2.0;__all__stable at 165 (4 additions since0.1.2:Dense,HybridConfig,get_hybrid_config,init_csr_config)pytest brainevent/_deprecation_test.py— 55 passed🤖 Generated with Claude Code