code: def _guess_cluster_type() -> ClusterType:
      uname = os.uname()
      if uname.sysname == "Linux":
          if uname.release.endswith("-aws"):
              # Linux kernel versions on AWS instances are of the form "5.4.0-1051-aws"
              return ClusterType.AWS
          elif uname.nodename.startswith("rsc"):
              # Linux kernel versions on RSC instances are standard ones but hostnames start with "rsc"
              return ClusterType.RSC
  
      return ClusterType.FAIR
  
file_path: dinov2/dinov2/utils/cluster.py
imports: from enum import Enum
  import os
  from pathlib import Path
  from typing import Any, Dict, Optional
label_desc: Use image node_id 1 for calling a global function with example usage: _guess_cluster_type() and returns: ClusterType, ClusterType, ClusterType