Skip to content

Releases: GFNOrg/torchgfn

v2.0.1

09 Jul 04:11
72da54c
Compare
Choose a tag to compare

What's Changed

  • Multiple improvements to replay buffers.
  • Support for conditional GFNs.
  • Support for graph-based states (using torch_geometric).
  • Major improvements supporting reproducible experiments in distributed settings.
  • Various quality of life improvements, small features, optimizations, and refactorings.
  • Complete type safety - library-wide adherence to pyright, while dropping torchtyping.
  • Improved documentation.
  • Addition of many new environments in gfn/gym.
  • Addition of new tutorials and examples demonstrating advanced usage of torchgfn.
  • Reproduction of DAG-GFlowNet (Bayesian Structure learning, Deleu et al., 2022).
  • Local search sampler (Local Search GFlowNets, Kim et al., 2024).

New Contributors

Full Changelog: v1.2.1...v2.0.1

New Replay Buffer, Computation Caching, Helper Functions, and Tutorials

24 Sep 17:29
Compare
Choose a tag to compare
  • License / Readme updates.
  • Updates to package requirements.
  • Addition of a Prioritised Replay Buffer.
  • GFlowNets now optionally save_logprobs or estimator_outputs -- this is to prevent unnecessary re-computation (depending on whether you are performing on-policy or off-policy learning).
  • Added self.logF*_parameters() methods to help when passing to a dedicated optimizer (differently from say pf and pb.
  • Helper functions (e.g., stack_states).
  • Improved tutorials - new use-cases and improved notebooks.

v1.2 Substantial Updates to Environment Definition and Sampling

16 Feb 19:23
3276492
Compare
Choose a tag to compare
  • Sampling now saves estimator outputs to avoid recomputation.
  • The user no longer has to define a class factory when defining environments.
  • New examples added.
  • Other small quality of life improvements to prevent silent bugs (often these require the user to more explicitly define expected behaviours when sampling etc).

Version 1.1.1

04 Sep 18:55
Compare
Choose a tag to compare

Bug fix : #134

  • From now on, the published version (on pypi) and the release should correspond to the stable branch

Version 1.1

14 Aug 22:48
Compare
Choose a tag to compare

Minor API changes from v1 - for simplicity.

Version 1.0

03 Aug 19:40
24633d0
Compare
Choose a tag to compare

Major API change. More flexibility in environment creation.

torchgfn v0.2

30 May 23:39
Compare
Choose a tag to compare

This version incudes all the functionalities used in other codebases that rely on this library up to this day.

With the given code, results published in several papers can be reproduced.

This should be the last version before v1, that supports more generic environments.

In this version, the name of the repo (as well as the pypi package and the docs) has changed to torchgfn.

Version 0.1

23 May 20:27
Compare
Choose a tag to compare

This version supports simple discrete environments, and is used in published research papers.