-
Notifications
You must be signed in to change notification settings - Fork 516
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
Corenet detect M2 GPU #26
Comments
There's one way to do it quickly. If you are trying to use OpenELM, you will use LLM-Adapters and lm-evaluation-harness. I just searched and replaced ' "cpu" ' with' "mps" ' throughout the files. Also, I added the mps selection code in corenet file. (https://github.com/apple/corenet/pull/22/files). Worked well on M1 Pro. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I run the "train_a_new_model_on_a_new_dataset_from_scratch" notebook on my M2 and no GPUs are detected, the script moves to using CPUs. Is it possible to configure Corenet to detect the M2 GPU?
The text was updated successfully, but these errors were encountered: