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

MPS (Metal Performance Shaders) support for training #1572

Closed
ehsanfathi77 opened this issue May 15, 2024 · 3 comments
Closed

MPS (Metal Performance Shaders) support for training #1572

ehsanfathi77 opened this issue May 15, 2024 · 3 comments
Assignees

Comments

@ehsanfathi77
Copy link

When I train a model on my Mac I get this warning:

MPS available but not used. Set accelerator and devices using Trainer(accelerator='mps', devices=1).

Is there a way to take advantage of MPS to accelerate the training?

@ehsanfathi77
Copy link
Author

ehsanfathi77 commented May 15, 2024

it seems this works:

trainer_configs = {
    "accelerator": "mps"}

m = NeuralProphet(
    **trainer_configs
)

@MaiBe-ctrl MaiBe-ctrl self-assigned this Jun 15, 2024
@MaiBe-ctrl
Copy link
Collaborator

@ehsanfathi77 Thanks for reporting this issue. Could you provide the exact logs that you are getting and the macOS version of your machine please ?

@MaiBe-ctrl
Copy link
Collaborator

We have thoroughly investigated this issue, and we were unable to find or reproduce the reported problem. As a result, we will be closing this issue for now. If the issue persists, please feel free to reopen it.

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