NVIDIA / NVIDIA/TensorRT

on building TensorRT:get the error recipe for target 'nvinfer_plugin'failed.

Open
#3,722 5 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

triaged
Dominant language
C++
Stars
13.4k
Forks
2.4k
Avg merge
5d 3h
Merged PRs (30d)
2

Description

Description

make nvinfer_plugin -j$(nproc)

Environment

**TensorRT Version7.1.3:

NVIDIA Driver Version:

**CUDA Version10.2:

**CUDNN Version8:

Operating System:

Python Version (if applicable):3.6

Relevant Files

Model link:

我的错误日志

令我觉得奇怪的是:执行``$HOME/install/bin/cmake .. -DGPU_ARCHS="53" -DTRT_LIB_DIR=/usr/lib/aarch64-linux-gnu/ -DCMAKE_C_COMPILER=/usr/bin/gcc -DTRT_BIN_DIR=pwd/out` -Wno-dev`之后,命令行显示可以找到nvinfer_plugin.so文件
f5d67003f53e2378d590a75e29fad15
Commands or scripts:

**我也在我的环境下找到了libnvinfer_plugin.so.7.1.3文件,也添加了相应的环境变量。
**:

### Tasks

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the provided CMake and make commands for the nvinfer_plugin target, then inspect the linker failure reported in plugin/CMakeFiles/nvinfer_plugin.dir/build.make. Compare the target architecture with /usr/local/cuda-10.2/lib64/libcudnn.so and the aarch64 library path. Done means the cause of the wrong-format error is confirmed and a reproducible build configuration or fix is documented.

Written by the indexing model from the issue text.

Assessment

Tech stack
cmake, cpp
Domain
build-system
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.