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

Can't install on M2 Mac #83

Closed
boxabirds opened this issue Apr 23, 2023 · 3 comments
Closed

Can't install on M2 Mac #83

boxabirds opened this issue Apr 23, 2023 · 3 comments

Comments

@boxabirds
Copy link

Hi whether I use pip or directly with python setup.py install I'm getting a dependency issue on my M2 Mac.

error: Could not find suitable distribution for Requirement.parse('onnxruntime')

onnxruntime does not seem to support M2 Macs at the moment. onnxxruntime-silicon also appears to be a dead end (also saying there is no version available)

I used whisper-timestamped a few months ago (v 1.7.2) and installation / execution worked fine on my M2 Mac. Could this be a new dependency that prevents usage on M2 Macs? Was onnxruntime always a dependency?

@Jeronymous
Copy link
Member

Indeed dependencies changed when an option to run VAD was added.
But it's a pity to force those dependencies for people not using the VAD option.
Also the method used for VAD may change soon (see #74).

So I ended up removing onnxruntime from the requirements, and mentioned that in the README for people using the VAD option.

@boxabirds
Copy link
Author

No problem thank you very much for your outstanding work. whisper-timestamped is absolutely brilliant. If you're interested please put up a Sponsor link -- if my POC that uses it comes to anything I'll gladly share the love.

@boxabirds
Copy link
Author

BTW I did a fresh install, being careful to installing onnxruntime first, and only against Python 3.9 as I had read somewhere that in general it's a good idea to avoid running against cutting edge python releases when working in the ML space and all worked well.

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

2 participants