siliconflow / onediff

OneDiff: An out-of-the-box acceleration library for diffusion models.
https://github.com/siliconflow/onediff/wiki
Apache License 2.0
1.7k stars 104 forks source link

fix removeprefix for python 3.8 #856

Closed nono-Sang closed 6 months ago

nono-Sang commented 6 months ago

The python versions supported by onediff are 3.8~3.11, while removeprefix was introduced in 3.9.