Преглед изворни кода

Don't install cpufeature on non-x86_64 machines (#478)

Necessary since cpufeature crashes when installing on ARM.
Alexander Borzunov пре 2 година
родитељ
комит
18e93afc73
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      setup.cfg

+ 1 - 1
setup.cfg

@@ -43,7 +43,7 @@ install_requires =
     tensor_parallel==1.0.23
     humanfriendly
     async-timeout>=4.0.2
-    cpufeature>=0.2.0
+    cpufeature>=0.2.0; platform_machine == "x86_64"
     packaging>=20.9
     sentencepiece>=0.1.99
     peft>=0.5.0