mirror of
https://github.com/finegrain-ai/refiners.git
synced 2024-11-09 15:02:01 +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:
|
||||
if seed is None:
|
||||
seed = random.randint(0, 2**32 - 1)
|
||||
logger.info(f"Using random seed: {seed}")
|
||||
random.seed(a=seed)
|
||||
np.random.seed(seed=seed)
|
||||
manual_seed(seed=seed)
|
||||
|
|
Loading…
Reference in a new issue