code: def log_env_info():
      
      logging.info('Collecting environment information...')
      env_info = torch.utils.collect_env.get_pretty_env_info()
      logging.info(f'{env_info}')
docs: Prints information about execution environment.