blazefl.reproducibility

blazefl.reproducibility#

Reproducibility module for BlazeFL.

Functions

seed_everything(seed)

Seeds the global random number generators for all relevant libraries.

setup_reproducibility(seed)

Configures the environment-level settings for deterministic behavior.

create_rng_suite(seed)

Creates a new suite of isolated random number generators from a single seed.

Classes

RandomStateSnapshot(environ, python, numpy, ...)

A snapshot of the global random state for major libraries.

RNGSuite(python, numpy, torch_cpu[, torch_cuda])

A container for a suite of isolated random number generators.