π Geometric Computer Vision Library for Spatial AI
Python artificial-intelligencecomputer-visiondeep-learninghacktoberfestimage-processingmachine-learningneural-networkpythonpytorchroboticsspatial-ai
ci: move the MPS gate to torch 2.14.0 on macos-15 and re-record the baseline (#4202)
Dmytro Mishkin7efa3684f2d4
diff --git a/.github/workflows/pr_test_cpu.yml b/.github/workflows/pr_test_cpu.ymlindex 250e48d7f..d08daaa44 100644--- a/.github/workflows/pr_test_cpu.yml+++ b/.github/workflows/pr_test_cpu.yml@@ -173,19 +173,35 @@ jobs:model-weights-${{ needs.pre-tests.outputs.hash }}model-weights-- # Single blocking MPS leg: newest Python, float32, on the Apple-silicon- # macos-latest image (macos-14 segfaults inside MPS kernels; 15 and 26 verified working).+ # Single blocking MPS leg: newest Python, float32, on an Apple-silicon image.# The exact known-failure baseline is pinned as strict xfails (see #4159): a new failure,- # changed failure, skipped pin, or fixed pin makes the job red and requires review. That- # baseline was recorded under torch 2.9.1, so this leg deliberately stays there while the- # CPU matrix moves to 2.14.0; bumping it means re-recording the manifest in the same change.+ # changed failure, skipped pin, or fixed pin makes the job red and requires review. The+ # torch pin tracks the newest pin of the CPU matrix so the leg resolves the locked+ # dependency set; changing it means re-recording the manifest in the same change, because+ # a release that adds MPS kernels turns recorded failures into strict XPASSes.+ #+ # The image is pinned to macos-15 rather than macos-latest, and that is not cosmetic.+ # macos-latest is macos-26-arm64, whose GPU is paravirtualized; on macOS 26 torch 2.14+ # emits Metal 4 `mpp::tensor_ops::matmul2d` cooperative-tensor shaders, and that virtual+ # GPU cannot compile them. One shader specialization (matmul2d_descriptor<64,64,-1>) took+ # 664 tests down across every subpackage -- `linalg.inv`, `linalg.solve`, `inv_ex`,+ # `lu_factor_ex` and `F.conv3d` all route through it -- where the same runner on torch+ # 2.9.1 had 200 failures. The blocker is the *virtual* GPU and not macOS 26: a physical M1+ # on macOS 26.5 compiles those shaders and produces the same 14 failures this leg records.+ # The macOS 15 image is Metal 3 and takes the older kernel path, which is the path that+ # works on the runner fleet. Two consequences: no job here exercises the Metal 4 path that+ # users on current macOS run, and when GitHub retires macos-15 this leg stops scheduling+ # and `collector` goes red with no fallback -- so re-test macos-latest once upstream guards+ # those kernels by device capability, rather than waiting for the image to be retired.+ # Measured in https://github.com/kornia/kornia/issues/4159#issuecomment-5532655834.+ # macos-14 segfaults inside MPS kernels and must not be used.tests-mps:needs: [pre-tests]uses: ./.github/workflows/tests.ymlwith:- os: macos-latest+ os: macos-15python-version: '["3.13"]'- pytorch-version: '["2.9.1"]'+ pytorch-version: '["2.14.0"]'pytorch-dtype: float32device: mpspytest-extra: --xfail-known-failuresdiff --git a/.github/workflows/tests.yml b/.github/workflows/tests.ymlindex 3c96fc951..bb97edec1 100644--- a/.github/workflows/tests.yml+++ b/.github/workflows/tests.yml@@ -207,7 +207,10 @@ jobs:# The `device` fixture skips every test when the requested device is missing, so an mps# leg on a runner without a Metal device would be green with zero tests run. Fail here- # instead. macos-14 images segfault inside MPS kernels; macos-15 and later work.+ # instead. Image choice is not free: macos-14 segfaults inside MPS kernels, and on+ # macos-latest (macOS 26) the runner's virtual GPU cannot compile the Metal 4 shaders+ # torch 2.14 emits, which fails 664 tests. Use macos-15 -- see the tests-mps comment+ # in pr_test_cpu.yml before pointing an mps leg at any other image.- name: Verify MPS deviceif: inputs.device == 'mps'run: |diff --git a/CHANGELOG.md b/CHANGELOG.mdindex 720d96eb2..aa0b8d9ae 100644--- a/CHANGELOG.md+++ b/CHANGELOG.md@@ -79,6 +79,25 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0figures are rendered by `docs/generate_model_examples.py` and committed under`docs/source/_static/img/models/`, so the docs build needs neither the weights nor the sampleimages. (#4178)+* The blocking MPS CI gate now runs on torch 2.14.0 instead of 2.9.1, on the `macos-15` image+ instead of `macos-latest`, and its recorded failure baseline drops from 200 entries to 14.+ torch 2.14.0 adds MPS kernels for `grid_sample`'s 2-D and 3-D backward passes, for+ `padding_mode="border"` and 5-D `mode="nearest"` sampling, and for the eigen/QR/LU/SVD family+ (`eigh`, `svd`, `svdvals`, `qr`, `lu_solve`, `lstsq`, `cholesky_solve`, `matrix_exp`), so most of+ what used to fail on Apple silicon now runs there natively. What is still *pinned* in the+ baseline: `torch.linalg.eigvals`, which has no MPS kernel and keeps the 5-point essential-matrix+ solver off the device, and the `yuv420`/`yuv422` empty-input reshape defect. Separately,+ `tests/geometry/test_ransac.py` is *skipped* rather than pinned β it aborts the process on the+ runners' paravirtualized GPU, and a `SIGABRT` has no exception type to record+ ([#4204](https://github.com/kornia/kornia/issues/4204)); the skip costs 9 tests that pass on real+ Apple hardware, and `--run-mps-process-abort` runs them locally. The underlying limit is that a+ **batched** `torch.linalg.svd`/`svdvals`/`lstsq` fails to build a Metal pipeline once its input+ holds 8192 elements or more, which keeps `RANSAC`'s batched minimal solvers off the device+ ([#4201](https://github.com/kornia/kornia/issues/4201)); a single unbatched matrix is unaffected+ at any size. The image stays on `macos-15`: on `macos-latest` (macOS 26) the runner's *virtual*+ GPU cannot compile the Metal 4 cooperative-tensor shaders torch 2.14 emits, which fails 664+ tests β a physical M1 on macOS 26 compiles them fine. kornia still supports torch 2.5.1, so the+ in-tree MPS workarounds stay. (#4202)### Breaking changesdiff --git a/TESTING.md b/TESTING.mdindex 622c37923..d0002bb96 100644--- a/TESTING.md+++ b/TESTING.md@@ -290,25 +290,55 @@ profile manifest.**What MPS is.** The `mps` device uses Apple's Metal Performance Shaders backend. Run tests against it with `--device=mps`.-**Known unsupported operations.** Several operations are not implemented in the MPS backend and raise a `RuntimeError` at runtime:+**Known unsupported operations.** Several operations are not implemented in the MPS backend and raise at runtime:-| Operation | Error |-|---|---|-| `float64` (double precision) | `TypeError: Cannot convert a MPS Tensor to float64 dtype` |-| `complex128` (cdouble) | `NotImplementedError: β¦ not implemented for 'ComplexDouble'` |-| `F.grid_sample` with `padding_mode="border"` on 2D | `RuntimeError: MPS: Unsupported Border padding mode` |-| `F.grid_sample` with `mode="nearest"` on 5-D (3D volumes) | `RuntimeError: grid_sampler_3d: Unsupported Nearest interpolation` |-| `torch.autocast("mps")` | Converts output to float16 instead of preserving original dtype |+| Operation | Error | Torch versions |+|---|---|---|+| `float64` (double precision) | `TypeError: Cannot convert a MPS Tensor to float64 dtype` | all |+| `complex128` (cdouble) | `TypeError: Cannot convert a MPS Tensor to float64 dtype` (`NotImplementedError: β¦ not implemented for 'ComplexDouble'` before 2.14) | all |+| `torch.autocast("mps")` | Converts output to float16 instead of preserving original dtype | all |+| `torch.linalg.eigvals` (non-symmetric) | `NotImplementedError: The operator 'aten::_linalg_eigvals' is not currently implemented for the MPS device` | all, 2.14.0 included |+| **batched** `torch.linalg.svd` / `svdvals` / `lstsq` whose input holds 8192 elements or more | `RuntimeError: Failed to created pipeline state object β¦ XPC_ERROR_CONNECTION_INTERRUPTED` | 2.14.0 |+| `F.grid_sample` with `padding_mode="border"` on 2D | `RuntimeError: MPS: Unsupported Border padding mode` | <= 2.9.1 |+| `F.grid_sample` with `mode="nearest"` on 5-D (3D volumes) | `RuntimeError: grid_sampler_3d: Unsupported Nearest interpolation` | <= 2.9.1 |+| `grid_sample` backward (2D and 3D) | `NotImplementedError: The operator 'aten::grid_sampler_2d_backward' β¦` | <= 2.9.1 |+| `torch.linalg` `eigh`, `svd`, `qr`, `lu_solve`, `lstsq`, `cholesky_solve`, `matrix_exp` | `NotImplementedError: β¦ is not currently implemented for the MPS device` | <= 2.9.1 |++The last four rows moved between the two releases kornia's CI pins: torch 2.14.0 added MPS+kernels for the whole eigen/QR/LU/SVD family except `_linalg_eigvals`, for both `grid_sample`+backward passes, and for the two `grid_sample` forward modes above. That took the recorded MPS+baseline from 200 entries to 14. The intermediate 2.10-2.13 releases were not checked, and+kornia still supports torch 2.5.1, so the workarounds for those rows stay.++The new native SVD path carries its own ceiling: a **batched** `svd`, `svdvals` or `lstsq` fails+to build a Metal pipeline once its input holds 8192 elements or more (batch x rows x cols). The+threshold is inclusive and it is the first failing size, not the last working one -- measured+`(511, 4, 4)` = 8176 passes, `(512, 4, 4)` = 8192 raises. A single unbatched matrix is unaffected+at any size: `(1, 128, 128)` holds 16384 elements and succeeds, because torch stages a lone large+matrix on the CPU (`matrix too large to stage in MPS threadgroup memory ... falling back to CPU`).+That ceiling is why `RANSAC`'s batched minimal solvers still raise on MPS+([#4201](https://github.com/kornia/kornia/issues/4201)). It is *not* why they are absent from the+baseline below -- see the next section: they are skipped, because they abort the process before+they can raise.**How Kornia handles these automatically.** The test infrastructure in `conftest.py` and `testing/base.py` skips known-unsupported test classes at collection time so you don't need per-test guards for the common cases:- `test_gradcheck[mps*]` β skipped automatically (`gradcheck` requires float64)- `*[mps*cdtype1*]` β skipped automatically (parametrized `torch.cdouble` tests)- `test_autocast[mps*]` β skipped automatically (MPS autocast changes dtype)--The `padding_mode="border"` issue in `F.grid_sample` (2D) is worked around in the implementation (`kornia/feature/laf.py`) by clamping the sampling grid to `[-1, 1]` and using `padding_mode="zeros"`, which is mathematically equivalent.--**CI coverage.** Pull-request CI runs one blocking MPS leg (`tests-mps` in `.github/workflows/pr_test_cpu.yml`): the newest Python and the newest pinned PyTorch, `float32`, on the GitHub-hosted `macos-latest` Apple-silicon image. The exact known-failure baseline from [#4159](https://github.com/kornia/kornia/issues/4159) lives in `testing/known_failure_xfails/mps_float32.txt`. `--xfail-known-failures` applies those entries as strict xfails with their exact exception types. A new failure, a different exception, a skipped recorded test, or a fixed test therefore makes CI red.+- any module marked `mps_process_abort` on MPS β skipped automatically; today that is+ `tests/geometry/test_ransac.py`. RANSAC's batched minimal solvers abort the process (SIGABRT) on+ the paravirtualized GPU of the hosted macOS runners, at a site that moves between runs, and+ SIGABRT carries no exception type, so these **cannot be pinned** as strict xfails β the process+ dies and every test after it is lost ([#4204](https://github.com/kornia/kornia/issues/4204)).+ The marker lives on the test module, so a rename cannot silently disarm the skip. Real Apple+ hardware does not abort: `--run-mps-process-abort` (env `KORNIA_TEST_RUN_MPS_PROCESS_ABORT`)+ runs them anyway for local diagnosis, at the cost of failures the manifest does not pin β on an+ M1 with torch 2.14.0 that is 3 failed / 10 passed, so the skip costs 9 real-hardware passes.++The `padding_mode="border"` issue in `F.grid_sample` (2D) is worked around in the implementation (`kornia/feature/laf.py`) by clamping the sampling grid to the outermost pixel *centers*, at `Β±(1 - 1/size)`, and using `padding_mode="zeros"`, which is exactly equivalent. Clamping to `[-1, 1]` is not: with `align_corners=False` that is the outer edge of the border pixel, where bilinear sampling blends it with the zero padding.++**CI coverage.** Pull-request CI runs one blocking MPS leg (`tests-mps` in `.github/workflows/pr_test_cpu.yml`): the newest Python and the newest pinned PyTorch, `float32`, on the GitHub-hosted **`macos-15`** Apple-silicon image. The image is pinned deliberately. `macos-latest` is `macos-26-arm64`, whose GPU is paravirtualized, and on macOS 26 torch 2.14 emits Metal 4 `mpp::tensor_ops::matmul2d` cooperative-tensor shaders that this virtual GPU cannot compile β one specialization failed 664 tests across every subpackage, since `linalg.inv`, `linalg.solve`, `inv_ex`, `lu_factor_ex` and `F.conv3d` all route through it. The defect is the *virtual* GPU, not macOS 26: a physical M1 on macOS 26.5 compiles those shaders and produces the same 14 failures as this leg. macOS 15 is Metal 3 and takes the older kernel path, which is the path that happens to work on the runner fleet. Two consequences worth knowing: no job in this repository now exercises the Metal 4 path that users on current macOS actually run, and when GitHub retires the `macos-15` image this leg stops scheduling and `collector` goes red with no fallback. Re-test `macos-latest` once upstream guards those kernels by device capability; `macos-14` segfaults inside MPS kernels and must never be used. The comparison is recorded in [#4159](https://github.com/kornia/kornia/issues/4159#issuecomment-5532655834). The exact known-failure baseline from [#4159](https://github.com/kornia/kornia/issues/4159) lives in `testing/known_failure_xfails/mps_float32.txt`. `--xfail-known-failures` applies those entries as strict xfails with their exact exception types. A new failure, a different exception, a skipped recorded test, or a fixed test therefore makes CI red.Run the identical contract locally with `pixi run test-mps`. `PYTORCH_ENABLE_MPS_FALLBACK=1` silently routes missing MPS kernels to the CPU and invalidates the baseline, so unset it first. The manifest is a full-suite contract and is not intended for `-k` or partial-directory runs; use `pixi run test-module ... --device=mps --dtype=float32` for focused diagnosis without the manifest. "Full suite" means the suite as an `mps`-only run collects it: tests marked `device_agnostic` are deselected there and covered by the CPU jobs, so they never appear in the manifest.diff --git a/conftest.py b/conftest.pyindex 37cc9d1d4..e0b48a751 100644--- a/conftest.py+++ b/conftest.py@@ -293,6 +293,40 @@ def pytest_generate_tests(metafunc) -> None:metafunc.parametrize(names, combinations)+def _apply_device_skips(items, run_mps_process_abort: bool) -> None:+ """Skip the test classes a device cannot run at all, before they are executed."""+ # gradcheck requires float64. MPS does not support it at all, and XLA lowers a float64 request+ # to float32, where gradcheck's default eps=1e-6 makes the numerical Jacobian invalid β so a+ # float64 gradcheck on the tpu fixture fails for a pure precision reason. Skip on both.+ skip_gradcheck = pytest.mark.skip(reason="gradcheck requires float64, which this device does not compute in")+ # MPS does not support complex128 (cdouble); skip tests parametrized with it+ skip_mps_cdouble = pytest.mark.skip(reason="MPS does not support complex128 (cdouble)")+ # MPS autocast uses float16 and does not preserve original dtype β skip autocast tests on MPS+ skip_mps_autocast = pytest.mark.skip(reason="MPS autocast changes dtype to float16, not supported the same way")+ # A module marked mps_process_abort takes the Metal shader compiler down on the paravirtualized+ # GPU of the hosted macOS runners, and the next MPS allocation aborts the pytest process+ # (SIGABRT). The abort site moves between runs, and SIGABRT has no exception type, so these+ # cannot be pinned as strict xfails β the process dies and everything after it is lost. Real+ # Apple hardware does not abort, so --run-mps-process-abort forces them back on for local+ # diagnosis; note that doing so leaves failures the manifest does not pin. Tracked in #4204,+ # and the marker lives on the test module so a rename cannot silently disarm this.+ skip_mps_abort = pytest.mark.skip(+ reason="aborts the pytest process on MPS on virtualized Apple GPUs (#4204); --run-mps-process-abort runs anyway"+ )++ for item in items:+ name = item.name.lower()+ on_mps = "[mps" in item.nodeid+ if "gradcheck" in name and (on_mps or "[tpu" in item.nodeid):+ item.add_marker(skip_gradcheck)+ if on_mps and "cdtype1" in item.nodeid:+ item.add_marker(skip_mps_cdouble)+ if on_mps and "autocast" in name:+ item.add_marker(skip_mps_autocast)+ if on_mps and not run_mps_process_abort and item.get_closest_marker("mps_process_abort"):+ item.add_marker(skip_mps_abort)++def pytest_collection_modifyitems(config, items):"""Collect test options."""# Device-agnostic tests exercise CPU-only code regardless of the selected test device. Run@@ -336,25 +370,7 @@ def pytest_collection_modifyitems(config, items):raise pytest.UsageError(str(error)) from errorconfig.pluginmanager.register(tracker, "known-failure-tracker")- # gradcheck requires float64. MPS does not support it at all, and XLA lowers a float64 request- # to float32, where gradcheck's default eps=1e-6 makes the numerical Jacobian invalid β so a- # float64 gradcheck on the tpu fixture fails for a pure precision reason. Skip on both.- skip_gradcheck = pytest.mark.skip(reason="gradcheck requires float64, which this device does not compute in")- for item in items:- if "gradcheck" in item.name.lower() and ("[mps" in item.nodeid or "[tpu" in item.nodeid):- item.add_marker(skip_gradcheck)-- # MPS does not support complex128 (cdouble); skip tests parametrized with it- skip_mps_cdouble = pytest.mark.skip(reason="MPS does not support complex128 (cdouble)")- for item in items:- if "[mps" in item.nodeid and "cdtype1" in item.nodeid:- item.add_marker(skip_mps_cdouble)-- # MPS autocast uses float16 and does not preserve original dtype β skip autocast tests on MPS- skip_mps_autocast = pytest.mark.skip(reason="MPS autocast changes dtype to float16, not supported the same way")- for item in items:- if "autocast" in item.name.lower() and "[mps" in item.nodeid:- item.add_marker(skip_mps_autocast)+ _apply_device_skips(items, config.getoption("--run-mps-process-abort"))tf32_enabled = config.getoption("--tf32")@@ -483,6 +499,18 @@ def pytest_addoption(parser):"on one device anyway. (env: KORNIA_TEST_RUN_DEVICE_AGNOSTIC)"),)+ parser.addoption(+ "--run-mps-process-abort",+ action="store_true",+ default=os.environ.get("KORNIA_TEST_RUN_MPS_PROCESS_ABORT", "false").lower() == "true",+ help=(+ "Run tests marked mps_process_abort on MPS. They take the Metal shader compiler down "+ "on the paravirtualized GPU of the hosted macOS runners and abort the pytest process, "+ "so they are skipped by default; real Apple hardware does not abort, and this restores "+ "them for local diagnosis. Expect failures the known-failure manifest does not pin. "+ "(env: KORNIA_TEST_RUN_MPS_PROCESS_ABORT)"+ ),+ )parser.addoption("--xfail-known-failures",action="store_true",diff --git a/pyproject.toml b/pyproject.tomlindex 4b9420ec3..ddbe7b698 100644--- a/pyproject.toml+++ b/pyproject.toml@@ -181,6 +181,7 @@ filterwarnings = []markers = ["device_agnostic: run CPU-only test logic once in a CPU-containing device matrix",+ "mps_process_abort: aborts the pytest process on MPS on virtualized Apple GPUs (#4204); skipped there unless --run-mps-process-abort","slow: mark test as slow to run","tf32: mark a test as sensitive to TF32 (TensorFloat-32) CUDA matmul precision; xfail by default, run with --tf32 to activate",]diff --git a/testing/known_failure_xfails/mps_float32.txt b/testing/known_failure_xfails/mps_float32.txtindex 28ea2daa3..bbd84a495 100644--- a/testing/known_failure_xfails/mps_float32.txt+++ b/testing/known_failure_xfails/mps_float32.txt@@ -1,87 +1,20 @@-# Exact failure baseline from https://github.com/kornia/kornia/actions/runs/33676811355-# macos-26-arm64, Python 3.13, PyTorch 2.9.1, MPS float32, no CPU fallback,+# Exact failure baseline recorded from+# https://github.com/kornia/kornia/actions/runs/33808269822/job/100824208527 -- that job ran+# without --xfail-known-failures, so it reports these 14 as failures: it is the run the baseline+# was recorded from, not a replay of this file.+# macos-15-arm64, Python 3.13, PyTorch 2.14.0, MPS float32, no CPU fallback,# one pytest process for the full suite (tests marked device_agnostic are deselected on an mps-only run).# Remove an entry when it becomes a strict XPASS; fix or explicitly add any new failure. Tracked in #4159.-# test_zero_weight_minimal_lu was added after recording and reaches the same unsupported-# aten::linalg_qr.out as nearby pins.+# torch 2.14.0 added MPS kernels for the eigen/QR/LU/SVD family and for both grid_sample backward+# passes, which took this baseline from 200 entries to 14. Two causes remain:+# NotImplementedError aten::_linalg_eigvals has no MPS kernel (the 5-point essential solver).+# RuntimeError yuv420/yuv422 empty-input reshape, a kornia degenerate-shape defect.+# tests/geometry/test_ransac.py is skipped on MPS, not pinned: it aborts the process (#4204).+# Keep the entries sorted by node ID: KnownFailureTracker prints its regeneration output sorted,+# so an unsorted file turns the next re-record into a whole-file diff.# Format: <exact exception type>\t<pytest node ID>-AssertionError tests/augmentation/_3d/test_random_affine_3d.py::TestRandomAffine3D::test_batch_random_affine_3d[mps-float32]-NotImplementedError tests/augmentation/test_backward_3d.py::TestRandomMotionBlur3DBackward::test_param[mps-float32-False-bilinear-circular-direction0-angle1]-NotImplementedError tests/augmentation/test_backward_3d.py::TestRandomMotionBlur3DBackward::test_param[mps-float32-False-bilinear-circular-direction0-angle2]-NotImplementedError tests/augmentation/test_backward_3d.py::TestRandomMotionBlur3DBackward::test_param[mps-float32-False-bilinear-circular-direction1-20.0]-NotImplementedError tests/augmentation/test_backward_3d.py::TestRandomMotionBlur3DBackward::test_param[mps-float32-False-bilinear-circular-direction1-angle1]-NotImplementedError tests/augmentation/test_backward_3d.py::TestRandomMotionBlur3DBackward::test_param[mps-float32-False-bilinear-circular-direction1-angle2]-NotImplementedError tests/augmentation/test_backward_3d.py::TestRandomMotionBlur3DBackward::test_param[mps-float32-False-bilinear-constant-direction0-angle1]-NotImplementedError tests/augmentation/test_backward_3d.py::TestRandomMotionBlur3DBackward::test_param[mps-float32-False-bilinear-constant-direction0-angle2]-NotImplementedError tests/augmentation/test_backward_3d.py::TestRandomMotionBlur3DBackward::test_param[mps-float32-False-bilinear-constant-direction1-20.0]-NotImplementedError tests/augmentation/test_backward_3d.py::TestRandomMotionBlur3DBackward::test_param[mps-float32-False-bilinear-constant-direction1-angle1]-NotImplementedError tests/augmentation/test_backward_3d.py::TestRandomMotionBlur3DBackward::test_param[mps-float32-False-bilinear-constant-direction1-angle2]-NotImplementedError tests/augmentation/test_backward_3d.py::TestRandomMotionBlur3DBackward::test_param[mps-float32-False-bilinear-replicate-direction0-angle1]-NotImplementedError tests/augmentation/test_backward_3d.py::TestRandomMotionBlur3DBackward::test_param[mps-float32-False-bilinear-replicate-direction0-angle2]-NotImplementedError tests/augmentation/test_backward_3d.py::TestRandomMotionBlur3DBackward::test_param[mps-float32-False-bilinear-replicate-direction1-20.0]-NotImplementedError tests/augmentation/test_backward_3d.py::TestRandomMotionBlur3DBackward::test_param[mps-float32-False-bilinear-replicate-direction1-angle1]-NotImplementedError tests/augmentation/test_backward_3d.py::TestRandomMotionBlur3DBackward::test_param[mps-float32-False-bilinear-replicate-direction1-angle2]-NotImplementedError tests/augmentation/test_backward_3d.py::TestRandomMotionBlur3DBackward::test_param[mps-float32-True-bilinear-circular-direction0-angle1]-NotImplementedError tests/augmentation/test_backward_3d.py::TestRandomMotionBlur3DBackward::test_param[mps-float32-True-bilinear-circular-direction0-angle2]-NotImplementedError tests/augmentation/test_backward_3d.py::TestRandomMotionBlur3DBackward::test_param[mps-float32-True-bilinear-circular-direction1-20.0]-NotImplementedError tests/augmentation/test_backward_3d.py::TestRandomMotionBlur3DBackward::test_param[mps-float32-True-bilinear-circular-direction1-angle1]-NotImplementedError tests/augmentation/test_backward_3d.py::TestRandomMotionBlur3DBackward::test_param[mps-float32-True-bilinear-circular-direction1-angle2]-NotImplementedError tests/augmentation/test_backward_3d.py::TestRandomMotionBlur3DBackward::test_param[mps-float32-True-bilinear-constant-direction0-angle1]-NotImplementedError tests/augmentation/test_backward_3d.py::TestRandomMotionBlur3DBackward::test_param[mps-float32-True-bilinear-constant-direction0-angle2]-NotImplementedError tests/augmentation/test_backward_3d.py::TestRandomMotionBlur3DBackward::test_param[mps-float32-True-bilinear-constant-direction1-20.0]-NotImplementedError tests/augmentation/test_backward_3d.py::TestRandomMotionBlur3DBackward::test_param[mps-float32-True-bilinear-constant-direction1-angle1]-NotImplementedError tests/augmentation/test_backward_3d.py::TestRandomMotionBlur3DBackward::test_param[mps-float32-True-bilinear-constant-direction1-angle2]-NotImplementedError tests/augmentation/test_backward_3d.py::TestRandomMotionBlur3DBackward::test_param[mps-float32-True-bilinear-replicate-direction0-angle1]-NotImplementedError tests/augmentation/test_backward_3d.py::TestRandomMotionBlur3DBackward::test_param[mps-float32-True-bilinear-replicate-direction0-angle2]-NotImplementedError tests/augmentation/test_backward_3d.py::TestRandomMotionBlur3DBackward::test_param[mps-float32-True-bilinear-replicate-direction1-20.0]-NotImplementedError tests/augmentation/test_backward_3d.py::TestRandomMotionBlur3DBackward::test_param[mps-float32-True-bilinear-replicate-direction1-angle1]-NotImplementedError tests/augmentation/test_backward_3d.py::TestRandomMotionBlur3DBackward::test_param[mps-float32-True-bilinear-replicate-direction1-angle2]-NotImplementedError tests/augmentation/test_backward_3d.py::TestRandomPerspective3DBackward::test_param[mps-float32-False-False-bilinear-distortion_scale1]-NotImplementedError tests/augmentation/test_backward_3d.py::TestRandomPerspective3DBackward::test_param[mps-float32-False-True-bilinear-distortion_scale1]-NotImplementedError tests/augmentation/test_backward_3d.py::TestRandomPerspective3DBackward::test_param[mps-float32-True-False-bilinear-distortion_scale1]-NotImplementedError tests/augmentation/test_backward_3d.py::TestRandomPerspective3DBackward::test_param[mps-float32-True-True-bilinear-distortion_scale1]-NotImplementedError tests/augmentation/test_backward_3d.py::TestRandomRotation3DBackward::test_param[mps-float32-False-False-bilinear-degrees4]-NotImplementedError tests/augmentation/test_backward_3d.py::TestRandomRotation3DBackward::test_param[mps-float32-False-False-bilinear-degrees5]-NotImplementedError tests/augmentation/test_backward_3d.py::TestRandomRotation3DBackward::test_param[mps-float32-False-False-bilinear-degrees6]-NotImplementedError tests/augmentation/test_backward_3d.py::TestRandomRotation3DBackward::test_param[mps-float32-False-False-bilinear-degrees7]-NotImplementedError tests/augmentation/test_backward_3d.py::TestRandomRotation3DBackward::test_param[mps-float32-False-True-bilinear-degrees4]-NotImplementedError tests/augmentation/test_backward_3d.py::TestRandomRotation3DBackward::test_param[mps-float32-False-True-bilinear-degrees5]-NotImplementedError tests/augmentation/test_backward_3d.py::TestRandomRotation3DBackward::test_param[mps-float32-False-True-bilinear-degrees6]-NotImplementedError tests/augmentation/test_backward_3d.py::TestRandomRotation3DBackward::test_param[mps-float32-False-True-bilinear-degrees7]-NotImplementedError tests/augmentation/test_backward_3d.py::TestRandomRotation3DBackward::test_param[mps-float32-True-False-bilinear-degrees4]-NotImplementedError tests/augmentation/test_backward_3d.py::TestRandomRotation3DBackward::test_param[mps-float32-True-False-bilinear-degrees5]-NotImplementedError tests/augmentation/test_backward_3d.py::TestRandomRotation3DBackward::test_param[mps-float32-True-False-bilinear-degrees6]-NotImplementedError tests/augmentation/test_backward_3d.py::TestRandomRotation3DBackward::test_param[mps-float32-True-False-bilinear-degrees7]-NotImplementedError tests/augmentation/test_backward_3d.py::TestRandomRotation3DBackward::test_param[mps-float32-True-True-bilinear-degrees4]-NotImplementedError tests/augmentation/test_backward_3d.py::TestRandomRotation3DBackward::test_param[mps-float32-True-True-bilinear-degrees5]-NotImplementedError tests/augmentation/test_backward_3d.py::TestRandomRotation3DBackward::test_param[mps-float32-True-True-bilinear-degrees6]-NotImplementedError tests/augmentation/test_backward_3d.py::TestRandomRotation3DBackward::test_param[mps-float32-True-True-bilinear-degrees7]RuntimeError tests/color/test_yuv.py::TestYuv420ToRgb::test_empty_input[mps-float32]RuntimeError tests/color/test_yuv.py::TestYuv422ToRgb::test_empty_input[mps-float32]-NotImplementedError tests/contrib/test_image_stitcher.py::TestImageStitcher::test_smoke[mps-float32-ransac]-NotImplementedError tests/contrib/test_image_stitcher.py::TestImageStitcher::test_smoke[mps-float32-vanilla]-NotImplementedError tests/core/test_helpers.py::TestSolveWithMask::test_all_bad[mps-float32]-NotImplementedError tests/core/test_helpers.py::TestSolveWithMask::test_smoke[mps-float32]-NotImplementedError tests/feature/test_affine_shape_estimator.py::TestLAFAffineShapeEstimator::test_degenerate_ellipse_boundary_has_finite_backward[mps]-NotImplementedError tests/feature/test_affine_shape_estimator.py::TestLAFAffineShapeEstimator::test_non_positive_definite_shape_falls_back_with_finite_backward[mps]-NotImplementedError tests/feature/test_laf.py::TestExtractPatchesPyr::test_atlas_guards_preserve_level_border_value_and_gradient[mps-float32]-NotImplementedError tests/feature/test_laf.py::TestExtractPatchesPyr::test_nonfinite_laf_returns_zero_patch_with_safe_backward[mps-float32]-NotImplementedError tests/feature/test_laf.py::TestExtractPatchesSimple::test_nonfinite_laf_returns_zero_patch_with_safe_backward[mps-float32]-RuntimeError tests/feature/test_xfeat.py::TestXFeat::test_cardinality[mps-float32]-RuntimeError tests/feature/test_xfeat.py::TestXFeat::test_descriptors_normalized[mps-float32]-RuntimeError tests/feature/test_xfeat.py::TestXFeat::test_keypoint_coordinates_in_image[mps-float32]-RuntimeError tests/feature/test_xfeat.py::TestXFeat::test_match_xfeat_returns_paired_keypoints[mps-float32]-RuntimeError tests/feature/test_xfeat.py::TestXFeat::test_smoke[mps-float32]-RuntimeError tests/feature/test_xfeat.py::TestXFeat::test_top_k_respected[mps-float32]-NotImplementedError tests/geometry/calibration/test_pnp.py::TestSolvePnpDlt::test_pred_world_to_cam[mps-float32-20]-NotImplementedError tests/geometry/calibration/test_pnp.py::TestSolvePnpDlt::test_pred_world_to_cam[mps-float32-6]-NotImplementedError tests/geometry/calibration/test_pnp.py::TestSolvePnpDlt::test_pred_world_to_cam_weighted[mps-float32-16]-NotImplementedError tests/geometry/calibration/test_pnp.py::TestSolvePnpDlt::test_pred_world_to_cam_weighted[mps-float32-20]-NotImplementedError tests/geometry/calibration/test_pnp.py::TestSolvePnpDlt::test_pred_world_to_cam_weighted_rand[mps-float32-25]-NotImplementedError tests/geometry/calibration/test_pnp.py::TestSolvePnpDlt::test_project[mps-float32-20]-NotImplementedError tests/geometry/calibration/test_pnp.py::TestSolvePnpDlt::test_project[mps-float32-6]-NotImplementedError tests/geometry/calibration/test_pnp.py::TestSolvePnpDlt::test_smoke[mps-float32-20]-NotImplementedError tests/geometry/calibration/test_pnp.py::TestSolvePnpDlt::test_smoke[mps-float32-6]NotImplementedError tests/geometry/epipolar/test_essential.py::TestFindEssential::test_degenerate_case[mps-float32-10-5]NotImplementedError tests/geometry/epipolar/test_essential.py::TestFindEssential::test_degenerate_case[mps-float32-5-5]NotImplementedError tests/geometry/epipolar/test_essential.py::TestFindEssential::test_epipolar_constraint[mps-float32]@@ -94,114 +27,3 @@ NotImplementedError tests/geometry/epipolar/test_essential.py::TestFindEssentialNotImplementedError tests/geometry/epipolar/test_essential.py::TestFindEssential::test_shape_noweights[mps-float32-3-7]NotImplementedError tests/geometry/epipolar/test_essential.py::TestFindEssential::test_smoke[mps-float32]NotImplementedError tests/geometry/epipolar/test_essential.py::TestFindEssential::test_synthetic_sampson[mps-float32]-NotImplementedError tests/geometry/epipolar/test_essential.py::TestMotionFromEssentialChooseSolution::test_masking[mps-float32]-NotImplementedError tests/geometry/epipolar/test_essential.py::TestMotionFromEssentialChooseSolution::test_shape[mps-float32-1-3]-NotImplementedError tests/geometry/epipolar/test_essential.py::TestMotionFromEssentialChooseSolution::test_shape[mps-float32-2-3]-NotImplementedError tests/geometry/epipolar/test_essential.py::TestMotionFromEssentialChooseSolution::test_shape[mps-float32-2-8]-NotImplementedError tests/geometry/epipolar/test_essential.py::TestMotionFromEssentialChooseSolution::test_shape[mps-float32-3-2]-NotImplementedError tests/geometry/epipolar/test_essential.py::TestMotionFromEssentialChooseSolution::test_smoke[mps-float32]-NotImplementedError tests/geometry/epipolar/test_essential.py::TestMotionFromEssentialChooseSolution::test_two_view[mps-float32]-NotImplementedError tests/geometry/epipolar/test_essential.py::TestMotionFromEssentialChooseSolution::test_unbatched[mps-float32-10]-NotImplementedError tests/geometry/epipolar/test_essential.py::TestMotionFromEssentialChooseSolution::test_unbatched[mps-float32-15]-NotImplementedError tests/geometry/epipolar/test_essential.py::TestMotionFromEssentialChooseSolution::test_unbatched[mps-float32-20]-NotImplementedError tests/geometry/epipolar/test_fundamental.py::TestFindFundamental::test_7point_opencv[mps-float32]-NotImplementedError tests/geometry/epipolar/test_fundamental.py::TestFindFundamental::test_opencv_svd[mps-float32]-NotImplementedError tests/geometry/epipolar/test_fundamental.py::TestFindFundamental::test_shape[mps-float32-1-8]-NotImplementedError tests/geometry/epipolar/test_fundamental.py::TestFindFundamental::test_shape[mps-float32-2-9]-NotImplementedError tests/geometry/epipolar/test_fundamental.py::TestFindFundamental::test_shape[mps-float32-3-10]-NotImplementedError tests/geometry/epipolar/test_fundamental.py::TestFindFundamental::test_shape_7point[mps-float32-1]-NotImplementedError tests/geometry/epipolar/test_fundamental.py::TestFindFundamental::test_shape_7point[mps-float32-2]-NotImplementedError tests/geometry/epipolar/test_fundamental.py::TestFindFundamental::test_shape_7point[mps-float32-3]-NotImplementedError tests/geometry/epipolar/test_fundamental.py::TestFindFundamental::test_shape_noweights[mps-float32-1-8]-NotImplementedError tests/geometry/epipolar/test_fundamental.py::TestFindFundamental::test_shape_noweights[mps-float32-2-8]-NotImplementedError tests/geometry/epipolar/test_fundamental.py::TestFindFundamental::test_shape_noweights[mps-float32-3-10]-NotImplementedError tests/geometry/epipolar/test_fundamental.py::TestFindFundamental::test_smoke[mps-float32]-NotImplementedError tests/geometry/epipolar/test_fundamental.py::TestFindFundamental::test_synthetic_sampson[mps-float32]-NotImplementedError tests/geometry/epipolar/test_fundamental.py::TestFindFundamental::test_synthetic_sampson_7point[mps-float32]-NotImplementedError tests/geometry/epipolar/test_projection.py::TestKRtFromProjection::test_shape[mps-float32-1]-NotImplementedError tests/geometry/epipolar/test_projection.py::TestKRtFromProjection::test_shape[mps-float32-2]-NotImplementedError tests/geometry/epipolar/test_projection.py::TestKRtFromProjection::test_shape[mps-float32-4]-NotImplementedError tests/geometry/epipolar/test_projection.py::TestKRtFromProjection::test_simple[mps-float32]-NotImplementedError tests/geometry/epipolar/test_projection.py::TestKRtFromProjection::test_smoke[mps-float32]-NotImplementedError tests/geometry/epipolar/test_projection.py::TestProjectionFromKRt::test_krt_from_projection[mps-float32]-NotImplementedError tests/geometry/epipolar/test_triangulation.py::TestTriangulation::test_module[mps-float32]-NotImplementedError tests/geometry/epipolar/test_triangulation.py::TestTriangulation::test_noisy_correspondences_dlt[mps-float32-eigh]-NotImplementedError tests/geometry/epipolar/test_triangulation.py::TestTriangulation::test_shape[mps-float32-eigh-1-3]-NotImplementedError tests/geometry/epipolar/test_triangulation.py::TestTriangulation::test_shape[mps-float32-eigh-2-4]-NotImplementedError tests/geometry/epipolar/test_triangulation.py::TestTriangulation::test_shape[mps-float32-eigh-3-5]-NotImplementedError tests/geometry/epipolar/test_triangulation.py::TestTriangulation::test_smoke[mps-float32-eigh]-NotImplementedError tests/geometry/epipolar/test_triangulation.py::TestTriangulation::test_solver_consistency[mps-float32]-NotImplementedError tests/geometry/epipolar/test_triangulation.py::TestTriangulation::test_two_view[mps-float32]-AssertionError tests/geometry/solvers/test_polynomial_solver.py::TestQuarticSolver::test_solve_quartic[mps-float32-coeffs6-expected_solutions6]-NotImplementedError tests/geometry/test_homography.py::TestFindHomographyDLT::test_clean_points_lu[mps-float32-1]-NotImplementedError tests/geometry/test_homography.py::TestFindHomographyDLT::test_clean_points_lu[mps-float32-2]-NotImplementedError tests/geometry/test_homography.py::TestFindHomographyDLT::test_clean_points_lu[mps-float32-5]-NotImplementedError tests/geometry/test_homography.py::TestFindHomographyDLT::test_nocrash[mps-float32]-NotImplementedError tests/geometry/test_homography.py::TestFindHomographyDLT::test_nocrash_lu[mps-float32]-NotImplementedError tests/geometry/test_homography.py::TestFindHomographyDLT::test_points_noweights[mps-float32-1-4]-NotImplementedError tests/geometry/test_homography.py::TestFindHomographyDLT::test_points_noweights[mps-float32-2-5]-NotImplementedError tests/geometry/test_homography.py::TestFindHomographyDLT::test_points_noweights[mps-float32-3-6]-NotImplementedError tests/geometry/test_homography.py::TestFindHomographyDLT::test_projective_fixed_points[mps]-NotImplementedError tests/geometry/test_homography.py::TestFindHomographyDLT::test_scaled_fixed_points[mps-float32]-NotImplementedError tests/geometry/test_homography.py::TestFindHomographyDLT::test_shape[mps-float32-1-4]-NotImplementedError tests/geometry/test_homography.py::TestFindHomographyDLT::test_shape[mps-float32-2-5]-NotImplementedError tests/geometry/test_homography.py::TestFindHomographyDLT::test_shape[mps-float32-3-6]-NotImplementedError tests/geometry/test_homography.py::TestFindHomographyDLT::test_shape_noweights[mps-float32-1-4]-NotImplementedError tests/geometry/test_homography.py::TestFindHomographyDLT::test_shape_noweights[mps-float32-2-5]-NotImplementedError tests/geometry/test_homography.py::TestFindHomographyDLT::test_shape_noweights[mps-float32-3-6]-NotImplementedError tests/geometry/test_homography.py::TestFindHomographyDLT::test_smoke[mps-float32]-NotImplementedError tests/geometry/test_homography.py::TestFindHomographyDLT::test_zero_weight_minimal_lu[mps-float32]-NotImplementedError tests/geometry/test_homography.py::TestFindHomographyDLTIter::test_clean_points[mps-float32-1]-NotImplementedError tests/geometry/test_homography.py::TestFindHomographyDLTIter::test_clean_points[mps-float32-2]-NotImplementedError tests/geometry/test_homography.py::TestFindHomographyDLTIter::test_shape[mps-float32-1-4]-NotImplementedError tests/geometry/test_homography.py::TestFindHomographyDLTIter::test_shape[mps-float32-2-5]-NotImplementedError tests/geometry/test_homography.py::TestFindHomographyDLTIter::test_shape[mps-float32-3-6]-NotImplementedError tests/geometry/test_homography.py::TestFindHomographyDLTIter::test_smoke[mps-float32]-AssertionError tests/geometry/test_line.py::TestFitLine::test_fit_line2[mps-float32]-AssertionError tests/geometry/test_line.py::TestFitLine::test_fit_line3[mps-float32]-AssertionError tests/geometry/test_line.py::TestFitLine::test_fit_line_weighted[mps-float32]-NotImplementedError tests/geometry/test_quaternion.py::TestQuaternionAverage::test_average_identity[mps-float32-10]-NotImplementedError tests/geometry/test_quaternion.py::TestQuaternionAverage::test_average_identity[mps-float32-1]-NotImplementedError tests/geometry/test_quaternion.py::TestQuaternionAverage::test_average_identity[mps-float32-2]-NotImplementedError tests/geometry/test_quaternion.py::TestQuaternionAverage::test_average_identity[mps-float32-5]-NotImplementedError tests/geometry/test_quaternion.py::TestQuaternionAverage::test_opposite_quaternions[mps-float32]-NotImplementedError tests/geometry/test_quaternion.py::TestQuaternionAverage::test_output_is_normalized[mps-float32]-NotImplementedError tests/geometry/test_quaternion.py::TestQuaternionAverage::test_single_quaternion_returns_itself[mps-float32]-NotImplementedError tests/geometry/test_quaternion.py::TestQuaternionAverage::test_weighted_bias[mps-float32]-NotImplementedError tests/geometry/test_ransac.py::TestRANSACEssential::test_forward_enforces_essential_constraint[mps-float32]-NotImplementedError tests/geometry/test_ransac.py::TestRANSACEssential::test_polish_enforces_essential_constraint[mps-float32]-NotImplementedError tests/geometry/test_ransac.py::TestRANSACEssential::test_project_to_essential[mps-float32]-NotImplementedError tests/geometry/test_ransac.py::TestRANSACEssential::test_smoke[mps-float32]-NotImplementedError tests/geometry/test_ransac.py::TestRANSACFundamental::test_smoke[mps-float32]-NotImplementedError tests/geometry/test_ransac.py::TestRANSACSeed::test_different_seeds_differ[mps-float32]-NotImplementedError tests/geometry/test_ransac.py::TestRANSACSeed::test_no_seed_differs_from_seeded[mps-float32]-NotImplementedError tests/geometry/test_ransac.py::TestRANSACSeed::test_same_seed_reproducible[mps-float32]-NotImplementedError tests/geometry/transform/test_image_registrator.py::TestImageRegistrator::test_register_with_shape_mismatch[mps]-RuntimeError tests/geometry/transform/test_imgwarp3d.py::TestWarpAffine3d::test_forth_back[mps-float32]-NotImplementedError tests/geometry/transform/test_imgwarp3d.py::test_empty_destination_is_autograd_connected[mps-float32-False-dsize0-warp_affine3d]-NotImplementedError tests/geometry/transform/test_imgwarp3d.py::test_empty_destination_is_autograd_connected[mps-float32-False-dsize0-warp_perspective3d]-NotImplementedError tests/geometry/transform/test_imgwarp3d.py::test_empty_destination_is_autograd_connected[mps-float32-False-dsize1-warp_affine3d]-NotImplementedError tests/geometry/transform/test_imgwarp3d.py::test_empty_destination_is_autograd_connected[mps-float32-False-dsize1-warp_perspective3d]-NotImplementedError tests/geometry/transform/test_imgwarp3d.py::test_empty_destination_is_autograd_connected[mps-float32-False-dsize2-warp_affine3d]-NotImplementedError tests/geometry/transform/test_imgwarp3d.py::test_empty_destination_is_autograd_connected[mps-float32-False-dsize2-warp_perspective3d]-NotImplementedError tests/geometry/transform/test_imgwarp3d.py::test_empty_destination_is_autograd_connected[mps-float32-True-dsize0-warp_affine3d]-NotImplementedError tests/geometry/transform/test_imgwarp3d.py::test_empty_destination_is_autograd_connected[mps-float32-True-dsize0-warp_perspective3d]-NotImplementedError tests/geometry/transform/test_imgwarp3d.py::test_empty_destination_is_autograd_connected[mps-float32-True-dsize1-warp_affine3d]-NotImplementedError tests/geometry/transform/test_imgwarp3d.py::test_empty_destination_is_autograd_connected[mps-float32-True-dsize1-warp_perspective3d]-NotImplementedError tests/geometry/transform/test_imgwarp3d.py::test_empty_destination_is_autograd_connected[mps-float32-True-dsize2-warp_affine3d]-NotImplementedError tests/geometry/transform/test_imgwarp3d.py::test_empty_destination_is_autograd_connected[mps-float32-True-dsize2-warp_perspective3d]-NotImplementedError tests/geometry/transform/test_imgwarp3d.py::test_empty_source_policy[mps-float32-warp_affine3d]-NotImplementedError tests/geometry/transform/test_imgwarp3d.py::test_empty_source_policy[mps-float32-warp_perspective3d]-AssertionError tests/integration/test_conversions.py::TestAngleOfRotations::test_log_quaternion[mps-float32-0-x]-AssertionError tests/integration/test_conversions.py::TestAngleOfRotations::test_log_quaternion[mps-float32-0-y]-AssertionError tests/integration/test_conversions.py::TestAngleOfRotations::test_log_quaternion[mps-float32-0-z]-NotImplementedError tests/integration/test_warp.py::TestWarping::test_smoke[mps]-AssertionError tests/losses/test_ssim.py::TestSSIM3DLoss::test_ssim[mps-float32-shape0-sum-11]-AssertionError tests/losses/test_ssim.py::TestSSIM3DLoss::test_ssim[mps-float32-shape0-sum-5]-AssertionError tests/losses/test_ssim.py::TestSSIM3DLoss::test_ssim[mps-float32-shape1-sum-11]-AssertionError tests/losses/test_ssim.py::TestSSIM3DLoss::test_ssim[mps-float32-shape1-sum-5]-AssertionError tests/losses/test_ssim.py::TestSSIMLoss::test_ssim[mps-float32-batch_shape1-sum-11]-AssertionError tests/losses/test_ssim.py::TestSSIMLoss::test_ssim[mps-float32-batch_shape1-sum-5]-AssertionError tests/metrics/test_ssim3d.py::TestSSIM3d::test_smoke[mps-float32-shape0-same-5-1.0]-AssertionError tests/metrics/test_ssim3d.py::TestSSIM3d::test_smoke[mps-float32-shape3-valid-3-1.0]-AssertionError tests/metrics/test_ssim3d.py::TestSSIM3d::test_smoke[mps-float32-shape4-same-3-1.0]diff --git a/tests/geometry/test_ransac.py b/tests/geometry/test_ransac.pyindex d344f1554..996874d36 100644--- a/tests/geometry/test_ransac.py+++ b/tests/geometry/test_ransac.py@@ -25,6 +25,15 @@ from kornia.geometry.epipolar import project_to_essential, sampson_epipolar_distfrom testing.base import BaseTesterfrom testing.casts import dict_to+# RANSAC's batched minimal solvers take the Metal shader compiler down on the paravirtualized GPU+# of the hosted macOS runners, and the next MPS allocation aborts the pytest process (SIGABRT).+# The abort site moves between runs β observed inside the 5-point solver and, with that class+# deselected, later in an unrelated `F.pad` β and SIGABRT carries no exception type, so these+# cannot be recorded as strict xfails in testing/known_failure_xfails/mps_float32.txt: the process+# dies and every test after it is lost. conftest skips this module on MPS; real Apple hardware+# does not abort, so `--run-mps-process-abort` runs it anyway. Tracked in #4204.+pytestmark = pytest.mark.mps_process_abort+class TestRANSACHomography(BaseTester):def test_smoke(self, device, dtype):