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

Function plugin_lib_path

tensorrt_llm/plugin/plugin.py:41–45  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

39
40
41def plugin_lib_path() -> str:
42 project_dir = Path(__file__).parent.parent.absolute()
43 dyn_lib = "libnvinfer_plugin_tensorrt_llm.so" if platform.system(
44 ) != "Windows" else "nvinfer_plugin_tensorrt_llm.dll"
45 return str(project_dir.joinpath("libs", dyn_lib))
46
47
48def _load_plugin_lib():

Callers 1

_load_plugin_libFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected