fix(ml): disable onnxruntime telemetry (#32956)

* fix(ml): disable onnxruntime telemetry

* cleanup

---------

Co-authored-by: mertalev <101130780+mertalev@users.noreply.github.com>
This commit is contained in:
Michael Kentandmertalev authored and Codex committed 2026-11-04 20:47:08 +03:00
1 parent 3a5d842ac1
commit 607a18ffff
2 files changed
+5 -1

No files matched your search

+2 -1
View File
@@ -34,7 +34,8 @@ RUN --mount=type=cache,target=/ccache \
--skip_tests \
--use_openvino CPU \
--use_cache \
--compile_no_warning_as_error
--compile_no_warning_as_error \
--no_telemetry
# bundle openvino into the wheel as the published one does, so it is what the EP loads beside it
WORKDIR /code/onnxruntime/build/Release/dist
+3
View File
@@ -0,0 +1,3 @@
import os
os.environ.setdefault("ORT_DISABLE_TELEMETRY", "1")