TPAT
TensorRT Plugin Autogen Tool
File Explorer
Download Latest Version (.zip)- .gitignore
- blazerml-tvm
- Compare_handwritten.md
- Operators.md
- Optimize_TensorRT.md
- example_tensorflow.py
- test_add_dynamic.py
- test_concat_dynamic.py
- test_gathernd_dynamic_direct.py
- test_gathernd_dynamic_direct_wm.py
- test_lstm_dynamic_direct.py
- test_lstm_dynamic_direct_wm.py
- test_matmul_weight_dynamic.py
- test_onehot_dynamic_direct.py
- test_scatternd_dynamic_direct_wm.py
- test_sparse_conv_direct.py
- test_split_dynamic_direct.py
- .gitignore
- .gitignore
- tpat_test_matmul_3.d
- tpat_test_matmul_3.o
- .gitignore
- Makefile
- trt8.0_plugin_cu.template
- trt8.0_plugin_cu_dynamic.template
- trt8.0_plugin_h.template
- trt8.0_plugin_h_dynamic.template
- __init__.py
- cuda_kernel.py
- onnx_modified.py
- onnx_to_plugin.py
- plugin_template.py
- plugin_template_params.py
- type_mapping.py
- unsupported_ops.py
- .gitignore
- test_tpat.py
- .code.yml
- .gitmodules
- Dockerfile
- LICENSE
- README.md
# Installation Guide
1. Get the code
git clone https://github.com/Tencent/TPAT
Downloads the entire project code from GitHub to your computer.
cd TPAT
Moves into the project folder you just downloaded.
2. Docker
Easy RecommendedPrerequisites
- Git Needed to download the project code from GitHub.
- Docker Desktop Needed to build and run containers. Install it and keep it running in the background.
nvidia-docker build .
Builds a runnable image based on the Dockerfile.
nvidia-docker run -itd --gpus all -v <TPAT path dir>:/root <Image_ID> /bin/bash
Runs the built image as an actual container.
nvidia-docker exec -it <Container_ID> /bin/bash
Type this command into your terminal and run it.
Run docker compose ps to check the containers are Up. If the README mentions a port, open http://localhost:PORT in your browser.
Pulled directly from this repo's README.
3. Make
MediumPrerequisites
- Git Needed to download the project code from GitHub.
- Make Usually pre-installed on Linux/macOS. On Windows, install separately (e.g. via MSYS2 or WSL).
make -j
Compiles the code based on the generated build configuration to produce an executable.
If it finishes without errors, it worked. Try running the generated executable directly.
Pulled directly from this repo's README.
// repository documentation
Was this content helpful?
(0 ratings)
