Decorator marking a test that requires torchsde. These tests are skipped when torchsde isn't installed.
(test_case)
| 696 | |
| 697 | |
| 698 | def require_torchsde(test_case): |
| 699 | """ |
| 700 | Decorator marking a test that requires torchsde. These tests are skipped when torchsde isn't installed. |
| 701 | """ |
| 702 | return pytest.mark.skipif(not is_torchsde_available(), reason="test requires torchsde")(test_case) |
| 703 | |
| 704 | |
| 705 | def require_peft_backend(test_case): |
nothing calls this directly
no test coverage detected
searching dependent graphs…