Decorator marking a test that requires an accelerator with support for the FP64 data type.
(test_case)
| 590 | |
| 591 | |
| 592 | def require_torch_accelerator_with_fp64(test_case): |
| 593 | """Decorator marking a test that requires an accelerator with support for the FP64 data type.""" |
| 594 | return pytest.mark.skipif( |
| 595 | not _is_torch_fp64_available(torch_device), reason="test requires accelerator with fp64 support" |
| 596 | )(test_case) |
| 597 | |
| 598 | |
| 599 | def require_big_gpu_with_torch_cuda(test_case): |
nothing calls this directly
no test coverage detected
searching dependent graphs…