rence speed and the quality of the generated tokens. Amongst those arguments, the most important one is ratio. ratio controls the number of tokens that will be merged during the forward pass. For more details on tomesd, please refer to the original repository https://github.com/dbolya/tomesd and the paper. 

Benchmarking tomesd with StableDiffusionPipeline
We benchmarked the impact of using tomesd on StableDiffusionPipeline along with xformers 