Skip to content

Commit

Permalink
move hipScopedMarker import
Browse files Browse the repository at this point in the history
  • Loading branch information
Rohan138 committed Sep 30, 2024
1 parent 0812d36 commit b13d624
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions vllm/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -238,10 +238,10 @@ def __init__(self, name=None):
self.name = name

def __call__(self, func):
from hipScopedMarker import hipScopedMarker


@wraps(func)
def inner(*args, **kwds):
from hipScopedMarker import hipScopedMarker
marker_name = self.name if self.name else f"{func.__name__}"
with hipScopedMarker(f"{marker_name}"):
return func(*args, **kwds)
Expand Down

0 comments on commit b13d624

Please sign in to comment.