code: def _hash_computation(hash_obj, module):
      if config.compilation_cache_include_metadata_in_key.value:
          canonical_ir = _serialize_ir(module)
      else:
          canonical_ir = _canonicalize_ir(module)
      hash_obj.update(canonical_ir)
  
imports: import copy
  import hashlib
  import io
  import logging
  import os
  import sys
  from jax._src import config
  from jax._src.lib import version_str
  from jax._src.lib import xla_client
  from jax._src.lib.mlir import ir
  from jax._src.lib.mlir import passmanager
  import numpy
label_desc: Use image node_id 8 for calling a global function with example usage: _hash_computation(hash_obj, module) without return types