Torchgfn

Latest version: v1.2.1

Safety actively analyzes 710445 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 2

1.2.1

+ 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.

1.2

- 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).

1.1.1

Bug fix : https://github.com/saleml/torchgfn/issues/134
+ From now on, the published version (on pypi) and the release should correspond to the `stable` branch

1.1

Minor API changes from v1 - for simplicity.

1.0

Major API change. More flexibility in environment creation.

0.2

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`.

Page 1 of 2

Links

Releases

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.