-
Notifications
You must be signed in to change notification settings - Fork 620
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
[MNT] MPS backend test failures on MacOS #1596
Comments
Update: these seem to happen only on Mac |
happens on |
The failure on |
This is an issue related to device handling on GPU for macos. Will open a PR fixing this generally. |
MPS errors can only happen to macOS since they are the shaders of the m Chips as @fnhirwa said. This is probably caused by large neural networks that might perhaps run in parallel on the shaders. Fix could be to set the device to cpu for all tests (bottleneck now will become the normal ram) or alternatively reduce the ram. A more complicated solution could also be to check if we can control the parallel execution of tests so that no neural networks are run in parallel to others but only in parallel with simpler models. |
Given that this is a resource issue I am adding the changes to #1648 to see if it works. |
We can do it by using a filelock as a fixture. I have tried it in sktime/sktime#6774. |
It's caused by lack of nested-virtualization support: My tests:
@fnhirwa I am afraid We need to find a way to make Unfortunately, we do not have something like |
The CI fails with MPS backend failures on a number of tests:
The text was updated successfully, but these errors were encountered: