We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 30d1074 commit a9577daCopy full SHA for a9577da
neural_compressor/utils/utility.py
@@ -921,7 +921,7 @@ def get_number_of_sockets() -> int:
921
if sys.platform == "win32":
922
cmd = 'wmic cpu get DeviceID | find /c "CPU"'
923
elif sys.platform == "darwin":
924
- cmd = 'sysctl -n machdep.cpu.core_count'
+ cmd = "sysctl -n machdep.cpu.core_count"
925
926
proc = subprocess.Popen(
927
args=cmd,
0 commit comments