Skip to content

Commit

Permalink
Merge pull request #17 from wffpy/dev0
Browse files Browse the repository at this point in the history
fix logger without start
  • Loading branch information
wffpy authored Jan 7, 2025
2 parents 5859188 + 27521dc commit 83dcaa2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/module_logging/perf/logger.py
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@ def __torch_dispatch__(self, op, types, args=(), kwargs=None):
if self.enable_profiling:
torch.cuda.synchronize()
# insert pre-op delimiter
# print("[START_SYMBOL]: {} ns".format(str(op)), flush=True)
print("[START_SYMBOL]: {} ns".format(str(op)), flush=True)
# if cpp_extend:
# from .. import Hook
# print("{} start at: {}".format(str(op), Hook.get_current_time()))
Expand Down

0 comments on commit 83dcaa2

Please sign in to comment.