MCPcopy Create free account
hub / github.com/NVIDIA/TensorRT / fail

Function fail

tools/Polygraphy/polygraphy/mod/importer.py:126–128  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

124 extra_flags = install_flags if install_flags is not None else _EXTRA_FLAGS_FOR_MODULE.get(modname, [])
125
126 def fail():
127 log_func = G_LOGGER.critical if raise_error else G_LOGGER.warning
128 log_func(f"Could not automatically install required module: {pkg}. Please install it manually.")
129
130 if config.ASK_BEFORE_INSTALL:
131 res = None

Callers 1

install_modFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected