Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
24
def
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
31
REQUIRED_PACKAGES = []
Callers
1
main
Function · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected