.footer { } Logo Logo
deutsch
/// News
Exciting Behind The Scenes about DOP R. Yeoman's work with Negativfim in Wes Anderson's Asteroid City

Microsoft Olive: New free tool doubles performance of Stable Diffusion

[18:08 Wed,24.May 2023   by Thomas Richter]    

Microsoft has unveiled a new free tool called Olive that allows many AI models, such as Stable Diffusion, to automatically use hardware acceleration from graphics cards such as NVIDIA&s RTX Tensor Cores to significantly speed them up. Olive (ONNX Live) is a sophisticated model optimisation tool that integrates seamlessly with DirectML to enable hardware acceleration in Windows.

sdexamples-SD-examples




It compresses, optimises and compiles existing AI models and adapts them to the existing hardware. However, adapted drivers for the respective GPU are necessary for maximum performance so that it can be used optimally. Fortunately, NVIDIA has today published corresponding new Game Ready driver version 532.03, which does exactly that.

How much do the optimisations bring?


According to the responsible NVIDIA product manager, the new drivers should significantly increase the performance of the image AI Stable Diffusion. For example, the performance of such an optimised version of Stable Diffusion of the popular Automatic1111 distribution is improved by more than double with the new driver, i.e. it takes less than half the time than before.

Stable_Diffusion_Performance


A special version of Stable Diffusion, optimised by Olive, is necessary for this leap in performance, but it can be compiled with a little expertise github.com/microsoft/Olive/tree/main/examples/directml/stable_diffusion. However, thanks to the free availability of Olive, which was published under the MIT licence, user-optimised versions of Stable Diffusion will probably appear very soon for less experienced users. At the moment, support for fine-tuning Stable Diffusion using LoRA is only experimental.

Who can use Olive?


The new Game Ready drivers are available for both the current GPU generation and very old NVIDIA graphics card series - starting with the GeForce GTX 700 - according to devblogs.microsoft.com/directx/ dml-stable-diffusion/ (Microsoft) but only the newer RTX 30 and RTX 40 series benefit from Olive DirectML optimizations through the use of Tensor cores. Apart from that, of course, the limitations of Stable Diffusion regarding the size of the graphics card memory required for the different models also apply.

nvidia-microsoft-annoucement


However, owners of AMD&s graphics cards won&t go away empty-handed - they just have to be patient. So will AMD next month optimized graphics drivers for AMD RDNA 3 GPUs such as AMD Radeon RX 7900 series graphics cards and AMD Ryzen 7040 mobile GPUs publish.


How does Olive work?


Stable Diffusion is a complex machine learning model that includes several smaller models. These models were originally developed in the popular PyTorch Machine Learning Framework. Microsoft&s Olive converts these PyTorch models into another format called ONNX and then performs several complex optimization steps that make the models more efficient when later run. These can then also be optimized for special hardware such as NVIDIA&s Tensor Cores, which can then be run on the PC or in the cloud and again bring significant speed increases.

Link more infos at bei devblogs.microsoft.com

deutsche Version dieser Seite: Microsoft Olive: Neues kostenloses Tool verdoppelt Performance von Stable Diffusion

  



[nach oben]












Archiv Newsmeldungen

2024

September - August - July - June - May - April - March - February - January

2023
December - November - October - September - August - July - June - May - April - March - February - January

2022

2021

2020

2019

2018

2017

2016

2015

2014

2013

2012

2011

2010

2009

2008

2007

2006

2005

2004

2003

2002

2001

2000






































deutsche Version dieser Seite: Microsoft Olive: Neues kostenloses Tool verdoppelt Performance von Stable Diffusion



last update : 15.September 2024 - 15:02 - slashCAM is a project by channelunit GmbH- mail : slashcam@--antispam:7465--slashcam.de - deutsche Version