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

Function no_publish

tools/Polygraphy/setup.py:24–28  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

22
23
24def no_publish():
25 blacklist = ["register"]
26 for cmd in blacklist:
27 if cmd in sys.argv:
28 raise RuntimeError(f"Command '{cmd}' blacklisted")
29
30
31REQUIRED_PACKAGES = []

Callers 1

mainFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected