Remove extra `get_cpu_info` return (#16382)

pull/4267/head^2
Laughing 4 months ago committed by GitHub
parent 07a5ff9ddc
commit 733781d1d4
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 2
      ultralytics/utils/torch_utils.py

@ -122,8 +122,6 @@ def get_cpu_info():
PERSISTENT_CACHE["cpu_info"] = string.replace("(R)", "").replace("CPU ", "").replace("@ ", "")
return PERSISTENT_CACHE.get("cpu_info", "unknown")
return "unknown"
def select_device(device="", batch=0, newline=False, verbose=True):
"""

Loading…
Cancel
Save