Flowmc

Latest version: v0.4.0

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

Scan your dependencies

Page 1 of 2

0.4.0

This is a major release of `flowMC`. The main changes includes the addition of a new intermediate API centers around the resource-strategy design, where users can customize the sampling algorithm to employ more complex algorithm. There are some breaking changes in the top level API but it should be relatively straightforward to migrate from the older flowMC version to this version.

What's Changed
* 170 lower precision training by kazewong in https://github.com/kazewong/flowMC/pull/171
* minor fix of the example using a non-jax likelihood by marylou-gabrie in https://github.com/kazewong/flowMC/pull/176
* New script to generate useful plots by Qazalbash in https://github.com/kazewong/flowMC/pull/179
* Update Sampler and NFModel classes by kazewong in https://github.com/kazewong/flowMC/pull/182
* Update optax requirement and remove testing print statement by thomasckng in https://github.com/kazewong/flowMC/pull/180
* 188 updating project infrastructures by kazewong in https://github.com/kazewong/flowMC/pull/189
* 190 updating documentation to align with the latest version of flowmc by kazewong in https://github.com/kazewong/flowMC/pull/196
* 193 improve coverage of flowmc by kazewong in https://github.com/kazewong/flowMC/pull/197
* 198 generalize buffer by kazewong in https://github.com/kazewong/flowMC/pull/199

New Contributors
* Qazalbash made their first contribution in https://github.com/kazewong/flowMC/pull/179
* thomasckng made their first contribution in https://github.com/kazewong/flowMC/pull/180

**Full Changelog**: https://github.com/kazewong/flowMC/compare/flowMC-0.3.4...flowMC-0.4.0

0.3.4

What's Changed
* update example and add print summary to Sampler by ThibeauWouters in https://github.com/kazewong/flowMC/pull/169
* The previous load model function does not correctly load the model by kazewong in https://github.com/kazewong/flowMC/pull/172


**Full Changelog**: https://github.com/kazewong/flowMC/compare/flowMC-0.3.3...flowMC-0.3.4

0.3.3

What's Changed
* 165 add probability floor to normalizing flow model -> updating Adam optimizer to optimize with constraint by kazewong in https://github.com/kazewong/flowMC/pull/168


**Full Changelog**: https://github.com/kazewong/flowMC/compare/flowMC-0.3.2...flowMC-0.3.3

0.3.2

Optimization strategy is included in this version.

Also fixed a bug in the flow model that prevent training

What's Changed
* 163 implement optimization strategy by kazewong in https://github.com/kazewong/flowMC/pull/164


**Full Changelog**: https://github.com/kazewong/flowMC/compare/flowMC-0.3.1...flowMC-0.3.2

0.3.1

Fixing training bugs and sampling bugs. Previous version incorrectly also start at initial position instead of actually stepping during sampling. This is fixed and tested with community example now.

**Full Changelog**: https://github.com/kazewong/flowMC/compare/flowMC-0.3.0...flowMC-0.3.1

0.3.0

The version release focuses on cleaning up the internal API, which should makes the study of auto-tuning way easier now. The top level API remains relatively unchanged. On the performance side, most noticeably the compilation time of the normalizing flow has been reduced significantly.



For the next version of flowMC (0.4.0), the main focus will be some sort of auto-tune and adding more potential strategies in the mix, including 1. using importance sampling with normalizing flow to further improve the sampling results 2. Start the normalizing flow with some variational inference scheme instead of from scratch.

What's Changed
* Bayeux example by kazewong in https://github.com/kazewong/flowMC/pull/146
* Added plotting utilities and refactored hyperparams by ThibeauWouters in https://github.com/kazewong/flowMC/pull/143
* small bug fix in keys for stepping optimizer by tedwards2412 in https://github.com/kazewong/flowMC/pull/148
* Sync branch 134 by kazewong in https://github.com/kazewong/flowMC/pull/150
* 134 add precommit script and fix formatting by kazewong in https://github.com/kazewong/flowMC/pull/151
* 144 get rid of random key set by kazewong in https://github.com/kazewong/flowMC/pull/152
* 153 use scan to reduce nf compilation time by kazewong in https://github.com/kazewong/flowMC/pull/154
* Sync branch 142 by kazewong in https://github.com/kazewong/flowMC/pull/155
* 142 sampling from arrays by kazewong in https://github.com/kazewong/flowMC/pull/156
* Update README.md by kazewong in https://github.com/kazewong/flowMC/pull/159
* 158 put training loop into nf class by kazewong in https://github.com/kazewong/flowMC/pull/160
* 157 making sampler composable by kazewong in https://github.com/kazewong/flowMC/pull/161

New Contributors
* ThibeauWouters made their first contribution in https://github.com/kazewong/flowMC/pull/143
* tedwards2412 made their first contribution in https://github.com/kazewong/flowMC/pull/148

**Full Changelog**: https://github.com/kazewong/flowMC/compare/flowMC-0.2.4...flowMC-0.3.0

Page 1 of 2

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.