Changelog#
Changelog#
All notable changes to ELEANOR are documented in this file.
The format is based on Keep a Changelog, and entries are grouped chronologically by quarter.
Unreleased#
[0.1.0a1] - 2026-10-18#
2026 Q4#
Migrated the build backend from
setup.pytoscikit-build-corewith aCMakeLists.txt; the PyTorch C++/CUDA extension is now built as_C_cpuor_C_cu<version>depending on whether a CUDA compiler is found.Version is now derived from git tags via
setuptools-scm(written toeleanor/_version.py).Added mutually exclusive
cpu,cuda12,cuda13, andmpsextras; each pullstorch/torchvisionfrom the matching PyTorch index and the matchingjaxvariant.uv sync --extra <name>now compiles the extension against the torch of the selected extra instead of the default PyPI (CUDA) wheel;torchwas removed frombuild-system.requires.Development: the hardware variant is always chosen explicitly with
uv sync --extra cpu(orcuda12/cuda13/mps); a sync without one fails with a message saying so.uv now rebuilds the package on new commits/tags and on changes to
CMakeLists.txtor the C++/CUDA sources.Refactored the C++/CUDA implementations of Bruno and Heracles: shared code moved to
common.hand per-model headers (bruno.h,heracles.h).Renamed the distribution to
eleanor-ncas(eleanoris taken on PyPI); the import name is stilleleanor.Release wheels: one
cp311-abi3manylinux wheel per hardware variant (+cpu,+cu126,+cu130) that works on Python 3.11+. The extension now uses only the limited Python API, and each wheel pins the exacttorch/torchvisionbuild it was compiled against plus the matchingjax.Per-variant package index on GitHub Pages (
https://ncas-tum.github.io/ELEANOR/whl/<variant>):pip install eleanor-ncas --extra-index-url .../whl/cpuoruv add eleanor-ncas --index .../whl/cpuinstalls ELEANOR with the matching PyTorch and JAX.eleanor.torch.modelspicks the extension that matches the installed torch, falling back to another build of the same CUDA major version, and lists the available builds when none match.Fixed: installed wheels reported version
0.0.dev0, because the generatedeleanor/_version.pywas left out of the wheel.Added a
Dockerfilethat builds each variant (with a CUDA architecture check andauditwheel repairthat keeps torch and CUDA libraries, including NVRTC, external), scripts to turn the builds into variant wheels and an index (scripts/make_variant_wheel.py,scripts/build_index.py), and aDockerfile.dev+ devcontainer for development.CI: the wheels workflow builds every variant, checks the stable ABI, installs each wheel from a locally served index with pip and uv on Python 3.11 and 3.14, and on
v*tags attaches the wheels to a GitHub release and rebuilds the docs + index. Lint and docs workflows install thecpuextra.macOS (Apple Silicon, macOS 14+) wheels: a
+cpuwheel in thecpuindex, next to the Linux one, and a new+mpsvariant (https://ncas-tum.github.io/ELEANOR/whl/mps) that also installsjax-mps. The Linux and macOScpuwheels share their metadata: each pinstorch==<v>+cpuon Linux and the plaintorch==<v>on macOS, and thecpuindex links both builds. CI builds them natively onmacos-14and smoke-tests them like the Linux wheels; locally,MACOS_VARIANTS="cpu mps" scripts/build.shbuilds them on a Mac.Fixed: building on macOS failed because Apple Clang has no OpenMP. The extension now uses the
omp.handlibompthat ship with PyTorch (a second OpenMP runtime would conflict with torch’s), and linksPython::Moduleso Python symbols resolve at load time instead of failing to link.scripts/make_variant_wheel.pytakes the pins as auv exportfile (--pins) instead of--pinoptions, keeping their platform markers.
2026 Q3#
Bruno (JAX): stopping the gradient through
tauand through the reset is now configurable withstop_tau_gradandstop_reset_grad(both default toTrue).eleanor.torch.modelsnow loads the compiled extension that matches the environment (CPU or CUDA build).Braille dataset is now stored under
/tmp/data/brailleby default.
2026 Q2#
Bruno (JAX): gradient through
taustopped; added an overflow-safe exponential (limexp) and a second-derivativetaugradient.Braille benchmark.
eleanor.jax.surrogateis now a public module (was_surrogate).Documentation is built and published to GitHub Pages.
Migrated build configuration to
uvviapyproject.toml; dev dependencies moved to a[dependency-groups]table; addedtox.iniand.python-version; bumped minimum Python to 3.11.Removed the
snnaxdependency entirely from the project.Removed
chexfrom the JAX modules (_bruno,_felif,_heracles); type annotations now usejaxtyping(Array,PRNGKeyArray).Restructured the JAX models API: split each model into
*Celland*Params, introduced aNeuronModelabstract base class, anRNNscan wrapper in a new_base.py.Documentation: restructured
docs/source/intoabout/,getting_started/,tutorials/, andapi/sections; addedquickstart,concepts,contributing, andchangelogpages; added an API reference coveringjax,torch,datasets,learner, andutils; renamedexamples/totutorials/; removed the legacyintroduction/,getting-start.rst, andusage.rstpages; refreshedconf.py,install.rst, and the rootindex.rst.Added this
CHANGELOG.md.eleanor/__init__.pynow re-exports thedatasets,utils,torch, andjaxsubmodules at the top level.eleanor/utils.py: removed the legacysnnax-basedforward_fnhelper as part of thesnnaxcleanup.eleanor/datasets.py:loadBraillenow accepts afull=flag to return the unsplit dataset.
2026 Q1#
Updated README.
2025 Q4#
JAX-based federated learning implementation.
PyTorch federated learning script; updated Braille FL task.
Federated learning scripts for the Braille dataset.
Analysis script for the Bruno paper with variability updates.
Analysis script comparing Bruno with checkpoints.
JSB experiment and dataset.
Pure Equinox module of Bruno;
variabilitynow useseqx.partition.Checkpoint method using the FeLIF neuron; defaults applied when checkpoint is
None.StaticWrapperfor D2DVar parameters.Restructured model example notebooks (
bruno,felif,heracles).Variability added to the PyTorch C++ implementation of Bruno.
Heracles (PyTorch): configurable number of inner steps; JAX gradient scaling aligned with PyTorch.
2025 Q3#
Variability in FeLIF and Heracles (PyTorch).
Heracles fixes:
dpcalculation; negative-polarization bug.Negative polarization implemented in PyTorch.
MPI support added to the Docker workspace.
Bipolar switching on PyTorch.
Two-phase plasticity on PyTorch.
Heracles implemented with Bruno on both PyTorch and JAX.
2025 Q2#
PyTorch implementation of ELEANOR; package reorganized.
Docker container updated.
Simplified FeLIF model.
Memory and time analysis utilities; time-measurement test.
NoBrunoclass; adjustedinitial_P.
2025 Q1#
Variability added to the models.
Generalized weight quantization class supporting non-stochastic rounding.
Import fix in
models.py.
[Pre-v0.0.dev0] — 2024#
2024 Q4#
Optuna HPO experiments for Heracles and LIF; analysis scripts.
Weight quantization with STE scaling.
FeLIFv2; reset polarization based on SPICE simulation.
Yin Yang dataset benchmark.
Scaler model; Heracles firing based on voltage.
Heracles parameter documentation.
ROCm JAX support in
pyproject; CUDA Dockerfile.
2024 Q3#
Renamed project to ELEANOR; refactor + documentation pass.
Docker container created.
Quantization work started; refactor toward SNNAX.
New model based on the IEDM submission.
2024 Q2#
FeLIF on Equinox.
SHD split into LIF and FeLIF paths; LI output layer.
Inner polarization loop script.
Neuron optimization example; NNI exploration with regularizer.
2024 Q1#
Initial commit; FeLIF neuron in JAX; Braille training example.