Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Some compilation options are for amd64 only, doesn't work on arm64 #29

Open
athoune opened this issue Dec 6, 2023 · 0 comments
Open

Comments

@athoune
Copy link

athoune commented Dec 6, 2023

On a tiny Hetzner ARM instance, a simple pip install . raises an error :

Building wheels for collected packages: whispercpp
  Building wheel for whispercpp (pyproject.toml) ... error
  error: subprocess-exited-with-error

  × Building wheel for whispercpp (pyproject.toml) did not run successfully.
  │ exit code: 1
  ╰─> [5 lines of output]
      aarch64-linux-gnu-gcc: error: unrecognized command-line option ‘-mavx’
      aarch64-linux-gnu-gcc: error: unrecognized command-line option ‘-mavx2’
      aarch64-linux-gnu-gcc: error: unrecognized command-line option ‘-mfma’
      aarch64-linux-gnu-gcc: error: unrecognized command-line option ‘-mf16c’
      error: command '/usr/bin/aarch64-linux-gnu-gcc' failed with exit code 1
      [end of output]

  note: This error originates from a subprocess, and is likely not a problem with pip.
  ERROR: Failed building wheel for whispercpp
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant