跳到正文
Hugging Face Blog·· 2023-12-05AI 评分50

Hugging Face 如何让 LoRA 推理提速 300%:告别冷启动

Goodbye cold boot - how we made LoRA Inference 300% faster

AI 导读

Hugging Face 在 Inference API 中实现 LoRA 适配器动态换载,让 Stable Diffusion 的 LoRA 推理冷启动时间从 25s 降至 3s,用户请求响应从 35s 降至 13s。该方案保持 SDXL Base 1.0 等基础模型常驻,按需加载/卸载约 24 MB 的 LoRA 权重,用不到 5 块 A10G GPU 即可服务数百个不同 LoRA。

来源:Hugging Face Blog · huggingface.co