Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions python/nvfuser/benchmark_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -157,4 +157,5 @@ def __call__(self):
elapsed_host_time = profile.host_time_ms / 1e3
self._increment_global_time(elapsed_host_time)
self.execution_start = not self.execution_start

return self.current_time
2 changes: 1 addition & 1 deletion python/nvfuser/pytorch_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ def get_device_properties() -> Tuple[int, float]:
DEVICE_PROPERTIES = get_device_properties()


def retry_on_oom_or_skip_test(func):
def etry_on_oom_or_skip_test(func):
"""Decorator: upon torch.OutOfMemoryError clear the cache and retry test"""

@functools.wraps(func)
Expand Down