Skip to content

Commit

Permalink
Fix multi-spawns
Browse files Browse the repository at this point in the history
  • Loading branch information
rishi-s8 committed Oct 5, 2022
1 parent fbccad6 commit 424c488
Showing 1 changed file with 0 additions and 18 deletions.
18 changes: 0 additions & 18 deletions eval/testing.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,24 +50,6 @@ def read_ini(file_path):
l = Linear(n_machines, procs_per_machine)
m_id = args.machine_id

mp.spawn(
fn=DPSGDNode,
nprocs=procs_per_machine,
args=[
m_id,
l,
g,
my_config,
args.iterations,
args.log_dir,
args.weights_store_dir,
log_level[args.log_level],
args.test_after,
args.train_evaluate_after,
args.reset_optimizer,
],
)

processes = []
for r in range(procs_per_machine):
processes.append(
Expand Down

0 comments on commit 424c488

Please sign in to comment.