Compare commits

..

No commits in common. "main" and "anti-child-porn" have entirely different histories.

2 changed files with 20 additions and 16 deletions

View File

@ -2,9 +2,10 @@ This `api.py` file has some additional modifications that can be activated withi
This file replaces `modules/api/api.py` .
> **Note** \
> Don't overwrite your original `api.py` file. Rename it to something different like `api_original.py` and then copy the modified `api.py` into your `modules/api` folder.
::: error
Don't overwrite your original `api.py` file. Rename it to something different like `api_original.py` and then copy the modified `api.py` into your `modules/api` folder.
:::
A clean, original[ ](http://api.py)`api.py` file can be found in the `#Original API File` folder
@ -57,6 +58,7 @@ eris_antichildporn = True
Don't forget to save the `api.py` file again and (re)start your A1111 Stable-difussion
> **Warning** \
> Additional and !!**__necessary__**!! Instructions for the TRT-Patch are in the `TRT-Patch` Folder
::: warn
Additional and !!**__necessary__**!! Instructions for the TRT-Patch are in the `TRT-Patch` Folder
:::

View File

@ -7,15 +7,17 @@ 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`
> **Warning**\
>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, 2, 4`\
>\
>`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 \
::: 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, 2, 4`
`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
:::