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

Function wrapper

tensorrt_llm/_torch/device_mesh.py:20–23  ·  view source on GitHub ↗
(self, *args, **kwargs)

Source from the content-addressed store, hash-verified

18
19 @wraps(func)
20 def wrapper(self, *args, **kwargs):
21 if DeviceMeshTopologyImpl.device_mesh is None:
22 self.build_mesh()
23 return func(self, *args, **kwargs)
24
25 return wrapper
26

Callers

nothing calls this directly

Calls 2

funcFunction · 0.50
build_meshMethod · 0.45

Tested by

no test coverage detected