Upload ./QA.md with huggingface_hub
Browse files1234563 unmodified lines10111213141516171819202122# ❓ Q&A for Building TensorRT Engines### 1. Error: `trtexec: not found`**Solution:** Try the following command3 unmodified linesThis command is used to configure the environment variables required to build the TensorRT Engine.### 2. Error: `Unable to open library: libnvinfer_plugin.so.9 due to libcublas.so.11: cannot open shared object file`This error occurs because the `libnvinfer_plugin.so.9` library depends on the `libcublas.so.11` library.However, you may use a different version of cuda library (see `/usr/local/cuda`), such as cuda-12. It is recommendedto use cuda-11 to build the TensorRT Engine.### 3. The size of the engine file generated by each build is different**Explanation:** During the process of building the engine, the building program will automatically select theoptimal kernel and other parameters. Therefore, the size of the engine file generated by each build may be different.1234563 unmodified lines10111213141516171819202122# ❓ Q&A for Building TensorRT Engines## 1. Error: `trtexec: not found`**Solution:** Try the following command3 unmodified linesThis command is used to configure the environment variables required to build the TensorRT Engine.## 2. Error: `Unable to open library: libnvinfer_plugin.so.9 due to libcublas.so.11: cannot open shared object file`**Solution:** This error occurs because the `libnvinfer_plugin.so.9` library depends on the `libcublas.so.11` library.However, you may use a different version of cuda library (see `/usr/local/cuda`), such as cuda-12. It is recommendedto use cuda-11 to build the TensorRT Engine.## 3. The size of the engine file generated by each build is different**Explanation:** During the process of building the engine, the building program will automatically select theoptimal kernel and other parameters. Therefore, the size of the engine file generated by each build may be different.
QA.md+4-4