-
Notifications
You must be signed in to change notification settings - Fork 59
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 I run assignment3 locally? #4
Comments
Yes, you will need GPU acceleration which is supported by PyTorch for M1 chips as well. You can install PyTorch by following this guide https://developer.apple.com/metal/pytorch/. Then just install the requirements: pip install -r assignment3/requirements.txt |
thanks~ |
What should I do additionally? Only comment out the code about google colab? |
You should also do the following changes in the files that actually use GPU acceleration:
|
Is that all I need to do? |
I can't confirm since I don't have Apple M1. It should be all but if you encounter any issues let me know. |
thanks a lot~ |
Using my MacBook Pro M1
The text was updated successfully, but these errors were encountered: