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

RuntimeError: PyTorch is not linked with support for mps devices #12

Open
AnisH1427 opened this issue Aug 2, 2024 · 3 comments
Open

Comments

@AnisH1427
Copy link

I clone the project, and trying to do what is mentioned in examples/sports. I first installed the requirements, run main.py for PITCH_DETECTION but got this error.
image

@dsaha21
Copy link

dsaha21 commented Aug 3, 2024

Hi @AnisH1427, Please follow these steps below :

If you are running on the local system

  1. With cpu, keep the deafult (follow the steps as mentioned)
  2. If you have GPU- type --device cuda

If you dont have a gpu local system, and dont want to run on CPU, you can run it on colab with run device to t4 gpu and write --device cuda

As per my understanding, MacOS already consist of a mps device which is not in there in the case of Windows. You can give the above steps a try. Thank you

@jotatx
Copy link

jotatx commented Aug 24, 2024

running local with a intel i7/ Nvidia 4050 gpu, called '--device cuda' and it still renders the 'mps' issue.

@dsaha21
Copy link

dsaha21 commented Aug 25, 2024

Hi @jotatx, this should run on 4050.... Please give a try on colab then once :)

@SkalskiP any solution for this to run on the local system with 4050 gpu. With this gpu specs, this should run..

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

3 participants