question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

List of crashing tests in M1 GPU (mps)

See original GitHub issue

Describe the bug

This issue is created to list all the tests cases, which are crashing on M1 GPU (torch.device(‘mps’)), so we can at least run all the tests, which are running, failing or not.

  • test/test_metrics.py::TestPsnr::test_metric
  • test/feature/test_laf.py::TestAngleToRotationMatrix::test_angles
  • test/geometry/camera/test_perspective.py::TestProjectPoints::test_project_and_unproject
  • test/geometry/calibration/test_pnp.py::TestNormalization
  • test/geometry/epipolar/test_epipolar_metrics.py::TestSymmetricalEpipolarDistance::test_shift

Reproduction steps

skip

Expected behavior

skip

Environment

skip

Additional context

No response

Issue Analytics

  • State:open
  • Created a year ago
  • Comments:13 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
ducha-aikicommented, Sep 16, 2022

@edgarriba spatial gradient is fixed here https://github.com/kornia/kornia/pull/1898 There is also “spatial_gradient3d”, which is not fixed, but there 3d convolution is actually correct alg and it is much rarery used

Read more comments on GitHub >

github_iconTop Results From Across the Web

Dmytro Mishkin @ducha_aiki@sigmoid.social en Twitter: "If anyone ...
If anyone wants to help with isolating crashing tests (like python is crashing) in order to figure out which functionality of kornia works...
Read more >
Running PyTorch on the M1 GPU - Hacker News
MPS (Metal backend for PyTorch) is pretty poor integrated right now most of my custom models are crashing and pure Swift + MPSGraph...
Read more >
MPSGraph adamUpdateWithLearningRa… - Apple Developer
An important attribute of this issue is that it crashes on a 2019 16" MBP w/discrete GPU. I have an M1 mac mini...
Read more >
Code didn't speed up as expected when using `mps`
I'm really excited to try out the latest pytorch build (1.12.0.dev20220518) for the m1 gpu support, but on my device (M1 max, 64GB, ......
Read more >
Running PyTorch on the M1 GPU - Sebastian Raschka
According to the fine print, they tested this on a Mac Studio with an M1 Ultra. I am assuming CPU here refers to...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found