1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84
|
Description: These tests use excluded datasets due to unclear licenses.
Forwarded: not-needed
Author: Dylan Aïssi <daissi@debian.org>
--- a/cmake/onnxruntime_python.cmake
+++ b/cmake/onnxruntime_python.cmake
@@ -439,15 +439,15 @@
file(GLOB onnxruntime_python_transformers_test_srcs CONFIGURE_DEPENDS
"${ONNXRUNTIME_ROOT}/test/python/transformers/*.py"
)
- file(GLOB onnxruntime_python_transformers_testdata_srcs CONFIGURE_DEPENDS
- "${ONNXRUNTIME_ROOT}/test/python/transformers/test_data/models/*.onnx"
- )
- file(GLOB onnxruntime_python_transformers_testdata_whisper CONFIGURE_DEPENDS
- "${ONNXRUNTIME_ROOT}/test/python/transformers/test_data/models/whisper/*.onnx"
- )
- file(GLOB onnxruntime_python_transformers_testdata_conformer CONFIGURE_DEPENDS
- "${ONNXRUNTIME_ROOT}/test/python/transformers/test_data/models/conformer/*.onnx"
- )
+# file(GLOB onnxruntime_python_transformers_testdata_srcs CONFIGURE_DEPENDS
+# "${ONNXRUNTIME_ROOT}/test/python/transformers/test_data/models/*.onnx"
+# )
+# file(GLOB onnxruntime_python_transformers_testdata_whisper CONFIGURE_DEPENDS
+# "${ONNXRUNTIME_ROOT}/test/python/transformers/test_data/models/whisper/*.onnx"
+# )
+# file(GLOB onnxruntime_python_transformers_testdata_conformer CONFIGURE_DEPENDS
+# "${ONNXRUNTIME_ROOT}/test/python/transformers/test_data/models/conformer/*.onnx"
+# )
endif()
file(GLOB onnxruntime_python_tools_srcs CONFIGURE_DEPENDS
@@ -504,10 +504,10 @@
file(GLOB onnxruntime_python_datasets_srcs CONFIGURE_DEPENDS
"${ONNXRUNTIME_ROOT}/python/datasets/*.py"
)
-file(GLOB onnxruntime_python_datasets_data CONFIGURE_DEPENDS
- "${ONNXRUNTIME_ROOT}/python/datasets/*.pb"
- "${ONNXRUNTIME_ROOT}/python/datasets/*.onnx"
-)
+#file(GLOB onnxruntime_python_datasets_data CONFIGURE_DEPENDS
+# "${ONNXRUNTIME_ROOT}/python/datasets/*.pb"
+# "${ONNXRUNTIME_ROOT}/python/datasets/*.onnx"
+#)
# ORT Mobile helpers to convert ONNX model to ORT format, analyze model for suitability in mobile scenarios,
# and assist with export from PyTorch.
@@ -609,9 +609,9 @@
COMMAND ${CMAKE_COMMAND} -E copy
${onnxruntime_python_datasets_srcs}
$<TARGET_FILE_DIR:${build_output_target}>/onnxruntime/datasets/
- COMMAND ${CMAKE_COMMAND} -E copy
- ${onnxruntime_python_datasets_data}
- $<TARGET_FILE_DIR:${build_output_target}>/onnxruntime/datasets/
+# COMMAND ${CMAKE_COMMAND} -E copy
+# ${onnxruntime_python_datasets_data}
+# $<TARGET_FILE_DIR:${build_output_target}>/onnxruntime/datasets/
COMMAND ${CMAKE_COMMAND} -E copy
${onnxruntime_python_tools_srcs}
$<TARGET_FILE_DIR:${build_output_target}>/onnxruntime/tools/
@@ -749,15 +749,15 @@
COMMAND ${CMAKE_COMMAND} -E copy
${onnxruntime_python_transformers_test_srcs}
$<TARGET_FILE_DIR:${build_output_target}>/transformers/
- COMMAND ${CMAKE_COMMAND} -E copy
- ${onnxruntime_python_transformers_testdata_srcs}
- $<TARGET_FILE_DIR:${build_output_target}>/transformers/test_data/models/
- COMMAND ${CMAKE_COMMAND} -E copy
- ${onnxruntime_python_transformers_testdata_whisper}
- $<TARGET_FILE_DIR:${build_output_target}>/transformers/test_data/models/whisper/
- COMMAND ${CMAKE_COMMAND} -E copy
- ${onnxruntime_python_transformers_testdata_conformer}
- $<TARGET_FILE_DIR:${build_output_target}>/transformers/test_data/models/conformer/
+# COMMAND ${CMAKE_COMMAND} -E copy
+# ${onnxruntime_python_transformers_testdata_srcs}
+# $<TARGET_FILE_DIR:${build_output_target}>/transformers/test_data/models/
+# COMMAND ${CMAKE_COMMAND} -E copy
+# ${onnxruntime_python_transformers_testdata_whisper}
+# $<TARGET_FILE_DIR:${build_output_target}>/transformers/test_data/models/whisper/
+# COMMAND ${CMAKE_COMMAND} -E copy
+# ${onnxruntime_python_transformers_testdata_conformer}
+# $<TARGET_FILE_DIR:${build_output_target}>/transformers/test_data/models/conformer/
)
endif()
|