Remove seed_everything logging because it is too verbose

This commit is contained in:
limiteinductive 2024-04-22 15:49:40 +00:00 committed by Benjamin Trom
parent 5dde281ada
commit f32ccc3474

View file

@ -35,7 +35,6 @@ def human_readable_number(number: int) -> str:
def seed_everything(seed: int | None = None) -> None: def seed_everything(seed: int | None = None) -> None:
if seed is None: if seed is None:
seed = random.randint(0, 2**32 - 1) seed = random.randint(0, 2**32 - 1)
logger.info(f"Using random seed: {seed}")
random.seed(a=seed) random.seed(a=seed)
np.random.seed(seed=seed) np.random.seed(seed=seed)
manual_seed(seed=seed) manual_seed(seed=seed)