mirror of
https://github.com/finegrain-ai/refiners.git
synced 2024-11-21 21:58:47 +00:00
Remove seed_everything logging because it is too verbose
This commit is contained in:
parent
5dde281ada
commit
f32ccc3474
|
@ -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)
|
||||||
|
|
Loading…
Reference in a new issue