  
  import logging
  import os
  
  from typing import List, Optional, TypedDict
  
  from lib.utils import get_backend
  
  
  _EXCLUDE_DEVICES: List[int] = []
 
</s>
from typing import List, Optional
  
  import logging
  import os
  
from typing import List, Optional
  
  from lib.utils import get_backend
  
  
  _EXCLUDE_DEVICES: List[int] = []
keep keep keep keep replace keep keep keep keep keep
 bugfix: prevent error on python 3.7
lib/gpu_stats/_base.py