跳到正文
原文
Hugging Face Blog·· 2025-09-02精选AI 评分62

Hugging Face 用 AoT 编译让 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 倍加速。

推荐理由

Hugging Face 官方给出在 ZeroGPU Spaces 上做 AoT 编译的完整步骤与实测加速比,可直接迁移到自己的演示应用。

来源:Hugging Face Blog · huggingface.co