code: def estimate_op_runtime(
      snode: "scheduler.BaseSchedulerNode",
  ) -> float:
      """
      Returns estimated op runtime in nanoseconds (ns)
      """
      if config.estimate_op_runtime == "default":
          runtime = snode.get_estimated_runtime()
      else:
          assert callable(config.estimate_op_runtime)
          runtime = config.estimate_op_runtime(snode)
      return runtime
  
file_path: pytorch/torch/_inductor/comms.py
imports: from typing import List
  import torch
  from .None import config, ir, scheduler
  from .dependencies import WeakDep
  from .utils import tuple_sorted
label_desc: Use image node_id 7 for calling a global function with example usage: estimate_op_runtime(snode) and returns: runtime