Skip to content

Commit

Permalink
Try AMD64 instead
Browse files Browse the repository at this point in the history
  • Loading branch information
RedTachyon committed Apr 19, 2024
1 parent 3483334 commit 0e65f61
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cogment_lab/cli/download_cogment.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,10 @@ class Arch(Enum):

def get_current_arch() -> Arch:
py_machine = platform.machine()
if py_machine in ["x86_64", "i686", "AMD64"]:
if py_machine in ["x86_64", "i686", "AMD64", "aarch64"]:
return Arch.AMD64

if py_machine in ["arm64", "aarch64"]:
if py_machine in ["arm64"]:
return Arch.ARM64

raise RuntimeError(f"Unsupported architecture [{py_machine}]")
Expand Down

0 comments on commit 0e65f61

Please sign in to comment.