Skip to content

Commit 17f9596

Browse files
pvijayakrishmc-nv
andauthored
Update ORT repo post release 24.09 (#273)
* hardcoding sym link library reference for ONNX (#270) * Increase Docker limits on Windows (#271) * Update memory configuration * Update memory configuration, increase memory limit for Windows --------- Co-authored-by: Misha Chornyi <[email protected]>
1 parent c5c0cc8 commit 17f9596

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

CMakeLists.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,7 @@ else()
157157
endif()
158158

159159
set(TRITON_ONNXRUNTIME_DOCKER_IMAGE "tritonserver_onnxruntime")
160-
set(TRITON_ONNXRUNTIME_DOCKER_MEMORY "8g")
160+
set(TRITON_ONNXRUNTIME_DOCKER_MEMORY "$<IF:$<BOOL:WIN32>,32g,8g>")
161161
set(TRITON_ONNXRUNTIME_INCLUDE_PATHS "${CMAKE_CURRENT_BINARY_DIR}/onnxruntime/include")
162162
set(TRITON_ONNXRUNTIME_LIB_PATHS "${CMAKE_CURRENT_BINARY_DIR}/onnxruntime/lib")
163163
if (WIN32)

tools/gen_ort_dockerfile.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -383,7 +383,8 @@ def dockerfile_for_linux(output_file):
383383
# Linking compiled ONNX Runtime libraries to their corresponding versioned libraries
384384
df += """
385385
RUN cd /opt/onnxruntime/lib \
386-
&& ln -s libonnxruntime.so libonnxruntime.so.${ONNXRUNTIME_VERSION}
386+
&& ln -s libonnxruntime.so libonnxruntime.so.1 \
387+
&& ln -s libonnxruntime.so.1 libonnxruntime.so.${ONNXRUNTIME_VERSION}
387388
"""
388389
df += """
389390
RUN cd /opt/onnxruntime/lib && \

0 commit comments

Comments
 (0)