← back to Exo
fix a few more linter errors
931ced7c01a01b0328cdedc41e0917b1e2739340 · 2024-07-27 17:09:34 -0700 · Alex Cheema
Files touched
Diff
commit 931ced7c01a01b0328cdedc41e0917b1e2739340
Author: Alex Cheema <alexcheema123@gmail.com>
Date: Sat Jul 27 17:09:34 2024 -0700
fix a few more linter errors
---
exo/helpers.py | 10 ++++------
1 file changed, 4 insertions(+), 6 deletions(-)
diff --git a/exo/helpers.py b/exo/helpers.py
index d1f9eb0b..713e4071 100644
--- a/exo/helpers.py
+++ b/exo/helpers.py
@@ -21,14 +21,12 @@ def get_system_info():
if psutil.MACOS:
if platform.machine() == "arm64":
return "Apple Silicon Mac"
- elif platform.machine() in ["x86_64", "i386"]:
+ if platform.machine() in ["x86_64", "i386"]:
return "Intel Mac"
- else:
- return "Unknown Mac architecture"
- elif psutil.LINUX:
+ return "Unknown Mac architecture"
+ if psutil.LINUX:
return "Linux"
- else:
- return "Non-Mac, non-Linux system"
+ return "Non-Mac, non-Linux system"
def get_inference_engine(inference_engine_name):
← 57b2f2a4 fix ruff lint errors
·
back to Exo
·
refactor(mlx): model sharding and add deepseek v2 support 666b1c83 →