Skip to content

Commit def3ec7

Browse files
shengfukevinfacebook-github-bot
authored andcommitted
Clean up dead code
Summary: Clean up dead code Differential Revision: D70739655
1 parent 68431b8 commit def3ec7

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

et_replay/tools/et_replay.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,6 @@
4343
from param_bench.train.compute.python.lib.init_helper import load_modules
4444
from param_bench.train.compute.python.workloads import pytorch as workloads_pytorch
4545
from torch._inductor.async_compile import AsyncCompile
46-
from torch._inductor.codecache import TritonFuture
4746

4847
# grid and split_scan_grid are dynamically loaded
4948
from torch._inductor.runtime.triton_heuristics import grid, split_scan_grid # noqa
@@ -1038,8 +1037,6 @@ def _generate_run_ops_str(override):
10381037
func, output_count = self.funcs[node.id]
10391038
if not func:
10401039
continue
1041-
if isinstance(func, TritonFuture):
1042-
func = func.result()
10431040

10441041
func_str = f"funcs[{node.id}]"
10451042
inputs_str = _generate_inputs_str(node)

0 commit comments

Comments
 (0)