Upload files to "TRT-Patch"

This commit is contained in:
Hitmare 2023-11-14 19:44:50 +00:00
parent 7d1365d21c
commit 7f443b287e
1 changed files with 23 additions and 0 deletions

23
TRT-Patch/Readme.md Normal file
View File

@ -0,0 +1,23 @@
TRT- Patch from <https://gist.github.com/Saren-Arterius/2014d9799361711d25ff33740990a7b8>
Modified for Linux by estro
Copy files from `modules` folder into your `modules` folder. replace existing files.
Original files for restoring can be found in the `#Original` folder
Copy `api.py` from the previous folder into `modules/api` and enable `eris_TRTpatch` or `eris_imagelimit`
::: warn
If you use the TRTpatch with the Imagelimit you will need to create a **__Dynamic Tensor Profile__** with the following settings:
`min/opt/max batch size: 1`
`min/opt/max width: 256/576/1024`
`min/opt/max height: 256/704/1024`
`min/opt/max tokens: 75/75/500`\`
Those settings are **__very critical__** to have the TRT Plugin working correctly
:::