Decorator marking a test that requires flashpack. These tests are skipped when flashpack isn't installed.
(test_case)
| 739 | |
| 740 | |
| 741 | def require_flashpack(test_case): |
| 742 | """ |
| 743 | Decorator marking a test that requires flashpack. These tests are skipped when flashpack isn't installed. |
| 744 | """ |
| 745 | return pytest.mark.skipif(not is_flashpack_available(), reason="test requires flashpack")(test_case) |
| 746 | |
| 747 | |
| 748 | def require_peft_version_greater(peft_version): |
nothing calls this directly
no test coverage detected
searching dependent graphs…