test: 🧪 Add TFLite export requirement for Torch version 1.13 (#23618)

Signed-off-by: Onuralp SEZER <onuralp@ultralytics.com>
This commit is contained in:
Onuralp SEZER 2026-02-11 11:12:09 +03:00 committed by GitHub
parent 1765c1274c
commit a2aeae7ddd
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -215,6 +215,7 @@ def test_export_coreml():
@pytest.mark.skipif(not checks.IS_PYTHON_MINIMUM_3_10, reason="TFLite export requires Python>=3.10")
@pytest.mark.skipif(not TORCH_1_13, reason="TFLite export requires torch>=1.13")
@pytest.mark.skipif(not LINUX, reason="Test disabled as TF suffers from install conflicts on Windows and macOS")
def test_export_tflite():
"""Test YOLO export to TFLite format under specific OS and Python version conditions."""