Skip to content

Commit 9ce3a0a

Browse files
only set torch random seed
Signed-off-by: Brian Dellabetta <bdellabe@redhat.com>
1 parent 303ac43 commit 9ce3a0a

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

tests/lmeval/test_lmeval.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
import os
2-
import random
32
import shutil
43
from pathlib import Path
54

@@ -59,8 +58,6 @@ class TestLMEval:
5958
""" # noqa: E501
6059

6160
def set_up(self):
62-
random.seed(42)
63-
numpy.random.seed(42)
6461
torch.manual_seed(42)
6562

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

0 commit comments

Comments
 (0)