Skip to content

Commit

Permalink
debug
Browse files Browse the repository at this point in the history
  • Loading branch information
priyakasimbeg committed Sep 25, 2023
1 parent 67fb0e4 commit faf775e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion submission_runner.py
Original file line number Diff line number Diff line change
Expand Up @@ -424,7 +424,7 @@ def train_once(
train_state['last_step_end_time'] = get_time()
if global_step == 2:
s = torch.cuda.memory._snapshot()
with open(f"/experiment_runs/snapshot_{global_step}_half_bsz.pickle", "wb") as f:
with open(f"/experiment_runs/snapshot_{global_step}_full_bsz.pickle", "wb") as f:
dump(s, f)
metrics = {'eval_results': eval_results, 'global_step': global_step}

Expand Down

0 comments on commit faf775e

Please sign in to comment.