File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
tensorflow_serving/tools/docker Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -154,7 +154,7 @@ RUN echo "Building with Bazel options: ${TF_SERVING_BAZEL_OPTIONS}"
154154
155155RUN ln -s /usr/local/cuda/lib64/stubs/libcuda.so /usr/local/cuda/lib64/stubs/libcuda.so.1 && \
156156 LD_LIBRARY_PATH=/usr/local/cuda/lib64/stubs:${LD_LIBRARY_PATH} \
157- bazel build --color=yes --curses=yes --config=cuda_clang --copt="-fPIC"\
157+ bazel build --color=yes --curses=yes --config=cuda_clang --copt="-fPIC" --local_ram_resources=32768 --local_cpu_resources=8 \
158158 ${TF_SERVING_BAZEL_OPTIONS} \
159159 --verbose_failures \
160160 --output_filter=DONT_MATCH_ANYTHING \
@@ -165,7 +165,7 @@ RUN ln -s /usr/local/cuda/lib64/stubs/libcuda.so /usr/local/cuda/lib64/stubs/lib
165165 rm /usr/local/cuda/lib64/stubs/libcuda.so.1
166166
167167# Build and install TensorFlow Serving API
168- RUN bazel build --color=yes --curses=yes \
168+ RUN bazel build --color=yes --curses=yes --local_ram_resources=32768 --local_cpu_resources=8 \
169169 ${TF_SERVING_BAZEL_OPTIONS} \
170170 --verbose_failures \
171171 --output_filter=DONT_MATCH_ANYTHING \
You can’t perform that action at this time.
0 commit comments