Skip to content

Commit

Permalink
env RANDOM_SEED no longer necessary
Browse files Browse the repository at this point in the history
  • Loading branch information
calad0i committed Dec 8, 2023
1 parent 15ec3aa commit 624bcb9
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions hls4ml/__init__.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
import os

from hls4ml import converters, report, utils # noqa: F401

try:
Expand All @@ -24,5 +22,3 @@ def reseed(newseed):
torch.manual_seed(newseed)
except ImportError:
print('\nPyTorch seed not set')

os.environ['RANDOM_SEED'] = f'{newseed}'

0 comments on commit 624bcb9

Please sign in to comment.