Open deepfree2023 opened 6 months ago
insightface每次加载很耗时间. 可以参考inspire pack里ipadapter model helper,提供了cache mode选项。
等我有空研究一下~
赞,已经用上了ipadapter和instantid的缓存功能,节省很多时间,相当好。目前有个问题,不知能否再优化一下:更换大模型或者其他操作导致ipadapter和instantid需要再被缓存时,似乎因为前面的缓存不会被清除,导致内存不够用,加载时内存溢出。
insightface每次加载很耗时间. 可以参考inspire pack里ipadapter model helper,提供了cache mode选项。