"how numbers are stored and used in computers"
NVidia's TensorRT is a high-performance inference engine for deep learning models.
First ensure pip
is up to date, and you also have installed wheel
.
code.txt1python3 -m pip install --upgrade pip 2python3 -m pip install wheel
Then install tensorrt
with pip
.
code.txt1python3 -m pip install --upgrade tensorrt
Also
code.txt1python3 -m pip install tensorrt-cu12 tensorrt-lean-cu12 tensorrt-dispatch-cu12
To run pre-built version compatible engines.
code.txt1python3 -m pip install --upgrade tensorrt-lean 2python3 -m pip install --upgrade tensorrt-dispatch
code.py1import tensorrt 2print(tensorrt.__version__) 3assert tensorrt.Builder(tensorrt.Logger())