MCPcopy Index your code
hub / github.com/NVIDIA/TensorRT-LLM / wrapper

Function wrapper

tensorrt_llm/_torch/utils.py:107–109  ·  view source on GitHub ↗
(self, *args, **kwargs)

Source from the content-addressed store, hash-verified

105 def decorator(func):
106
107 def wrapper(self, *args, **kwargs):
108 with model_extra_attrs(get_attrs(self)):
109 return func(self, *args, **kwargs)
110
111 return wrapper
112

Callers

nothing calls this directly

Calls 3

model_extra_attrsFunction · 0.85
is_piecewise_runningFunction · 0.85
funcFunction · 0.50

Tested by

no test coverage detected