Loading video...

Video Failed to Load

Go Home

Whisper 🤝 Torch Compile Speed-up inference by a factor of 4x with just 2 additional lines of code No accuracy degradation. No additional training. Just kernels 😍 Code example in thread 👇

12,868 views • 1 year ago •via X (Twitter)

5 Comments

Sanchit Gandhi's profile picture
Sanchit Gandhi1 year ago

Google Colab example: Enabling compile requires 2 lines of additional code: 1. Apply the `torch.compile` transformation 2. Set the static kv cache

Mobius Labs's profile picture
Mobius Labs1 year ago

Great to see it live. Linking to that we shared a few months ago, which has detailed benchmarks and the impact of quantization. Hope it was useful.

Praveen kumar's profile picture
Praveen kumar1 year ago

Love it. The fact that it can run without Ampere Architecture makes it more worthwhile.

Sentient's profile picture
Sentient1 year ago

If u have Nvidia card ? Or regardless on phones as well?

Rekt Stoic's profile picture
Rekt Stoic1 year ago

Can something like this be applied to any transformer? Like flan-t5?

Related Videos