瀏覽代碼

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