process_entry() — pytorch Function Reference
Architecture documentation for the process_entry() function in common.py from the pytorch codebase.
Entity Profile
Dependency Diagram
graph TD 27245bba_7bce_3446_86ed_29630ca8fe8a["process_entry()"] 60550900_f047_a85b_c5ab_ff80b30486b4["main()"] 60550900_f047_a85b_c5ab_ff80b30486b4 -->|calls| 27245bba_7bce_3446_86ed_29630ca8fe8a b723bea5_3f53_dc94_5332_34181acc6752["maybe_init_distributed()"] 27245bba_7bce_3446_86ed_29630ca8fe8a -->|calls| b723bea5_3f53_dc94_5332_34181acc6752 c9be2096_e6d7_2374_ad2e_a6e33f435ada["run()"] 27245bba_7bce_3446_86ed_29630ca8fe8a -->|calls| c9be2096_e6d7_2374_ad2e_a6e33f435ada 87423322_176a_b228_ba7e_98f801a037cf["process_caching_precompile()"] 27245bba_7bce_3446_86ed_29630ca8fe8a -->|calls| 87423322_176a_b228_ba7e_98f801a037cf style 27245bba_7bce_3446_86ed_29630ca8fe8a fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
benchmarks/dynamo/common.py lines 3728–3739
def process_entry(rank, runner, original_dir, args):
args.rank = rank
with maybe_init_distributed(
args.init_distributed,
rank=rank,
world_size=args.world_size,
port=args.distributed_master_port,
):
result = run(runner, args, original_dir)
if args.caching_precompile:
process_caching_precompile()
return result
Domain
Subdomains
Called By
Source
Frequently Asked Questions
What does process_entry() do?
process_entry() is a function in the pytorch codebase.
What does process_entry() call?
process_entry() calls 3 function(s): maybe_init_distributed, process_caching_precompile, run.
What calls process_entry()?
process_entry() 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