Skip to content

Releases: lume-science/lume-torch

v2.0.1

20 Oct 18:28
32b7bad

Choose a tag to compare

What's Changed

Note: these changes might be incompatible with multitask GP implementations that used botorch versions <0.15.

Full Changelog: v2.0.0...v2.0.1

v2.0.0

05 Aug 18:58
f8632c0

Choose a tag to compare

Breaking Changes

  • torch and botorch are now part of the base requirements
  • register_to_mlflow no longer takes an input example as an argument
    • Adjust logging to support non-torch custom models by @pluflou in #127

New Features

  • TorchModel input and output transformers now accept a Callable type

Bug Fixes

Full Changelog: v1.9.3...v2.0.0

v1.9.3

27 Jun 19:30
c9bd815

Choose a tag to compare

What's Changed

  • Fix MLflow logging when another run is active by @pluflou in #125

Full Changelog: v1.9.2...v1.9.3

v1.9.2

26 Jun 16:36
108ab35

Choose a tag to compare

What's Changed

  • Fix MLflow type hint/signature warnings by @pluflou in #121
  • Migrate from outdated branch-based docs deployment to GHA by @pluflou in #122
  • Adjust optional dependencies by @pluflou in #124

Full Changelog: v1.9.1...v1.9.2

v1.9.1

28 May 00:10
7ffb48a

Choose a tag to compare

What's Changed

  • Adjust inputs order for prob models/gps, add mlflow to main requs by @pluflou in #119

Full Changelog: v1.9.0...v1.9.1

v1.9.0

22 May 23:03
6bef2a8

Choose a tag to compare

What's Changed

Full Changelog: v1.8.1...v1.9.0

v1.8.1

08 Apr 21:12
1a13363

Choose a tag to compare

What's Changed

Full Changelog: v1.8.0...v1.8.1

v1.8.0

24 Mar 20:44
822a536

Choose a tag to compare

What's Changed

  • Support torch.nn.Linear transformers by @t-bz in #101
  • Add input and output validation by @pluflou in #104
  • Add validation by @t-bz in #102
  • Add global random seed for deterministic tests by @allrob23 in #95
  • Update python versions by @pluflou in #105
    • Make minimum Python version be 3.10
  • Improve variable validation by @pluflou in #106
  • adding save_jit option to save scripted jit module by @RevathiJambunathan in #103
  • Fix bug in default validation by @pluflou in #110
  • add jit filename to yaml and load jit if available by @pluflou in #111
  • Merging updates from main by @pluflou in #113
  • Add tests and docs by @pluflou in #107
    • Add linting using ruff/pre-commit hooks
    • Update docs to reflect changes above
    • Adjust codebase to support latest Botorch

Note that the variable classes have changes, and now only ScalarVariable is used. Other subclasses: InputVariable, ScalarInputVariable etc were deprecated. Changes to attribute names for ScalarVariable class have also been updated, notably: variable_type is now variable_class (specified as a lume_model.variables class), default is now default_value (required for TorchModel inputs), and all input default values need to be within the value_range provided for all TorchModel inputs.

Examples of the new API can be found in the README and the example notebooks.

New Contributors

Full Changelog: v1.7.1...v1.8.0

v1.7.1

06 Nov 22:58
352d5d4

Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v1.7.0...v1.7.1

LUME-Model v1.7.0

01 Mar 20:57
2921e65

Choose a tag to compare

What's Changed

  • Discontinue support for Python 3.7 & 3.8 and pin pydantic version by @t-bz in #84
  • Register transformers and add option to pass a model to PyTorchModel constructor by @t-bz in #85
  • Make LUMEBaseModel pydantic and change in-/output variables to lists by @t-bz in #86
  • Clean up and restructure model subpackages by @t-bz in #87
  • Pydantic v2 by @roussel-ryan in #88
  • Allow relative paths in YAML files and update docs by @t-bz in #89

New Contributors

Full Changelog: v1.6.0...v1.7.0