Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/NVIDIA/TensorRT
/ verify_python_version
Function
verify_python_version
demo/HuggingFace/run.py:277–279 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
275
276
277
def
verify_python_version():
278
if
sys.version_info.major < 3 or sys.version_info.minor <= 6:
279
raise
RuntimeError(
"HuggingFace OSS Demo does not support Python <= 3.6 due to end-of-life."
)
280
281
282
def
main() -> None:
Callers
1
main
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected