Skip to content

Commit

Permalink
Update Monitor call (#123)
Browse files Browse the repository at this point in the history
Co-authored-by: Pierre Delaunay <[email protected]>
  • Loading branch information
Delaunay and Pierre Delaunay authored May 5, 2023
1 parent 0c5c00e commit 2184df1
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions benchmarks/accelerate_opt/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -116,9 +116,7 @@ def monitor_fn():
mblog({"task": "main", "gpudata": data})

monitor_fn()
# NOTE: First argument to Monitor is not used and will be removed in the
# next version of voir, make sure to remove it when that happens!
monitor = Monitor(None, 3, monitor_fn)
monitor = Monitor(3, monitor_fn)
monitor.start()

else:
Expand Down

0 comments on commit 2184df1

Please sign in to comment.