Testing Stable Diffusion Inference Performance with Latest NVIDIA Driver including TensorRT ONNX
Tags: beginners, tutorial, ai, news
Published: 2024-05-29 14:32:18

<p style="margin-left:0px;">🚀 UNLOCK INSANE SPEED BOOSTS with NVIDIA’s Latest Driver Update or not? 🚀 Are you ready to turbocharge your AI performance? Watch me compare the brand-new NVIDIA 555 driver against the older 552 driver on an RTX 3090 TI for #StableDiffusion. Discover how TensorRT and ONNX models can skyrocket your speed! Don’t miss out on these game-changing results!</p>
<p style="margin-left:0px;">1-Click fresh Automatic1111 SD Web UI Installer Script with TensorRT and more ⤵️<br><a target="_blank" rel="noopener noreferrer" href="https://www.patreon.com/posts/86307255"><u>https://www.patreon.com/posts/86307255</u></a></p>
<p style="margin-left:0px;">Tutorial video : <a target="_blank" rel="noopener noreferrer" href="https://youtu.be/TNR2HZRw74E"><u>https://youtu.be/TNR2HZRw74E</u></a></p>
<p style="margin-left:0px;"><a target="_blank" rel="noopener noreferrer" href="https://youtu.be/TNR2HZRw74E"><u>Testing Stable Diffusion Inference Performance with Latest NVIDIA Driver including TensorRT ONNX</u></a></p>
<p style="margin-left:auto;">&nbsp;</p>
<p style="margin-left:auto;">{% embed https://youtu.be/TNR2HZRw74E %}</p>
<p style="margin-left:auto;">&nbsp;</p>
<p style="margin-left:0px;">0:00 Introduction to the NVIDIA newest driver update performance boost claims<br>0:25 What I am going to test and compare in this video<br>1:11 How to install latest version of Automatic1111 Web UI<br>1:40 The very best sampler of Automatic1111 for Stable Diffusion image generation / inference<br>1:57 Automatic1111 SD Web UI default installation versions<br>2:12 RTX 3090 TI image generation / inference speed for SDXL model with default Automatic1111 SD Web UI installation<br>2:22 How to see your NVIDIA driver version and many more info with nvitop library<br>2:40 Default installation speed for NVIDIA 551.23 driver<br>2:53 How to update Automatic1111 SD Web UI to the latest Torch and xFormers<br>3:05 Which CPU and RAM used to conduct these speed tests CPU-Z results<br>3:54 nvitop status while generating an image with Stable Diffusion XL — SDLX on Automatic1111 Web UI<br>4:10 The new generation speed after updating Torch (2.3.0) and xFormers (0.0.26) to the latest version<br>4:20 How to install TensorRT extension on Automatic1111 SD Web UI<br>5:28 How to generate a TensorRT ONNX model for huge speed up during image generation / inference<br>6:39 How to enable SD Unet selection to be able to use TensorRT generated model<br>7:13 TensorRT pros and cons<br>7:38 TensorRT image generation / inference speed results<br>8:09 How to download and install the latest NVIDIA driver properly and cleanly on Windows<br>9:03 Repeating all the testing again on the newest NVIDIA driver (555.85)<br>10:06 Comparison of other optimizations such as SDP attention or doggettx<br>10:35 Conclusion of the tutorial</p>
<p style="margin-left:0px;">NVIDIA’s Latest Driver: Does It Really Deliver?</p>
<p style="margin-left:0px;">In this video, we dive deep into NVIDIA’s newest driver update, comparing the performance of driver versions 552 and 555 on an RTX 3090 TI running Windows 10. We’ll explore the claims of speed improvements, particularly with #ONNX runtime and TensorRT integration, using the popular Automatic1111 Web UI.</p>
<p style="margin-left:0px;">What You’ll Learn:</p>
<p style="margin-left:0px;">Driver Comparison: Direct performance comparison between NVIDIA drivers 552 and 555.<br>Setup and Installation: Step-by-step guide on setting up a fresh #Automatic1111 Web UI installation, including the latest versions of Torch and xFormers.<br>ONNX and TensorRT Models: Detailed testing of default and TensorRT-generated models to measure speed differences.<br>Hardware Specifications: Insights into the hardware used for testing, including CPU and memory configurations.<br>Testing Procedure:</p>
<p style="margin-left:0px;">Initial Setup:<br>Fresh installation using a custom installer script which includes necessary models and styles.<br>Initial speed test with default settings and configurations.<br>Driver 552 Performance:<br>Speed testing on driver 552 with default models and configurations.<br>Detailed performance metrics and image generation speed analysis.<br>Upgrading to Latest Torch and xFormers:<br>Updating to the latest versions of Torch (2.3.0) and xFormers (0.0.26).<br>Performance testing after updates and comparison with initial setup.<br>TensorRT Installation and Testing:<br>Installing TensorRT extension and generating TensorRT models.<br>Overcoming common installation errors and optimizations.<br>Speed testing with TensorRT models and analysis of performance improvements.<br>Upgrading to Driver 555:<br>Step-by-step guide on downloading and installing NVIDIA driver 555.<br>Performance comparison between driver 552 and 555.<br>Analyzing the impact on speed and efficiency.<br>Results and Conclusions:</p>
<p style="margin-left:0px;">Performance Metrics: Detailed analysis of speed improvements (or lack thereof) with the newest NVIDIA driver.<br>TensorRT Benefits: How TensorRT models significantly boost performance.<br>Driver Update Impact: Understanding the real-world impact of updating to the latest NVIDIA driver.</p>
<p style="margin-left:auto;">
    <picture>
        <source srcset="https://miro.medium.com/v2/resize:fit:640/format:webp/1*fyc6XEJdahw3vkCZRwwClA.png 640w, https://miro.medium.com/v2/resize:fit:720/format:webp/1*fyc6XEJdahw3vkCZRwwClA.png 720w, https://miro.medium.com/v2/resize:fit:750/format:webp/1*fyc6XEJdahw3vkCZRwwClA.png 750w, https://miro.medium.com/v2/resize:fit:786/format:webp/1*fyc6XEJdahw3vkCZRwwClA.png 786w, https://miro.medium.com/v2/resize:fit:828/format:webp/1*fyc6XEJdahw3vkCZRwwClA.png 828w, https://miro.medium.com/v2/resize:fit:1100/format:webp/1*fyc6XEJdahw3vkCZRwwClA.png 1100w, https://miro.medium.com/v2/resize:fit:2000/format:webp/1*fyc6XEJdahw3vkCZRwwClA.png 2000w" type="image/webp" sizes="(min-resolution: 4dppx) and (max-width: 700px) 50vw, (-webkit-min-device-pixel-ratio: 4) and (max-width: 700px) 50vw, (min-resolution: 3dppx) and (max-width: 700px) 67vw, (-webkit-min-device-pixel-ratio: 3) and (max-width: 700px) 65vw, (min-resolution: 2.5dppx) and (max-width: 700px) 80vw, (-webkit-min-device-pixel-ratio: 2.5) and (max-width: 700px) 80vw, (min-resolution: 2dppx) and (max-width: 700px) 100vw, (-webkit-min-device-pixel-ratio: 2) and (max-width: 700px) 100vw, 1000px">
        <source srcset="https://miro.medium.com/v2/resize:fit:640/1*fyc6XEJdahw3vkCZRwwClA.png 640w, https://miro.medium.com/v2/resize:fit:720/1*fyc6XEJdahw3vkCZRwwClA.png 720w, https://miro.medium.com/v2/resize:fit:750/1*fyc6XEJdahw3vkCZRwwClA.png 750w, https://miro.medium.com/v2/resize:fit:786/1*fyc6XEJdahw3vkCZRwwClA.png 786w, https://miro.medium.com/v2/resize:fit:828/1*fyc6XEJdahw3vkCZRwwClA.png 828w, https://miro.medium.com/v2/resize:fit:1100/1*fyc6XEJdahw3vkCZRwwClA.png 1100w, https://miro.medium.com/v2/resize:fit:2000/1*fyc6XEJdahw3vkCZRwwClA.png 2000w" sizes="(min-resolution: 4dppx) and (max-width: 700px) 50vw, (-webkit-min-device-pixel-ratio: 4) and (max-width: 700px) 50vw, (min-resolution: 3dppx) and (max-width: 700px) 67vw, (-webkit-min-device-pixel-ratio: 3) and (max-width: 700px) 65vw, (min-resolution: 2.5dppx) and (max-width: 700px) 80vw, (-webkit-min-device-pixel-ratio: 2.5) and (max-width: 700px) 80vw, (min-resolution: 2dppx) and (max-width: 700px) 100vw, (-webkit-min-device-pixel-ratio: 2) and (max-width: 700px) 100vw, 1000px"><img class="image_resized" style="height:auto;width:1192px;" src="https://miro.medium.com/v2/resize:fit:1875/1*fyc6XEJdahw3vkCZRwwClA.png" alt="" width="1000" height="563">
    </picture>
</p>