Skip to content

Commit

Permalink
Removed run setup.py in model.py
Browse files Browse the repository at this point in the history
  • Loading branch information
David Hovstadius committed Oct 29, 2024
1 parent 5d6f69a commit 7f29a52
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions client/model.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
import torch
import collections
import tempfile
import subprocess

HELPER_MODULE = "numpyhelper"
helper = get_helper(HELPER_MODULE)
Expand Down Expand Up @@ -52,10 +51,5 @@ def init_seed(out_path):
model = compile_model()
save_parameters(model, out_path)

def run_setup():
"""Run setup.py before the main code execution."""
subprocess.run(["python3", "setup.py"], check=True)

if __name__ == "__main__":
run_setup()
init_seed('../seed.npz')

0 comments on commit 7f29a52

Please sign in to comment.