fix: upgrade ONNX Runtime to 1.18.0 for IR v10, mark Detection models as optional
Build and Deploy / build (push) Successful in 2m43s
Build and Deploy / deploy (push) Has been skipped

This commit is contained in:
2026-07-16 23:49:03 +00:00
parent 1ff489971b
commit eb995760f7
2 changed files with 25 additions and 18 deletions
+5 -5
View File
@@ -11,11 +11,11 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
wget \
&& rm -rf /var/lib/apt/lists/*
# 安装 ONNX Runtime
RUN wget -q https://github.com/microsoft/onnxruntime/releases/download/v1.16.3/onnxruntime-linux-x64-1.16.3.tgz \
&& tar -xzf onnxruntime-linux-x64-1.16.3.tgz \
&& mv onnxruntime-linux-x64-1.16.3 /usr/local/onnxruntime \
&& rm onnxruntime-linux-x64-1.16.3.tgz
# 安装 ONNX Runtime 1.18.0 (支持 IR version 10)
RUN wget -q https://github.com/microsoft/onnxruntime/releases/download/v1.18.0/onnxruntime-linux-x64-1.18.0.tgz \
&& tar -xzf onnxruntime-linux-x64-1.18.0.tgz \
&& mv onnxruntime-linux-x64-1.18.0 /usr/local/onnxruntime \
&& rm onnxruntime-linux-x64-1.18.0.tgz
ENV ONNXRUNTIME_DIR=/usr/local/onnxruntime
ENV PKG_CONFIG_PATH=/usr/lib/x86_64-linux-gnu/pkgconfig