Skip to content

Commit cbca922

Browse files
authored
Fix CI failures
Differential Revision: D86037092 Pull Request resolved: #613
1 parent 1e5d7e3 commit cbca922

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

tritonbench/utils/triton_op.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -891,6 +891,9 @@ def __post__init__(self):
891891
f"Input IDs to run: {self._input_ids}",
892892
)
893893

894+
def get_backend(self, bm_func_name: str):
895+
return REGISTERED_BENCHMARKS[self.name][bm_func_name]
896+
894897
def _get_bm_func(self, bm_func_name: str):
895898
fwd_fn_lambda = getattr(self, bm_func_name, None)
896899
assert callable(fwd_fn_lambda), (

0 commit comments

Comments
 (0)