Onnx-tensorrt: Fail to build at step "make -j"

Created on 23 Oct 2020  路  3Comments  路  Source: onnx/onnx-tensorrt

It looks like a really good and convenient library, but I have failed to build it multiple times.

cmake correctly generates buildfiles, but "make -j" does not generate any error messages but causes my whole system to freeze, and I had to forcefully shutdown my pc. I've tried 3 times they are all the same.

Any one facing similar issues could share some thoughts? Thanks

My environment:
Ubuntu 20.04
cuda 10.2
tensorrt 7.2.1

question triaged

Most helpful comment

@shroudie Can you try make -j12 instead of make -j. make might be creating so many parallel jobs that you might be running out of system memory, resulting in the kernel invoking the OOM killer. This could somehow be making your system unstable.

All 3 comments

@shroudie Can you try make -j12 instead of make -j. make might be creating so many parallel jobs that you might be running out of system memory, resulting in the kernel invoking the OOM killer. This could somehow be making your system unstable.

@shroudie Can you try make -j12 instead of make -j. make might be creating so many parallel jobs that you might be running out of system memory, resulting in the kernel invoking the OOM killer. This could somehow be making your system unstable.

Yeah that worked, should've be more familiar with make before I asked this question. Thanks alot

Thanks a lot.

@shroudie Can you try make -j12 instead of make -j. make might be creating so many parallel jobs that you might be running out of system memory, resulting in the kernel invoking the OOM killer. This could somehow be making your system unstable.

Was this page helpful?
0 / 5 - 0 ratings