Decorator marking a test that requires torchsde. These tests are skipped when torchsde isn't installed.
(test_case)
| 505 | |
| 506 | |
| 507 | def require_torchsde(test_case): |
| 508 | """ |
| 509 | Decorator marking a test that requires torchsde. These tests are skipped when torchsde isn't installed. |
| 510 | """ |
| 511 | return unittest.skipUnless(is_torchsde_available(), "test requires torchsde")(test_case) |
| 512 | |
| 513 | |
| 514 | def require_peft_backend(test_case): |
nothing calls this directly
no test coverage detected
searching dependent graphs…