filmov
tv
A1111: nVidia TensorRT Extension for Stable Diffusion (Tutorial)
Показать описание
nVidia TensorRT Extension is an official extension for Stable Diffusion WebUI which allows you to use the Tensor Cores in your nVidia GPU for image generation performance boost. During my testing on an RTX 4090, I observed somewhere from 20% to 50% performance improvement when using TensorRT. However, it does have its limitations and bugs. In this tutorial, I cover everything from how it works, to installing it, removing launching errors, and explaining the exact settings for the training of the TensorRT Engine Profile.
------------------------
Relevant Links:
Checkpoints
Python and Git:
------------------------
Dev Branch Commands:
git branch -a
git checkout dev
Error Fixing Commands:
pip uninstall tensorrt
pip cache purge
pip uninstall -y nvidia-cudnn-cu11
pip install onnxruntime
pip install colored
pip install onnx
Xformers Command:
PIP Upgrade Command:
Cuda 12.1 Torch 2.1.1 Cdmmand:
------------------------
Timestamps:
0:00 Intro.
0:58 About TensorRT.
3:52 A1111 Dev Branch Install.
7:39 Fixing Errors.
14:25 nVidia CP Setting.
15:27 RT Engine Configuration.
21:03 Exporting Process.
23:00 Testing with ADetailer.
------------------------
Relevant Links:
Checkpoints
Python and Git:
------------------------
Dev Branch Commands:
git branch -a
git checkout dev
Error Fixing Commands:
pip uninstall tensorrt
pip cache purge
pip uninstall -y nvidia-cudnn-cu11
pip install onnxruntime
pip install colored
pip install onnx
Xformers Command:
PIP Upgrade Command:
Cuda 12.1 Torch 2.1.1 Cdmmand:
------------------------
Timestamps:
0:00 Intro.
0:58 About TensorRT.
3:52 A1111 Dev Branch Install.
7:39 Fixing Errors.
14:25 nVidia CP Setting.
15:27 RT Engine Configuration.
21:03 Exporting Process.
23:00 Testing with ADetailer.
Комментарии