MCPcopy Create free account
hub / github.com/NVIDIA/TensorRT-LLM / wrapper

Function wrapper

tensorrt_llm/_ray_utils.py:39–41  ·  view source on GitHub ↗
(self, *args, **kwargs)

Source from the content-addressed store, hash-verified

37
38 @functools.wraps(func)
39 def wrapper(self, *args, **kwargs):
40 with self.engine.control_action():
41 return func(self, *args, **kwargs)
42
43 return wrapper

Callers

nothing calls this directly

Calls 2

control_actionMethod · 0.80
funcFunction · 0.50

Tested by

no test coverage detected