MCPcopy
hub / github.com/NVIDIA/TensorRT-LLM / __new__

Method __new__

tensorrt_llm/mapping.py:490–494  ·  view source on GitHub ↗
(cls, *args, **kwargs)

Source from the content-addressed store, hash-verified

488 """
489
490 def __new__(cls, *args, **kwargs):
491 if mpi_disabled():
492 return super().__new__(DeviceMeshTopology)
493 else:
494 return super().__new__(MpiTopology)
495
496 # Intentionally repeated for type hints
497 def __init__(

Callers 2

cloneMethod · 0.45
create_pluginMethod · 0.45

Calls 1

mpi_disabledFunction · 0.90

Tested by

no test coverage detected