Skip to content

Commit

Permalink
-
Browse files Browse the repository at this point in the history
  • Loading branch information
Your Name committed May 16, 2024
1 parent 009a857 commit 936cdaf
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion benchmarks/torchvision/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
import torchcompat.core as accelerator

import voir
from voir.asynctimer import DataloaderWrapper, DataloaderWrapperGiver, DataloaderWrapperSmuggle, StopProgram
from voir.wrapper import DataloaderWrapper, DataloaderWrapperGiver, DataloaderWrapperSmuggle, StopProgram
from giving import give, given
from cantilever.core.timer import timeit, timeiterator, show_timings

Expand Down
4 changes: 3 additions & 1 deletion benchmarks/torchvision/voirfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,10 @@ def instrument_main(ov, options: Config):
if options.dash:
ov.require(dash)

overhead_metrics = [] # "__iter__", "overhead", "process_time"

ov.require(
log("value", "progress", "rate", "units", "loss", "gpudata", context="task"),
log("value", "progress", "rate", "units", "loss", "gpudata", *overhead_metrics, context="task"),
rate(
interval=options.interval,
skip=options.skip,
Expand Down

0 comments on commit 936cdaf

Please sign in to comment.