Skip to content

Commit 0f8f635

Browse files
mc-nvpvijayakrish
authored andcommitted
Increase Docker limits on Windows (#271)
* Update memory configuration * Update memory configuration, increase memory limit for Windows
1 parent c70e35a commit 0f8f635

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
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)

0 commit comments

Comments
 (0)