diff --git a/README.md b/README.md index 4f3f0b8..f71185a 100644 --- a/README.md +++ b/README.md @@ -15,6 +15,12 @@ Example instructions for Automatic1111: 3. Copy the link to this repository and paste it into URL for extension's git repository 4. Click Install +### Full Tutorial + +[**Double Your Stable Diffusion Inference Speed with RTX Acceleration TensorRT: A Comprehensive Guide**](https://youtu.be/kvxX6NrPtEk) + +[![image](https://cdn-uploads.huggingface.co/production/uploads/6345bd89fe134dfd7a0dba40/QhVEeR5hzqZ5SXujvTxzs.png)](https://youtu.be/kvxX6NrPtEk) + ## How to use 1. Click on the “Generate Default Engines” button. This step takes 2-10 minutes depending on your GPU. You can generate engines for other combinations. @@ -55,4 +61,4 @@ Having two seperate engines will heavily impact performance at the moment. Stay - Linux: >= 450.80.02 - Windows: >=452.39 -We always recommend keeping the driver up-to-date for system wide performance improvments. \ No newline at end of file +We always recommend keeping the driver up-to-date for system wide performance improvments. diff --git a/models.py b/models.py index 1355c2b..e4e8ef3 100644 --- a/models.py +++ b/models.py @@ -214,7 +214,7 @@ def __init__( self.min_batch = 1 self.max_batch = max_batch_size self.min_image_shape = 256 # min image resolution: 256x256 - self.max_image_shape = 768 if version in ("1.4", "1.5") else 1024 + self.max_image_shape = 768 if version in ("1.4", "1.5") else 2048 self.min_latent_shape = self.min_image_shape // 8 self.max_latent_shape = self.max_image_shape // 8