Skip to content

Commit

Permalink
only set torch random seed
Browse files Browse the repository at this point in the history
Signed-off-by: Brian Dellabetta <[email protected]>
  • Loading branch information
brian-dellabetta committed Mar 6, 2025
1 parent 1f2ce00 commit 1f4338b
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions tests/lmeval/test_lmeval.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import os
import random
import shutil
from pathlib import Path

Expand Down Expand Up @@ -59,8 +58,6 @@ class TestLMEval:
""" # noqa: E501

def set_up(self):
random.seed(42)
numpy.random.seed(42)
torch.manual_seed(42)

eval_config = yaml.safe_load(Path(TEST_DATA_FILE).read_text(encoding="utf-8"))
Expand Down

0 comments on commit 1f4338b

Please sign in to comment.