MCPcopy Index your code
hub / github.com/huggingface/diffusers / require_torchsde

Function require_torchsde

tests/testing_utils.py:698–702  ·  view source on GitHub ↗

Decorator marking a test that requires torchsde. These tests are skipped when torchsde isn't installed.

(test_case)

Source from the content-addressed store, hash-verified

696
697
698def 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
705def require_peft_backend(test_case):

Callers

nothing calls this directly

Calls 1

is_torchsde_availableFunction · 0.90

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…