Skip to content

Commit

Permalink
Update available_configs.json and binaries.json (#27776)
Browse files Browse the repository at this point in the history
  • Loading branch information
NripeshN authored Dec 19, 2023
1 parent f0ed697 commit 55e0176
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 17 deletions.
7 changes: 6 additions & 1 deletion binaries.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,11 @@
"LX.so",
"L.so",

"MC.so",
"MD.so",
"MI.so",
"ML.so",
"MM.so",
"MV.so",
"MX.so",
"M.so",
Expand All @@ -62,7 +65,9 @@
"XM.so",
"XV.so",
"XX.so",
"X.so"
"X.so",

"IIC.so"
]
}
]
Expand Down
17 changes: 1 addition & 16 deletions ivy/utils/binaries.py
Original file line number Diff line number Diff line change
Expand Up @@ -75,22 +75,7 @@ def cleanup_and_fetch_binaries(clean=True):
print("Cleaning up existing binaries --> done")

print("Downloading new binaries...")
# if apple silicon and python version os.sys.version >= 3.10.* and darwin
if (
"arm64" in os.uname().machine
and os.sys.version_info[:2] >= (3, 10)
and os.uname().sysname == "Darwin"
):
all_tags = ["cp310-cp310-macosx_arm64_darwin"]
# if apple silicon and python version os.sys.version >= 3.11.* and darwin
elif (
"arm64" in os.uname().machine
and os.sys.version_info[:2] >= (3, 11)
and os.uname().sysname == "Darwin"
):
all_tags = ["cp311-cp311-macosx_arm64_darwin"]
else:
all_tags = list(tags.sys_tags())
all_tags = list(tags.sys_tags())

version = os.environ["VERSION"] if "VERSION" in os.environ else "main"
terminate = False
Expand Down

0 comments on commit 55e0176

Please sign in to comment.