  import logging
  import os
  
  from typing import List, Optional
  
  from lib.utils import get_backend
  
 
</s> remove from typing import List, Optional, TypedDict
 </s> add from typing import List, Optional
import sys
  import logging
  import os
import sys
  
  from typing import List, Optional
  
  from lib.utils import get_backend
  
keep add keep keep keep keep keep
 bugfix: prevent error on python 3.7 
lib/gpu_stats/_base.py