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:
1 parent
3a5d842ac1
commit
607a18ffff
2 files changed
+5
-1
No files matched your search
@@ -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
|
||||
|
||||
@@ -0,0 +1,3 @@
|
||||
import os
|
||||
|
||||
os.environ.setdefault("ORT_DISABLE_TELEMETRY", "1")
|
||||
Reference in new issue
Block a user