From 18e93afc73a3243aa04c082436a156387c374a4d Mon Sep 17 00:00:00 2001 From: Alexander Borzunov Date: Thu, 24 Aug 2023 19:57:15 +0400 Subject: [PATCH] Don't install cpufeature on non-x86_64 machines (#478) Necessary since cpufeature crashes when installing on ARM. --- setup.cfg | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.cfg b/setup.cfg index 118b446..204859b 100644 --- a/setup.cfg +++ b/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