show_environment_info() — pytorch Function Reference
Architecture documentation for the show_environment_info() function in benchmark.py from the pytorch codebase.
Entity Profile
Dependency Diagram
graph TD 33d8ab08_0a75_8d11_3878_4c0cc92b472f["show_environment_info()"] 40a19abe_a75a_07e4_e110_69bd1273c827["main()"] 40a19abe_a75a_07e4_e110_69bd1273c827 -->|calls| 33d8ab08_0a75_8d11_3878_4c0cc92b472f style 33d8ab08_0a75_8d11_3878_4c0cc92b472f fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
benchmarks/dynamo/genai_layers/benchmark.py lines 46–51
def show_environment_info():
"""Show environment information."""
print("Environment information:")
print(f" Python version: {sys.version}")
print(f" PyTorch version: {torch.__version__}")
print(f" CUDA version: {torch.version.cuda}")
Domain
Subdomains
Called By
Source
Frequently Asked Questions
What does show_environment_info() do?
show_environment_info() is a function in the pytorch codebase.
What calls show_environment_info()?
show_environment_info() is called by 1 function(s): main.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free