{"library":"tomesd","type":"library","category":null,"description":"tomesd is a Python library that implements Token Merging (ToMe) for Stable Diffusion models. It accelerates inference by merging redundant tokens, reducing the computational load on the transformer blocks without requiring model retraining. The library is pure Python and PyTorch-based, currently at version 0.1.3, with an active development and release cadence focused on performance improvements and compatibility.","language":"python","status":"active","version":"0.1.3","tags":["stable diffusion","token merging","diffusion models","optimization","pytorch","diffusers","performance"],"last_verified":"Mon May 25","install":[{"cmd":"pip install tomesd","imports":["import tomesd","tomesd.apply_patch(model, ratio=0.5)"]}],"homepage":null,"github":"https://github.com/dbolya/tomesd","docs":null,"changelog":null,"pypi":"https://pypi.org/project/tomesd/","npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"3.10–3.9","success_rate":50,"avg_install_s":74.2,"avg_import_s":5.02,"wheel_type":"wheel"},"url":"https://checklist.day/v1/registry/tomesd/compatibility"}}