declare-lab/tango2
92
1from diffusers.utils.testing_utils import require_onnxruntime2 3 4@require_onnxruntime5class OnnxPipelineTesterMixin:6 """7 This mixin is designed to be used with unittest.TestCase classes.8 It provides a set of common tests for each ONNXRuntime pipeline, e.g. saving and loading the pipeline,9 equivalence of dict and tuple outputs, etc.10 """11 12 pass13 