You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* trt profile as one markdown
* remove todo and comment code
* updated install.py to catch old packages
* Fix typo in utilities.py
speciailized -> specialized
* move available profiles into a seperate column
* Correct "Export Default Engines"
* remove yiel in favour of print
* fix: installed check for onnx-graphsurgeon
Apply the package import name to `launch.is_installed()` instead of the pip package name.
* remove ui config mod
* extend readme
* fix bug when deleting engine manually
* adding resolution constraint and nvidia support guide
* fix type
---------
Co-authored-by: w-e-w <[email protected]>
Co-authored-by: Cem Moluluo <[email protected]>
Co-authored-by: Ikko Eltociear Ashimine <[email protected]>
Co-authored-by: Cem Moluluo <[email protected]>
Co-authored-by: Milly <[email protected]>
Copy file name to clipboardExpand all lines: README.md
+25-2Lines changed: 25 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -28,8 +28,31 @@ Happy prompting!
28
28
29
29
TensorRT uses optimized engines for specific resolutions and batch sizes. You can generate as many optimized engines as desired. Types:
30
30
31
-
- The “Generate Default Engines” selection adds support for resolutions between 512x512 and 768x768 for Stable Diffusion 1.5 and 768x768 to 1024x1024 for SDXL with batch sizes 1 to 4.
31
+
- The "Export Default Engines” selection adds support for resolutions between 512x512 and 768x768 for Stable Diffusion 1.5 and 768x768 to 1024x1024 for SDXL with batch sizes 1 to 4.
32
32
- Static engines support a single specific output resolution and batch size.
33
33
- Dynamic engines support a range of resolutions and batch sizes, at a small cost in performance. Wider ranges will use more VRAM.
34
34
35
-
Each preset can be adjusted with the “Advanced Settings” option.
35
+
Each preset can be adjusted with the “Advanced Settings” option. More detailed instructions can be found [here](https://nvidia.custhelp.com/app/answers/detail/a_id/5487/~/tensorrt-extension-for-stable-diffusion-web-ui).
36
+
37
+
### Common Issues/Limitations
38
+
39
+
**HIRES FIX:** If using the hires.fix option in Automatic1111 you must build engines that match both the starting and ending resolutions. For instance, if initial size is `512 x 512` and hires.fix upscales to `1024 x 1024`, you must either generate two engines, one at 512 and one at 1024, or generate a single dynamic engine that covers the whole range.
40
+
Having two seperate engines will heavily impact performance at the moment. Stay tuned for updates.
41
+
42
+
**Resolution:** When generating images the resolution needs to be a multiple of 64. This applies to hires.fix as well, requiring the low and high-res to be divisible by 64.
43
+
44
+
**Failing CMD arguments:**
45
+
46
+
-`medvram` and `lowvram` Have caused issues when compiling the engine and running it.
47
+
-`api` Has caused the `model.json` to not be updated. Resulting in SD Unets not appearing after compilation.
48
+
49
+
**Failing installation or TensorRT tab not appearing in UI:** This is most likely due to a failed install. To resolve this manually use this [guide](https://github.com/NVIDIA/Stable-Diffusion-WebUI-TensorRT/issues/27#issuecomment-1767570566).
50
+
51
+
## Requirements
52
+
53
+
**Driver**:
54
+
55
+
- Linux: >= 450.80.02
56
+
- Windows: >=452.39
57
+
58
+
We always recommend keeping the driver up-to-date for system wide performance improvments.
Copy file name to clipboardExpand all lines: info.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -15,7 +15,7 @@ Happy prompting!
15
15
16
16
TensorRT uses optimized engines for specific resolutions and batch sizes. You can generate as many optimized engines as desired. Types:
17
17
18
-
- The "Generate Default Engines" selection adds support for resolutions between 512x512 and 768x768 for Stable Diffusion 1.5 and 768x768 to 1024x1024 for SDXL with batch sizes 1 to 4.
18
+
- The "Export Default Engines" selection adds support for resolutions between 512x512 and 768x768 for Stable Diffusion 1.5 and 768x768 to 1024x1024 for SDXL with batch sizes 1 to 4.
19
19
- Static engines support a single specific output resolution and batch size.
20
20
- Dynamic engines support a range of resolutions and batch sizes, at a small cost in performance. Wider ranges will use more VRAM.
"No valid profile found. Please go to the TensorRT tab and generate an engine with the necessary profile. Or use the default (torch) U-Net."
109
+
"No valid profile found. Please go to the TensorRT tab and generate an engine with the necessary profile. If using hires.fix, you need an engine for both the base and upscaled resolutions. Otherwise, use the default (torch) U-Net."
0 commit comments