Home / Function/ should_diff_branch() — pytorch Function Reference

should_diff_branch() — pytorch Function Reference

Architecture documentation for the should_diff_branch() function in common.py from the pytorch codebase.

Entity Profile

Dependency Diagram

graph TD
  43ce1a6e_7fe2_4da2_e9e2_87cf5c9d44a4["should_diff_branch()"]
  60550900_f047_a85b_c5ab_ff80b30486b4["main()"]
  60550900_f047_a85b_c5ab_ff80b30486b4 -->|calls| 43ce1a6e_7fe2_4da2_e9e2_87cf5c9d44a4
  c9be2096_e6d7_2374_ad2e_a6e33f435ada["run()"]
  c9be2096_e6d7_2374_ad2e_a6e33f435ada -->|calls| 43ce1a6e_7fe2_4da2_e9e2_87cf5c9d44a4
  style 43ce1a6e_7fe2_4da2_e9e2_87cf5c9d44a4 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

benchmarks/dynamo/common.py lines 3112–3113

def should_diff_branch(args):
    return args.diff_branch != diff_branch_default

Subdomains

Called By

Frequently Asked Questions

What does should_diff_branch() do?
should_diff_branch() is a function in the pytorch codebase.
What calls should_diff_branch()?
should_diff_branch() is called by 2 function(s): main, run.

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free