跳到正文
Hugging Face Blog·· 2025-09-02AI 评分34

Hugging Face 用 PyTorch 提前编译让 ZeroGPU Spaces 提速 1.3–1.8 倍

Make your ZeroGPU Spaces go brrr with ahead-of-time compilation

AI 导读

Hugging Face 为 ZeroGPU Spaces 引入 PyTorch 提前编译(AoT),在 Flux、Wan、LTX 等模型上实现 1.3×–1.8× 提速,避免 torch.compile 在短生命周期进程中反复编译。

来源:Hugging Face Blog · huggingface.co