Skip to content

Commit

Permalink
chore: updates
Browse files Browse the repository at this point in the history
  • Loading branch information
peri044 committed Oct 23, 2024
1 parent 839c72e commit fca16a5
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions py/torch_tensorrt/dynamo/runtime/register_fake_class.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,12 @@
import torch


@torch.library.register_fake("tensorrt::execute_engine")
def fake_execute_engine(inputs, trt_engine):
breakpoint()
return trt_engine(inputs)


# namespace::class_name
@torch._library.register_fake_class("tensorrt::Engine")
class FakeTRTEngine:
Expand Down

0 comments on commit fca16a5

Please sign in to comment.